Is not defined....which means in any browser which has a preference other than white for this (I have a bespoke set-up in Opera), the site can look a little on the odd side
Not a tough one to fix though![]()
| SitePoint Sponsor |
Is not defined....which means in any browser which has a preference other than white for this (I have a bespoke set-up in Opera), the site can look a little on the odd side
Not a tough one to fix though![]()
~The Artist Latterly Known as Crazy Hamster~
922ee590a26bd62eb9b33cf2877a00df
Currently delving into Django, GIT & CentOS





...and in a browser like IE, where you can't change bgColor (at least I have never found a menu called File/Edit | Preferences in IE...), how can you "fix" the background? (BTW, changing bgColor isn't enough, since the table with className="page" has white background)
I've read that the white color was painful for some persons
Simple solution; just write "your own" web browser...
Here's a VB example, what to do on DocumentComplete:Code:Me.WebBrowser1.Document.body.bgColor = "#cddeed" Set colTables = Me.WebBrowser1.Document.getElementsByTagName("table" ) For Each objTable In colTables If objTable.className = "page" Then objTable.Style.backgroundColor = "cddeed" End If Next
Last edited by jofa; Feb 24, 2003 at 17:40.
Preferences in IE are under Tools -> Internet Options. Or in your Control Panel.
There is a background color defined:
body {
background: #FAFAFA;
color: #333333;
margin: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
}
Not sure why your browser doesn't recognize it. Even Netscape 4.X recognizes it.





Oops, found the button "Colors" in IE
Going for the Stupid Member 2003 Award
But it was a very small button, that's why it took me seven years to find it...
Anyway, isn't fafafa almost equal to ffffff?
And most of the page isn't the body, it's the table with class=page (and colour ffffff)
For what it's worth, there still is no background color defined. Would you like a screenshot?
Here's the style I'm getting:
body {
color: #000;
font: small verdana,arial,helvetica,sans-serif;
margin: 0px;
}
No background or background color is defined.
[mmj] My magic jigsaw
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Bit Depth Blog · Twitter · Contact me
Neon Javascript Framework Jokes
I'm referring to the forums. The forums are not using format.css or structure.css.
[mmj] My magic jigsaw
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Bit Depth Blog · Twitter · Contact me
Neon Javascript Framework Jokes
Well they were when I set them up three days ago. I guess it is the case of too many cooks in the kitchen and people not telling each other what they are doing. Shows why all the changes that I have been making to those style sheets aren't taking effect properly... Sure wish people would learn to communicate properly.
Bookmarks