Jump to content

elza

Newbie
  • Posts

    2
  • Joined

  • Last visited

Everything posted by elza

  1. ну что-то типа такого: css: table { border:0px; border-collapse:collapse; width:100%} td {vertical-align:top; padding:0px; } html {height:100%;} form { margin:0px; padding:0px} body { margin:0px; padding:0px; background:#ffffff; height:100%} .main { width:100%; height:100%} .main_1 { width:100%; text-align:center; height:100%} .main_2 {width:766px; height:100%; margin:0 auto; text-align:left } /* header */ #header { height:100px; background:#FFCCFF } /* content */ #content { height:200px; background:#00FF66 } /* footer */ #footer { height:100%; background:#003399} html: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title></title> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="style.css" type="text/css" rel="stylesheet" /> <script src="rollover.js" type="text/javascript"></script> </head> <body id="page1"> <table class="main"> <tr> <td class="main_1"> <table class="main_2"> <tr> <td id="header"></td> </tr> <tr> <td id="content"></td> </tr> <tr> <td id="footer"></td> </tr> </table> </td> </tr> </table> </body> </html>
  2. Если ставить общей таблице и одной из составляющих tr высоту 100%, то под IE7.0 значительно увеличивается общ. высота, появляется scroll. Помогите!!!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy