firefox not picking up css?

Reply

Join Date: Dec 2007
Posts: 3
Reputation: yired is an unknown quantity at this point 
Solved Threads: 0
yired yired is offline Offline
Newbie Poster

firefox not picking up css?

 
0
  #1
Dec 21st, 2007
www.imagetotext.com

Please see in Firefox and IE.

I have validated CSS and HTML (Strict).

CSS is located at http://www.imagetotext.com/themes/de...unded_divs.css

I am completely lost and any help would be appreciated.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: firefox not picking up css?

 
0
  #2
Dec 21st, 2007
I downloaded your page and uploaded it to my server and it looks good in both FF and IE.

For some reason, Firefox isn't grabbing the CSS file from your server.

Try using an absolute url to link to your css file instead of a relative link. In other words, link to the css using

HTML and CSS Syntax (Toggle Plain Text)
  1. <link href="http://www.imagetotext.com/themes/default/msvs_template_rounded_divs.css" rel="stylesheet" type="text/css" />
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 3
Reputation: yired is an unknown quantity at this point 
Solved Threads: 0
yired yired is offline Offline
Newbie Poster

Re: firefox not picking up css?

 
0
  #3
Dec 21st, 2007
Originally Posted by FC Jamison View Post
I downloaded your page and uploaded it to my server and it looks good in both FF and IE.

For some reason, Firefox isn't grabbing the CSS file from your server.

Try using an absolute url to link to your css file instead of a relative link. In other words, link to the css using

HTML and CSS Syntax (Toggle Plain Text)
  1. <link href="http://www.imagetotext.com/themes/default/msvs_template_rounded_divs.css" rel="stylesheet" type="text/css" />
Thanks FC Jamison, I have tried that as well. I also tried cutting and pasting the text into Notepad and renaming the file to the same. Figured maybe it was corrupt. Same issue. I am at a loss here.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 596
Reputation: buddylee17 has a spectacular aura about buddylee17 has a spectacular aura about 
Solved Threads: 125
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Posting Pro

Re: firefox not picking up css?

 
0
  #4
Dec 21st, 2007
The Firefox error console (Tools->Error Console) says
"Unexpected end of file while searching for ',' or '{'. Ruleset ignored due to bad selector. "
It also has a link under that, when clicked, shows the source code for your css and highlights the first line of code(/*******************). This tells me that FF is finding your css file, it just doesn't like it.
I think it is somehow linked to all the comments in your .css file. Try making a copy with no comments in it and using it to see what happens.
Don't feel bad, apparently you aren't the only one scratching your head over this. Google the error.
Last edited by buddylee17; Dec 21st, 2007 at 1:13 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 3
Reputation: yired is an unknown quantity at this point 
Solved Threads: 0
yired yired is offline Offline
Newbie Poster

Re: firefox not picking up css?

 
0
  #5
Dec 21st, 2007
After hours of troubleshooting CSS and HTML...and then IIS. I renamed the file with a .aspx extension and its all good.

Thanks to everyone for your suggestions.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC