OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
layout and color
This page's ID:
24120
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
If you ran the CSS through the W3C validator you would see two things: margin-color - this isn't a CSS property. Margins are outside the box, and thus don't have any background. The background belongs to whatever elements are rendered under the margin. In #links, you have a width without unit. Give it a unit. However, those don't explain the black background in the margins. The cause of the black background in the margins is that you have a bgcolor attribute on the body element in your HTML. Remove that one. Oh, another tips: Use "html, body" instead of "body" for styles that should apply to the entire document. Older browsers use body, but newer browsers use html, as the element that represent the document. (In fact, correct browsers does neither, but that's another story...) -- var Liorean = { prototype: [sigrotate]JavaScript|XML|XHTML|HTML|CSS|ProgrammingTheory[/sigrotate]Guru.prototype, abode: "[sigrotate][url]http://liorean.web-graphics.com/[/url]|[url]http://codingforums.com/[/url]|[url]http://web-graphics.com/[/url][/sigrotate]", profile: "[url]http://codingforums.com/member.php?u=5798[/url]"};
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »