473,216 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 software developers and data experts.

Changing background color of a frameset

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,*">

<frame name="links" scrolling="no" noresize target="contents" src="">

<frameset bgcolor="#000000" frameborder="0" border="0" rows="135,*">

<frame name="topbanner" scrolling="no" src="">

<frame name="main" scrolling="auto" src="">

</frameset>

I know some people don't like framesets, but I need them for this particular
page. Thanks for any ideas on why.

Jul 24 '05 #1
6 56485
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
Jul 24 '05 #2
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.

"David Dorward" <do*****@yahoo.com> wrote in message
news:d8******************@news.demon.co.uk...
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

Jul 24 '05 #3
Nancy Carter wrote:

Please don't top post.
http://www.faqs.org/rfcs/rfc1855.html
http://www.allmyfaqs.com/faq.pl?How_to_post
I have seen the bgcolor attribute used with framesets, as I did; perhaps
this is legacy now.


No, just non-standard rubbish.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #4
If it's non-standard but still viable, then how do I make it work? My
problem is that I've inherited a very large, very old website with a lot of
framesets, and we don't have the resources right now to replace all of them,
so I'm trying to make do with what I've inherited. If I can set the frame
background to black, then it will help while we transition all the pages to
CSS.

Thanks again for any help.
"David Dorward" <do*****@yahoo.com> wrote in message
news:d8*******************@news.demon.co.uk...
Nancy Carter wrote:

Please don't top post.
http://www.faqs.org/rfcs/rfc1855.html
http://www.allmyfaqs.com/faq.pl?How_to_post
I have seen the bgcolor attribute used with framesets, as I did; perhaps
this is legacy now.


No, just non-standard rubbish.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Jul 24 '05 #5
On Fri, 17 Jun 2005 16:29:16 -0400, "Nancy Carter"
<nc*****@spamfree.com> wrote:
If it's non-standard but still viable, then how do I make it work?


Just make up some random attributes and use them.
Or sacrifice a chicken to it. Do whatever you want - if you aren't
interested in doing it right, then your new random rubbish is as good as
old legacy random rubbish.

Jul 24 '05 #6


Nancy Carter wrote:
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.

How is seeing a neutral color prior to the page loading disconcerting,
considering that this is normal behavior for web browsers?

I think you may be using 'disconcerting' to mean 'offends my personal
sense of aesthetics' or 'fails to fill my obsessive need to control
every aspect of the user's brower's presentation of my page'. Have any
*users* of the page reported that they find the momentary appearance of
a white or grey field 'disconcerting'? Or do they recognize it for a
normal step in the loading of a webpage, which is what I would expect
from any user who had used a web browser regularly.

A problem that causes no one any problems, is no problem at all.

Andrew

Jul 24 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JP | last post by:
Hi, How can I create a dynamic frameset whose content changes based on user inputs? Specifically, how do I toggle a frame within a frameset? How can I allow a user to "close" or "dock" a...
1
by: Andy Levy | last post by:
Hi ya Do you know if its possible to change frameset details for the current frameset by javascript inside one of the frames. Thanks AL
0
by: gogram | last post by:
Hi, I am looking to change a frames based webite (3 rows no columns)(top - Nav, middle - Content, bottom - information) to be a tables based site possibly using css. I hav got the frame setting...
24
by: Charles Crume | last post by:
Hello; My "index.htm" page has 3 frames (content, navigation bar, and logo). I set the "SRC" of the "logo" frame to a blank gif image and then want to change it's contents after the other two...
1
by: Julius Mong | last post by:
Dear all, I have the following: <html> <head> .... </head> <frameset ...> <frame .../> <frameset name="page" rows="60,*" ...> <frame src='top.html' .../>
1
by: P.Singh | last post by:
hi all i am designing a website for a charity origanisation. they cater towards the senior crowd. i would like to have choice by which the user can change the background as required (like...
12
by: GaryDean | last post by:
In the original post I failed so indicate that I am using framework 1.1....... I need to be able to change the background color of a page from code. I found an answer to this question in...
8
by: Veerle | last post by:
Suppose having a frameset consisting of two frames, both with dark background colors. One of the frames is a sort of menu and the other one contains the content. When someone clicks a menu item in...
2
by: ponie | last post by:
i have to make a website about me for school and i cant get the frameset background right: <html> <head> </head> <frameset="10%,*" bgcolor="000000"> <base target = "main" /> <a...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.