![]() |
|
||||||||||
|
|||||
|
доброго дня,
вот есть следующая разметка, нужно чтобы content и sub-section были 100%: HTML: <div id="header"><h1>header</h1></div> <div id="menu"><h1>menu</h1></div> <div id="content"><h1>content</h1></div> <div id="sub-section"><h1>sub-section</h1></div> <div id="footer"><h1>footer</h1></div> смотрел и на webmascon и на xhtml.ru не совсем подходят решения.. грубо говоря совсем не подходят.. футер уезжает черт знает куда + высота sub-section не совпадает с content Последний раз редактировалось Reijii; 03.02.2006 в 14:58. |
|
|||||
|
html {
height:100%; } body { padding:0; width:700px; margin:0 auto; min-height:100%; position:relative; } * html body { height:100%; } #content { width:80%; padding-bottom:100px; } #footer { clear:both; position:absolute; bottom:0; height:100px; width:100%; }
__________________
чё надо.. sam:) |
![]() |
![]() |
Часовой пояс GMT +4, время: 09:49. |
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | |
| Опции просмотра | |
|
|