|
Posted by Nancy Carter on June 17, 2005, 4:23 pm
Please log in for more thread options
I have seen the bgcolor attribute used with framesets, as I did; perhaps
this is legacy now. The reason I need the frameset to have its own
background color is because the background color of the pages is set to
black. That means the user sees a disconcerting field of gray (in IE) or
white (in Firefox) before the other pages load. If I can set the background
color of the frameset to black, then the user sees a field of black, rather
than the disconcerting gray or white background.
Any other ideas would be most appreciated.
> Nancy Carter wrote:
>
>> I'm trying to set the background color of a frameset to black. The
>> following code doesn't work in either IE 6.0 or Firefox. Any ideas why?
>>
>> <frameset bgcolor="#000000" frameborder="0" border="0" cols="240,*">
>
> Well:
>
> (a) Your markup is invalid
> http://www.w3.org/TR/html4/present/frames.html#h-16.2.1
>
> and:
> (b) Frames don't have background colours, they contain documents, elements
> of which may have background colours.
>
>> I know some people don't like framesets, but I need them for this
>> particular page.
>
> Given that one of your frames is named "topbanner", that seems rather
> unlikely (at least from the point of view of the end user).
>
> --
> David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
> Home is where the ~/.bashrc is
|