HighDots Forums  

BGCOLOR only in Opera, not other browsers (valid page)

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss BGCOLOR only in Opera, not other browsers (valid page) in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mason C
 
Posts: n/a

Default BGCOLOR only in Opera, not other browsers (valid page) - 05-04-2008 , 12:38 AM






I have a small, validated page that uses "bgcolor" in
<body... and several <td... 's
The colors show ok in Opera but not in MSIE or Firefox.

http://frontal-lobe.info/link2pdf.html

I've been away from html for the last year and am re-learning it.

Any ideas? Thanks,

Mason C

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-04-2008 , 01:11 AM






Scripsit Mason C:

Quote:
I have a small, validated page that uses "bgcolor" in
body... and several <td... 's
The colors show ok in Opera but not in MSIE or Firefox.

http://frontal-lobe.info/link2pdf.html
Which difference(s) you are referring to? Both Opera and IE 7 show the
background colors. There's a difference: on Opera, there is a white
stripe, resulting from an empty cell, whereas IE 7 ignores it. If this
is the problem, you just need to decide: remove the cell or put
non-blank content, such as &nbsp;, into it (if you want it to appear for
some odd reason).

Quote:
I've been away from html for the last year and am re-learning it.
Then start afresh. Read a good tutorial on basics of HTML, and never
re-learn the ugly presentational side of the language; instead, learn
basic CSS from a good tutorial.

How come a page doesn't fit into my browser window (it's almost half of
my screen!), despite not containing any relevant information but a link
to a PDF file? You're trying too much. But if you want to create boxes
with background colors, use just heading or <div> elements (as
appropriate) and background properties in CSS. Using bgcolor in HTML
isn't among the top ten sins, but neither is among the top 100 things
you should learn about HTML, and the CSS counterparts are much more
flexible and powerful.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #3  
Old   
Mason C
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-04-2008 , 12:26 PM



On Sun, 4 May 2008 09:11:55 +0300, "Jukka K. Korpela" <jkorpela (AT) cs (DOT) tut.fi>
wrote:

Quote:
Scripsit Mason C:

I have a small, validated page that uses "bgcolor" in
body... and several <td... 's
The colors show ok in Opera but not in MSIE or Firefox.

http://frontal-lobe.info/link2pdf.html

Which difference(s) you are referring to? Both Opera and IE 7 show the
background colors. There's a difference: on Opera, there is a white
stripe, resulting from an empty cell, whereas IE 7 ignores it. If this
is the problem, you just need to decide: remove the cell or put
non-blank content, such as &nbsp;, into it (if you want it to appear for
some odd reason).

I've been away from html for the last year and am re-learning it.

Then start afresh. Read a good tutorial on basics of HTML, and never
re-learn the ugly presentational side of the language; instead, learn
basic CSS from a good tutorial.

How come a page doesn't fit into my browser window (it's almost half of
my screen!), despite not containing any relevant information but a link
to a PDF file? You're trying too much. But if you want to create boxes
with background colors, use just heading or <div> elements (as
appropriate) and background properties in CSS. Using bgcolor in HTML
isn't among the top ten sins, but neither is among the top 100 things
you should learn about HTML, and the CSS counterparts are much more
flexible and powerful.
Jukka, I appreciate your comments. I use CSS but for that little page
I was in a hurry and used bgcolor. I validated the page. The color
doesn't show in MSIE or Firefox. Why?

The link page is there because I am concerned that the logging engines
and search robots may not log a pdf page -- that's another thing I need to
learn about. ( I'm going through web life change forced by being kicked
off Earthlink for excess traffic..)

But in the meantime I'm puzzled by the unexpected color failure.

Mason C


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-04-2008 , 02:03 PM



Scripsit Mason C:

Quote:
On Sun, 4 May 2008 09:11:55 +0300, "Jukka K. Korpela"
jkorpela (AT) cs (DOT) tut.fi> wrote:
- -
Which difference(s) you are referring to? Both Opera and IE 7 show
the background colors. There's a difference: on Opera, there is a
white stripe, resulting from an empty cell, whereas IE 7 ignores it.
Did you actually read even that part of my message, or did you just
quote everything without reading anything?

Quote:
The color doesn't show in MSIE or Firefox.
Which color?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #5  
Old   
Neil Cherry
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-04-2008 , 02:29 PM



On Sat, 03 May 2008 22:38:50 -0700, Mason C wrote:
Quote:
I have a small, validated page that uses "bgcolor" in
body... and several <td... 's
The colors show ok in Opera but not in MSIE or Firefox.

http://frontal-lobe.info/link2pdf.html
Looks the same with Opera 9.27 and Firefox 2.0 under Linux.

--
Linux Home Automation Neil Cherry ncherry (AT) linuxha (DOT) com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies


Reply With Quote
  #6  
Old   
dorayme
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-04-2008 , 05:53 PM



In article <piiq141v482e34vauqbf89btkqb91qvf0i (AT) 4ax (DOT) com>,
Mason C <masoncXXX (AT) XXXfrontal-lobe (DOT) info> wrote:

Quote:
I have a small, validated page that uses "bgcolor" in
body... and several <td... 's
The colors show ok in Opera but not in MSIE or Firefox.

http://frontal-lobe.info/link2pdf.html

I've been away from html for the last year and am re-learning it.

Any ideas? Thanks,

Mason C
What colours? Why have you got a row and cell with nothing in it but a
white bg at the top?

--
dorayme


Reply With Quote
  #7  
Old   
Mason C
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-05-2008 , 12:21 AM



On Mon, 05 May 2008 08:53:54 +1000, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au>
wrote:

Quote:
In article <piiq141v482e34vauqbf89btkqb91qvf0i (AT) 4ax (DOT) com>,
Mason C <masoncXXX (AT) XXXfrontal-lobe (DOT) info> wrote:

I have a small, validated page that uses "bgcolor" in
body... and several <td... 's
The colors show ok in Opera but not in MSIE or Firefox.

http://frontal-lobe.info/link2pdf.html

I've been away from html for the last year and am re-learning it.

Any ideas? Thanks,

Mason C

What colours? Why have you got a row and cell with nothing in it but a
white bg at the top?
Design choice -- to give some space at the top.

The question was:

The colors show ok in Opera but not in MSIE or Firefox. Why?

I'm beginning to suspect I'm asking in the wrong group.

Mason C


Reply With Quote
  #8  
Old   
rf
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-05-2008 , 12:34 AM



Mason C <masoncXXX (AT) XXXfrontal-lobe (DOT) info> wrote in
news:t66t14d69q1us7k3g3t4obec7d49f5fe0q (AT) 4ax (DOT) com:

Quote:
On Mon, 05 May 2008 08:53:54 +1000, dorayme
doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

In article <piiq141v482e34vauqbf89btkqb91qvf0i (AT) 4ax (DOT) com>,
Mason C <masoncXXX (AT) XXXfrontal-lobe (DOT) info> wrote:

The question was:

The colors show ok in Opera but not in MSIE or Firefox. Why?

I'm beginning to suspect I'm asking in the wrong group.
The background colours are identical in Opera, Firefox, IE6, IE7, Seamonky
and FWIW Netsacpe and IE5.5. They are a blue background, a table with a
white cell, a pink one, a blueish white one, a plale blue one and a darker
pale blue one. The sole exception is that the empty white cell collapses in
IE browsers.

I'm beginning to suspect that you are not reading the replies to your
posts.

--
Richard
Killing all google groups posts
The Usenet Improvement Project: http://improve-usenet.org


Reply With Quote
  #9  
Old   
Mason C
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-05-2008 , 01:20 AM



On Mon, 05 May 2008 05:34:20 GMT, rf <rf@x.invalid> wrote:

Quote:
Mason C <masoncXXX (AT) XXXfrontal-lobe (DOT) info> wrote in
news:t66t14d69q1us7k3g3t4obec7d49f5fe0q (AT) 4ax (DOT) com:

On Mon, 05 May 2008 08:53:54 +1000, dorayme
doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

In article <piiq141v482e34vauqbf89btkqb91qvf0i (AT) 4ax (DOT) com>,
Mason C <masoncXXX (AT) XXXfrontal-lobe (DOT) info> wrote:

The question was:

The colors show ok in Opera but not in MSIE or Firefox. Why?

I'm beginning to suspect I'm asking in the wrong group.

The background colours are identical in Opera, Firefox, IE6, IE7, Seamonky
and FWIW Netsacpe and IE5.5. They are a blue background, a table with a
white cell, a pink one, a blueish white one, a plale blue one and a darker
pale blue one. The sole exception is that the empty white cell collapses in
IE browsers.

I'm beginning to suspect that you are not reading the replies to your
posts.
What am I not reading? But thanks for your observations.
Let me add more tests on my PC computer:

Safari (PC) displays the colors.
Opera ok
Netscape Communicator displays correctly except the "white" bar at the
top shows body color.

MS IE 6 and 7 show no colors and top white cell is missing
Firefox shows no colors.

The page passes WDG validation. Why does my computer do this
on Firefox and IE 6 and 7 (freshly installed 7) ? (Popular browsers.)

What am I not reading? Am I missing some replies?

I have 2 from Jukka
1 from Neil
1 from dorayme
1from rf

I'm sensing anger and annoyance from what seems to me
a simple question. I suspect the answer is *not* simple and
probably needs response from a browser program expert, not an
html expert. I'll seek elsewhere.

( I also suspect that WDG validation is of doubtful significance.)

Anyway, thanks for your time if not your tender loving care.

Mason C



Reply With Quote
  #10  
Old   
Patricia Aldoraz
 
Posts: n/a

Default Re: BGCOLOR only in Opera, not other browsers (valid page) - 05-05-2008 , 01:41 AM



On May 5, 4:20 pm, Mason C <masonc... (AT) XXXfrontal-lobe (DOT) info> wrote:
Quote:
On Mon, 05 May 2008 05:34:20 GMT, rf <r...@x.invalid> wrote:
Mason C <masonc... (AT) XXXfrontal-lobe (DOT) info> wrote in
news:t66t14d69q1us7k3g3t4obec7d49f5fe0q (AT) 4ax (DOT) com:

On Mon, 05 May 2008 08:53:54 +1000, dorayme
doraymeRidT... (AT) optusnet (DOT) com.au> wrote:

In article <piiq141v482e34vauqbf89btkqb91qv... (AT) 4ax (DOT) com>,
Mason C <masonc... (AT) XXXfrontal-lobe (DOT) info> wrote:

The question was:

The colors show ok in Opera but not in MSIE or Firefox. Why?

I'm beginning to suspect I'm asking in the wrong group.

The background colours are identical in Opera, Firefox, IE6, IE7, Seamonky
and FWIW Netsacpe and IE5.5. They are a blue background, a table with a
white cell, a pink one, a blueish white one, a plale blue one and a darker
pale blue one. The sole exception is that the empty white cell collapses in
IE browsers.

I'm beginning to suspect that you are not reading the replies to your
posts.

What am I not reading? But thanks for your observations.
Let me add more tests on my PC computer:

Safari (PC) displays the colors.
Opera ok
Netscape Communicator displays correctly except the "white" bar at the
top shows body color.

MS IE 6 and 7 show no colors and top white cell is missing
Firefox shows no colors.

The page passes WDG validation. Why does my computer do this
on Firefox and IE 6 and 7 (freshly installed 7) ? (Popular browsers.)

What am I not reading? Am I missing some replies?

I have 2 from Jukka
1 from Neil
1 from dorayme
1from rf

I'm sensing anger and annoyance from what seems to me
a simple question. I suspect the answer is *not* simple and
probably needs response from a browser program expert, not an
html expert. I'll seek elsewhere.

( I also suspect that WDG validation is of doubtful significance.)

Anyway, thanks for your time if not your tender loving care.

Mason C
As far as I can see, you were advised to put in a &nbsp; into the
empty cell (by Jukka Korpela) to stop the collapse mentioned clearly
by rf. If this is not what is wanted why don't you say something about
it and something very specific?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.