|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
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 , 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/ |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
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 , 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 |
|
|
|
#4 (permalink) |
|
Messages: n/a
Hébergeur: |
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/ |
|
|
|
#5 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#7 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#8 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|