Customizing SMF > Graphics and Templates

Style.css with Mozilla

(1/3) > >>

el-brujo:
Hi everybody,

I have a problem with the style.css cause is viewed diffrent in Internet Explorer and Mozilla Firefox and others.....

The windowbg is the problem:


--- Code: ---.windowbg     {
background-color: #93BCD3;
font-size: 11px;
font-family: Verdana, arial, helvetica, serif;
color: #000000;
background-image: url(http://www.website.com/forum/background.gif);
--- End code ---

With the INternet Explorer the background is viewed perfectly, but browsing using Mozilla Firefox the background is missing.....

Also I proved to add in the body of css:


--- Code: ---TD            {font-family: Verdana, arial, helvetica, serif; color: #000000; font-size:12px;}
--- End code ---

but, it's quite different....

Any ideas?

Thank you in advance.

Tomer:
Try only writing the root and not the whole URL here:


--- Code: ---background-image: url(http://www.website.com/forum/background.gif);

--- End code ---

Peter Duggan:

--- Quote from: el-brujo on April 24, 2004, 09:28:34 AM ---
--- Code: ---background-image: url(http://www.website.com/forum/background.gif);

--- End code ---

--- End quote ---


--- Quote from: Lamper on April 24, 2004, 10:56:55 AM ---Try only writing the root and not the whole URL here:


--- Code: ---background-image: url(http://www.website.com/forum/background.gif);

--- End code ---

--- End quote ---

So what's the difference? ???

Tomer:
Im just showing him where to switch the url.

Spaceman-Spiff:
try this (with single quotes):
background-image: url('http://www.website.com/forum/background.gif');

if that still doesnt work, can you provide a url of the page so we can check/test it

Navigation

[0] Message Index

[#] Next page

Go to full version