Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <title>Test</title>
- <style type="text/css">
- /* float clearing for IE6 */
- * html .clearfix
- {
- height: 1%; overflow: visible;
- }
- /* float clearing for IE7 */
- *+html .clearfix
- {
- min-height: 1%;
- }
- /* float clearing for everyone else */
- .clearfix:after
- {
- clear: both; content: " "; display: block; height: 0; visibility: hidden; font-size: 0;
- }
- .MainContent
- {
- margin: 20px;
- }
- .Middle
- {
- margin-left: 220px;
- }
- </style>
- </head>
- <body>
- <div class="MainContent clearfix">
- <div style="width:200px;float:left;">
- <div style="height:300px;background:blue;"></div>
- </div>
- <div class="Middle">
- <div style="padding:20px;background:red;">
- <div class="clearfix" style="padding:10px;background:yellow;margin-bottom:20px;">
- <div style="float:left;height:20px;width:300px;background:green;"></div>
- <div style="float:right;height:20px;width:300px;background:green;"></div>
- </div>
- <table style="border:#000 1px solid;">
- <tr>
- <td>ioruturiotueorit eiortueriotuoeotigggggggggggggggggggggggggggggggggggggggggggggggggggggggieruter tiouriotueroutoerutiuerteorituero tuioerutioeriotueroutoeruto eroturoetuoerutqe;ruqe; rty80yuto;eqotouyt4uyity 4iltyilytilryterutyertuyertuyert erut uerytierutyerutylerytelryltylert qerytuiertyileqrtyuqet</td>
- <td>ioruturiotueorit eiortueriotuoeotiieruter tiouriotueroutoerutiuerteorituero tuioerutioeriotueroutoeruto eroturoeteeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeuoerutqe;ruqe; rty80yuto;eqotouyt4uyity 4iltyilytilryterutyertuyertuyert erut uerytierutyerutylerytelryltylert qerytuiertyileqrtyuqet</td>
- <td>ioruturiotueorit eiortueriotuoeotiieruter tiouriotueroutoerutiuerteorituero tuioerutioeriotueroutoeruto eroturoetuoerutqe;ruqe; rty80yuto;eqotouyt4uyity 4iltyilytilryterutyertuyertuyert erut uerytierutyerutylerytelryltylert qerytuiertyileqrtyuqet</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement