This is a discussion on "Nested Divs don't keep the right width" within the Web Page Design section. This forum, and the thread "Nested Divs don't keep the right width are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Nested Divs don't keep the right width
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Nested Divs don't keep the right width
I'm trying to make a page that is 80% total width and is centred. I've used a div as a container and then I have my header and content and footer divs inside. This is the code that I thought would work, but it doesn't.
What am I doing wrong? |
|
|
|
||||
|
change the position attribute of the header, main and footer divs to relative rather than absolute...
|
|
|||
|
I tried that but it don't seem to work. I have solved some of the problems, but I still have one. It displays correctly in FF, but not in IE. What do I need to do to extend the titlebar over to the right of the main div?
Here's my css:
|
![]() |
| Tags |
| nested, divs, keep, right, width |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please help - position problem with nested divs | DavidinLondon | Web Page Design | 1 | May 21st, 2006 15:10 |
| Nested tables and Layers | Andy_H | Web Page Design | 2 | May 29th, 2005 18:19 |
| XHTML Nested List | rbrown1972 | Web Page Design | 5 | Feb 7th, 2005 20:49 |
| Nested divs IE 5.2 Mac CSS2 bugs | wheatus | Web Page Design | 6 | Mar 31st, 2004 17:03 |