Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old October 13th, 2006, 07:33 PM
clrhodes clrhodes is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 5 clrhodes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 18 m 53 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 13th, 2006, 09:19 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 471 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 9 m 44 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
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

Reply With Quote
  #3  
Old October 13th, 2006, 09:50 PM
clrhodes clrhodes is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 5 clrhodes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 18 m 53 sec
Reputation Power: 0
Quote:
Originally Posted by colton22
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


Thanks for the try.

Reply With Quote
  #4  
Old October 13th, 2006, 10:22 PM
Kravvitz Kravvitz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: USA
Posts: 134 Kravvitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 38 m 30 sec
Reputation Power: 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.

Reply With Quote
  #5  
Old October 14th, 2006, 01:55 PM
clrhodes clrhodes is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 5 clrhodes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 18 m 53 sec
Reputation Power: 0
Quote:
Originally Posted by Kravvitz
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.


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

Reply With Quote
  #6  
Old October 14th, 2006, 02:00 PM
Kravvitz Kravvitz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: USA
Posts: 134 Kravvitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 38 m 30 sec
Reputation Power: 4
"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?

Reply With Quote
  #7  
Old October 14th, 2006, 02:54 PM
clrhodes clrhodes is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 5 clrhodes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 18 m 53 sec
Reputation Power: 0
Quote:
Originally Posted by Kravvitz
"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?


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

Reply With Quote
  #8  
Old October 14th, 2006, 03:11 PM
Kravvitz Kravvitz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: USA
Posts: 134 Kravvitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 38 m 30 sec
Reputation Power: 4
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.

Reply With Quote
  #9  
Old October 15th, 2006, 11:54 AM
clrhodes clrhodes is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 5 clrhodes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 18 m 53 sec
Reputation Power: 0
Quote:
Originally Posted by Kravvitz
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.


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.

Reply With Quote
  #10  
Old October 15th, 2006, 01:13 PM
Kravvitz Kravvitz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: USA
Posts: 134 Kravvitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 38 m 30 sec
Reputation Power: 4
You're welcome

Please fix your HTML and CSS errors. (don't worry about the errors caused by the scrollbar colors.)

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > CSS file that works in IE but not Firefox


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway