Closed Bug 40124 Opened 25 years ago Closed 25 years ago

background color not diaplayed correctly

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: vanbalen, Assigned: clayton)

References

()

Details

On the above page, the background color is set to "000000" but is not displayed correctly on mozilla. I also tried bgcolor=black and that didn't work either. Note: both Netscape 4.x and IE 4.x/5.x display this correctly.
Check your HTML - HEX colors need to be color="#000000", named colors need to still be in quotes like color="black". I see neither of these cases.
tried both bgcolor="#000000" and bgcolor="black" Neither appears to work.(offending line in source is #54= <Body Bgcolor="#000000" Text=white Link=gray Vlink=white Alink=red>)
The problem is caused A elements are inside the HEAD element. According to the HTML 4.0 DTD, HEAD can only contain SCRIPT, STYLE, META, LINK, and OBJECT. If you move these A elements into BODY, BGCOLOR will work.
Ok, that works. Sorry about the false alarm.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
vrfy
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.