Tests: 1 center 2 center 3 center div div div div div div 4 center 5 center 6 center table table div table table 7 center 8 center 9 center table div right div div div div right div div a center b center c center td right td right td right div table td left div div d center e center f center td right div right div right div left table td left g center h td right i td right div right center center div left table div div div div j div right k td right l td right center center div center td left div left div div div m td right n div right o div right td center div center td center div div div p center q div right r center float right float left table right div div div div div div s center t center u center table right table right table right table div left td left v center w table center x table right table right div right center table left div table y center z table right td left 0 div center table right td left center div css left div div div div Key: center <center style="border:1px solid red;"> div <div style="width:70%; border:1px solid green;"> div right <div align="right" style="width:70%; border:1px solid green;"> div left <div align="left" style="width:70%; border:1px solid green;"> div center <div align="center" style="width:70%; border:1px solid green;"> table <table style="width:70%;"> <tr> <td style="border:1px solid black;"> table right <table align="right" style="width:70%;"> <tr> <td style="border:1px solid black;"> table left <table align="left" style="width:70%;"> <tr> <td style="border:1px solid black;"> table center <table align="center" style="width:70%;"> <tr> <td style="border:1px solid black;"> td right <table style="width:70%;"> <tr> <td align="right" style="border:1px solid black;"> td left <table style="width:70%;"> <tr> <td align="left" style="border:1px solid black;"> td center <table style="width:70%;"> <tr> <td align="center" style="border:1px solid black;"> float right <div style="float:right; width:70%; border:1px solid blue;"> float left <div style="float:left; width:70%; border:1px solid blue;"> table right td left <table align="right" style="width:70%;"> <tr> <td align="left" style="border:1px solid black;"> div css left <div style="text-align:left; margin-left:0; margin-right:auto; width:70%; border:1px solid green;"> Filenames: [s|q][test id].html For example s1.html is test 1 with a doctype forcing standards mode q1.html ia test 1 with no doctype (quirks mode)