![]() |
CSS - Urgent help needed
So this time I'm begging you dudes, everything it's almost done except for the menu:
I really need to sort it out, AIM/MSN support would be great! |
You might be able to fix it by inserting a DIV element before the table, and give it a specified width, and then you might be able to force the table downwards like you wanted it to. You're positioning some elements absolutely, so from my experience, whenever you do that, stuff gets moved around. If you place your table inside another DIV, you can position it absolutely, also, but you'll have to figure out a way to make it float in the center every time.
|
Positioning an element absolutely removes it from the flow of the document. That is, other elements will essentially not know (or care) that the absolutely-positioned element is there. This is part of the reason for your problem.
As you are using tables for layout (I do not condone it, but that is not relevant), why not put the heading stuff in a TD which spans all columns of the table? |
Thanks I'll work on what you've said. I know tables are becoming useless with the new standards and I'd like to avoid them, is there a way someone could point me to a quick way to replace them?
|
There's no really "quick" way to replace them. You can use absolutely positioned/sized container elements (such as a DIV) to structure the site, but this is advised against by most for concerns of accessibility/usability or semantics. What I reccomend doing is using floats--with containers or otherwise, they are quite easy to work with and the code for them is small, and easy to manage.
For examples, the first is an example of my work. The second is the site of a person I speak with on this very issue: Site: http://www.spur-me-on.com CSS: http://www.spur-me-on.com/style.css Site: http://www.arctic.kyoushu.com/ CSS: http://www.arctic.kyoushu.com/main.css |
All times are GMT -5. The time now is 12:27 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.