GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS Problems in FIREFOX (https://gfy.com/showthread.php?t=412000)

Jimmie 01-03-2005 05:06 PM

CSS Problems in FIREFOX
 
hey, was wondering if anyone was having CSS problems in FireFox. I link to my css file like this:
Code:

<link rel="stylesheet" type="text/css" href="stylesheet.css">
and FireFox doesnt render it, or however u say it. I like to link to the css instead of having it all on the page, so SE's dont have to sift thru all of it when spidering the page.

Anyone have this problem, or know how to fix it? thanks in advance! :thumbsup

xclusive 01-03-2005 05:07 PM

Yeah i've been having similar problems over the last week or so very strange

Jimmie 01-03-2005 05:10 PM

i cant figure out why it isnt working.. maybe firefox doesnt have css capabilities unless its right there in the html code.? :helpme

prezzz 01-03-2005 05:15 PM

The CSS file itself is probably faulty. Post it here or post a link to it.

flashfire 01-03-2005 05:17 PM

I have had similar problems with firefox and have yet to find a solution...post if you get it working

Jimmie 01-03-2005 05:24 PM

Quote:

Originally Posted by prezzz
The CSS file itself is probably faulty. Post it here or post a link to it.

Code:

<style type="text/css">
<!--
body,td,th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #000000;
}
body {
        margin-left: 0px;
        margin-top: 1px;
        margin-right: 0px;
        margin-bottom: 1px;
}
a:link {
        color: #666666;
        text-decoration: none;
}
a:visited {
        text-decoration: none;
        color: #666666;
}
a:hover {
        text-decoration: underline;
        color: #990000;
}
a:active {
        text-decoration: none;
        color: #666666;
}
-->
</style>


prezzz 01-03-2005 05:45 PM

This should work:
Code:

<style type="text/css">
<!--
body {
        margin-left: 0px;
        margin-top: 1px;
        margin-right: 0px;
        margin-bottom: 1px;
}
body,td,th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #000000;
}
a:link {
        color: #666666;
        text-decoration: none;
}
a:visited {
        text-decoration: none;
        color: #666666;
}
a:hover {
        text-decoration: underline;
        color: #990000;
}
a:active {
        text-decoration: none;
        color: #666666;
}
-->
</style>


dirtysouth 01-03-2005 05:51 PM

Try this:

Code:

<style type="text/css" media="screen">@import "http://www.whatever.com/style.css";</style>

tyler86ed 01-03-2005 06:07 PM

Quote:

Originally Posted by prezzz
This should work:
Code:

<style type="text/css">
<!--
body {
        margin-left: 0px;
        margin-top: 1px;
        margin-right: 0px;
        margin-bottom: 1px;
}
body,td,th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #000000;
}
a:link {
        color: #666666;
        text-decoration: none;
}
a:visited {
        text-decoration: none;
        color: #666666;
}
a:hover {
        text-decoration: underline;
        color: #990000;
}
a:active {
        text-decoration: none;
        color: #666666;
}
-->
</style>


Well if thats an external css take out the html <style> tags. You can't use HTML in a .CSS file :thumbsup

That would work if it was an internal CSS.

prezzz 01-03-2005 06:12 PM

Haha. Oh damn, and I know something's wrong about that file and just couldn't say what was that. Good eye, tyler. And apparently I need to get some more coffee :)

tyler86ed 01-03-2005 06:13 PM

Quote:

Originally Posted by prezzz
Haha. Oh damn, and I know something's wrong about that file and just couldn't say what was that. Good eye, tyler. And apparently I need to get some more coffee :)

:upsidedow

Jimmie 01-03-2005 07:28 PM

Quote:

Originally Posted by tyler86ed
Well if thats an external css take out the html <style> tags. You can't use HTML in a .CSS file :thumbsup

That would work if it was an internal CSS.


thanks a ton, u fixed the problems... im a CSS newbie, and didnt realize it didnt need them if it was an off site CSS file. :thumbsup

tyler86ed 01-03-2005 08:53 PM

Quote:

Originally Posted by Jimmie
thanks a ton, u fixed the problems... im a CSS newbie, and didnt realize it didnt need them if it was an off site CSS file. :thumbsup

No Problem. Now its time for all CSS layout :winkwink:

felipeav 01-04-2005 11:11 AM

I don't know why, but my firefox got very slow to open the pages recently ... and it doesn't seem to be a spyware/virus

Jimmie 01-04-2005 12:18 PM

Quote:

Originally Posted by tyler86ed
No Problem. Now its time for all CSS layout :winkwink:

I have no idea how to do that...... :helpme

Jimmie 01-04-2005 07:03 PM

maybe we can get together on ICQ or AIM and let you look at my site... and maybe show me the way, as far as where to learn that info :)


All times are GMT -7. The time now is 05:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123