|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
CSS file that works in IE but not Firefox
Hello. I am going to change my site to using a CSS file for font color and display and such. I am pretty new at using CSS files with my web site, other that messing with it in modifying my blog skin. I created one I want to use at: http://rhodesfamily.org/style.css, but I can only get it to work with IE. Here is my test page: http://rhodesfamily.org/index_test.htm. It will not display in Firefox, which is my main browser
. Your help would be greatly appreciated! Thanks, Carl |
|
#2
|
||||
|
||||
|
yea, i tryed to import the css file in my website using...
Code:
<STYLE TYPE...> @import:url(colton22_home.css); </STYLE> but it didnt work, i just stuck with copying and pasting to my main page as it is. colton22 |
|
#3
|
|||
|
|||
|
Quote:
Thanks for the try. |
|
#4
|
|||
|
|||
|
It's not showing up in Firefox because you are missing a brace, so that whole rule for body is ignored.
colton22, that isn't valid. There should be a space where you put the colon. |
|
#5
|
|||
|
|||
|
Quote:
I am still not certain about how to go about how to fix it. You say I have a missing a brace, but what is a brace and where does it go? Thank you much. Here is the test page: http://rhodesfamily.org/index_test.htm and here is its CSS code: http://rhodesfamily.org/style.css Thank you much, Carl |
|
#6
|
|||
|
|||
|
"Brace" is another word for a "bracket". In CSS curly a pair of curly braces ("{","}") is used to delimit a code block. You still have an extra right one ("}") in the rule for body.
I have Georgia installed. P.S. Why did you post here and on DevShed? |
|
#7
|
|||
|
|||
|
Quote:
I did not know they where connected. Kravvitz, would you be willing to make a some Paypal bucks to fix my code? email: carl.rhodes at gmail dot com |
|
#8
|
|||
|
|||
|
Perhaps you missed the second line of my first reply?
Change Code:
@import:url(rhodes.css); to Code:
@import url(rhodes.css); If you still need more help, then I may email you. |
|
#9
|
|||
|
|||
|
Quote:
Thanks, but that did not work. So I did some looking and found and used the following code: Code:
<link rel="stylesheet" type="text/css" href="rhodes.css"> It work great with Firefox. Thanks for your help. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > CSS file that works in IE but not Firefox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|