This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Netscape CSS > October 2004 > CSS and Firefox





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS and Firefox

2004-10-08, 7:14 am

Hi everybody,

Here is my site : http://www.fpb.be/fr/welcome.html

I use a CSS file for the body background image :
BODY {
font-family: Arial, Helvetica, serif;
font-size: 10pt;
color: black;
background: url("http://www.fpb.be/picture/background.gif") top left
repeat-y;
margin-top: 0pt;
margin-left: 0pt;
}

With IE, no problems, but with Firefox, the background gif doesn't display !

Any suggestions ?

Thanks



Lars

2004-10-08, 7:15 pm

Try:

BODY {
font-family: Arial, Helvetica, serif;
font-size: 10pt;
color: black;
background: #fff url("http://www.fpb.be/picture/background.gif") top
left repeat-y;
margin-top: 0pt;
margin-left: 0pt;
}

and you may strip this piece of code with some shortings:

BODY {
font: normal 10pt Arial, Helvetica, serif;
color: #000;
background: #fff url("http://www.fpb.be/picture/background.gif") top
left repeat-y;
margin: 0;
}

//L


123 wrote:
> Hi everybody,
>
> Here is my site : http://www.fpb.be/fr/welcome.html
>
> I use a CSS file for the body background image :
> BODY {
> font-family: Arial, Helvetica, serif;
> font-size: 10pt;
> color: black;
> background: url("http://www.fpb.be/picture/background.gif") top left
> repeat-y;
> margin-top: 0pt;
> margin-left: 0pt;
> }
>
> With IE, no problems, but with Firefox, the background gif doesn't display !
>
> Any suggestions ?
>
> Thanks
>
>
>

2004-10-12, 7:14 am

Thanks for your response but it doesn't work.
I noticed that if I put the Body style directly in the header of a page, the
gif is displayed.
See http://www.fpb.be/fr/welcome1.html compared with
http://www.fpb.be/fr/welcome.html

Another suggestion ?

"Lars" <laschmi@gmx.de> a écrit dans le message de
news:ck5rte$sd4$05$1@news.t-online.com...
> Try:
>
> BODY {
> font-family: Arial, Helvetica, serif;
> font-size: 10pt;
> color: black;
> background: #fff url("http://www.fpb.be/picture/background.gif") top
> left repeat-y;
> margin-top: 0pt;
> margin-left: 0pt;
> }
>
> and you may strip this piece of code with some shortings:
>
> BODY {
> font: normal 10pt Arial, Helvetica, serif;
> color: #000;
> background: #fff url("http://www.fpb.be/picture/background.gif") top
> left repeat-y;
> margin: 0;
> }
>
> //L
>
>
> 123 wrote:
display ![color=darkred]
>




Gus Richter

2004-10-12, 7:15 pm

123 wrote:
>
> display !
>

[Rearranged for logical order]
[color=darkred]

[Rearranged for logical order]
[color=darkred]
> Thanks for your response but it doesn't work.
> I noticed that if I put the Body style directly in the header of a

page, the
> gif is displayed.
> See http://www.fpb.be/fr/welcome1.html compared with
> http://www.fpb.be/fr/welcome.html
>
> Another suggestion ?
>
> "Lars" <laschmi@gmx.de> a écrit dans le message de
> news:ck5rte$sd4$05$1@news.t-online.com...
>


=== cause:
Relative Link bugs
=== cure:
<link rel=stylesheet href="http://www.fpb.be/fpb.css" type="text/css">

--
Gus
123

2004-10-14, 4:14 am

Thanks for your response but always the same.
See http://www.fpb.be/fr/welcome2.html

Another idea ?

----- Original Message -----
From: "Gus Richter" <gusrichter@netscape.net>
Newsgroups: netscape.public.dev.css
Sent: Tuesday, October 12, 2004 10:54 PM
Subject: Re: CSS and Firefox


> 123 wrote:
>
> [Rearranged for logical order]
>
>
> [Rearranged for logical order]
>
> page, the
>
> === cause:
> Relative Link bugs
> === cure:
> <link rel=stylesheet href="http://www.fpb.be/fpb.css" type="text/css">
>
> --
> Gus



Gus Richter

2004-10-14, 7:14 am

123 wrote:

> ----- Original Message -----
> From: "Gus Richter" <gusrichter@netscape.net>
> Newsgroups: netscape.public.dev.css
> Sent: Tuesday, October 12, 2004 10:54 PM
> Subject: Re: CSS and Firefox
>
>
>

[Rearranged for logical order]
[color=darkred]
> Thanks for your response but always the same.
> See http://www.fpb.be/fr/welcome2.html
>
> Another idea ?
>


Please "bottom Post".
Please respond "only" to the Newsgroup.

I'm sorry, I was thinking of another bug - not sure what I was thinking.
This time I checked your site properly and found your error in your
_fpb.css_ file. You must have moved your Embedded Stylesheet from your
document to the fpb.css file "including the Style Element". The External
stylesheet must not include the Style Element.

Remove these four lines from fpb.css and all is OK:

<STYLE type="test/css">
<!--

-->
</STYLE>

--
Gus
Belgarion

2004-10-14, 7:14 am

Hi Gus,

> Please "bottom Post".

Ok, as you can see. :-)
> Please respond "only" to the Newsgroup.

Sorry, it was a mistake.

Well, it looks really better after I removed these html tags.
Thanks a lot for your help.

"Gus Richter" <gusrichter@netscape.net> a écrit dans le message de
news:cklc4k$3do1@ripley.netscape.com...
> 123 wrote:
>
top[color=darkred]
top[color=darkred]
>
> [Rearranged for logical order]
>
>
> Please "bottom Post".
> Please respond "only" to the Newsgroup.
>
> I'm sorry, I was thinking of another bug - not sure what I was thinking.
> This time I checked your site properly and found your error in your
> _fpb.css_ file. You must have moved your Embedded Stylesheet from your
> document to the fpb.css file "including the Style Element". The External
> stylesheet must not include the Style Element.
>
> Remove these four lines from fpb.css and all is OK:
>
> <STYLE type="test/css">
> <!--
>
> -->
> </STYLE>
>
> --
> Gus
>




Belgarion

2004-10-14, 12:14 pm

"Belgarion" <Belgarion@earthling.net> a écrit dans le message de
news:416e483c$0$850$ba620e4c@news.skynet.be...[color=darkred]
> Hi Gus,
>
> Ok, as you can see. :-)
> Sorry, it was a mistake.
>
> Well, it looks really better after I removed these html tags.
> Thanks a lot for your help.
>
> "Gus Richter" <gusrichter@netscape.net> a écrit dans le message de
> news:cklc4k$3do1@ripley.netscape.com...
left[color=darkred]
> top
> top

Sorry for the 'top post', I'm really absent-minded. :-)



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews