PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.html > BGCOLOR only in Opera, not other browsers (valid page)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
BGCOLOR only in Opera, not other browsers (valid page)

Réponse
 
LinkBack Outils de la discussion
Vieux 04/05/2008, 06h38   #1 (permalink)
Mason C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut BGCOLOR only in Opera, not other browsers (valid page)

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
  Réponse avec citation
Vieux 04/05/2008, 07h11   #2 (permalink)
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

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 K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
Vieux 04/05/2008, 18h26   #3 (permalink)
Mason C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

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

>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
  Réponse avec citation
Vieux 04/05/2008, 20h03   #4 (permalink)
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

Scripsit Mason C:

> On Sun, 4 May 2008 09:11:55 +0300, "Jukka K. Korpela"
> <jkorpela@cs.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?

> The color doesn't show in MSIE or Firefox.


Which color?

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

  Réponse avec citation
Vieux 04/05/2008, 20h29   #5 (permalink)
Neil Cherry
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

On Sat, 03 May 2008 22:38:50 -0700, Mason C 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


Looks the same with Opera 9.27 and Firefox 2.0 under Linux.

--
Linux Home Automation Neil Cherry ncherry@linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
  Réponse avec citation
Vieux 05/05/2008, 06h21   #6 (permalink)
Mason C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

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

>In article <piiq141v482e34vauqbf89btkqb91qvf0i@4ax.com>,
> Mason C <masoncXXX@XXXfrontal-lobe.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
  Réponse avec citation
Vieux 05/05/2008, 06h34   #7 (permalink)
rf
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

Mason C <masoncXXX@XXXfrontal-lobe.info> wrote in
news:t66t14d69q1us7k3g3t4obec7d49f5fe0q@4ax.com:

> On Mon, 05 May 2008 08:53:54 +1000, dorayme
> <doraymeRidThis@optusnet.com.au> wrote:
>
>>In article <piiq141v482e34vauqbf89btkqb91qvf0i@4ax.com>,
>> Mason C <masoncXXX@XXXfrontal-lobe.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
  Réponse avec citation
Vieux 05/05/2008, 07h20   #8 (permalink)
Mason C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: BGCOLOR only in Opera, not other browsers (valid page)

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

>Mason C <masoncXXX@XXXfrontal-lobe.info> wrote in
>news:t66t14d69q1us7k3g3t4obec7d49f5fe0q@4ax.com :
>
>> On Mon, 05 May 2008 08:53:54 +1000, dorayme
>> <doraymeRidThis@optusnet.com.au> wrote:
>>
>>>In article <piiq141v482e34vauqbf89btkqb91qvf0i@4ax.com>,
>>> Mason C <masoncXXX@XXXfrontal-lobe.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

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h27.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16335 seconds with 16 queries