Link problem in Firefox

This is a discussion on "Link problem in Firefox" within the Web Page Design section. This forum, and the thread "Link problem in Firefox are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 31st, 2006, 09:38
New Member
Join Date: May 2006
Location: Tenasee
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Link problem in Firefox

Hi,i have this css code
<LINK REL=stylesheet HREF="style.css" TYPE="text/css">
which links to my css document ok - works just fine in ie
but firefox dosent seam to like it and is displaying standerd links - if i put the css code on every page it works but that would take ages in my case - there must be an answer?
Reply With Quote

  #2 (permalink)  
Old May 31st, 2006, 09:50
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

Thats a very dodgy coding style, try

<link rel="stylesheet" type="text/css" href="style.css">

is the css file in the same directory as the page?
Reply With Quote
  #3 (permalink)  
Old May 31st, 2006, 10:15
New Member
Join Date: May 2006
Location: Tenasee
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Re: Link problem in Firefox

Yeah tried everything caps the lot Firefox just dont seam to like it
Reply With Quote
  #4 (permalink)  
Old May 31st, 2006, 11:35
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

have u tried putting quotes around stylesheet as i did in my suggestion?
Reply With Quote
  #5 (permalink)  
Old May 31st, 2006, 11:40
New Member
Join Date: May 2006
Location: Tenasee
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

yes my css file is called style.css and i currently have this
<link rel="stylesheet" type="text/css" href="style.css">
and it works great in ie but its as if firefox can't understand it and is goin default
Reply With Quote
  #6 (permalink)  
Old May 31st, 2006, 11:42
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

Assuming you have a .css file in the right location with the name "style.css", this is almost certainly just a coding error. The easiest way to locate it is go to The W3C CSS Validation Service and check it. This will immediately locate where you have a ":" instead of a ";" or whatever. Another big favorite is a ")" instead of a "}".

Blast W3c to Hades. Why couldn't they use something legible for their punctuation, like $ and @. I'm bringing suit on behalf of the nearsighted.
Reply With Quote
  #7 (permalink)  
Old May 31st, 2006, 11:54
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

If its not a coding error in the CSS file, post a link to your site so we can see your code to check.
Reply With Quote
  #8 (permalink)  
Old May 31st, 2006, 12:12
New Member
Join Date: May 2006
Location: Tenasee
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

This is my css code
Code: Select all
 
<style type="text/css">
<!--
A:link{color:#000000;text-decoration:none}
A:visited{color:#000000;text-decoration:none}
A:active{color:#000000;text-decoration:none}
A:hover{color:#ffffcc;text-decoration:border 1px;}

b {font-family:arial;
color: 000000;} 
body 
{ background-color: transparent;
font-family: arial;
color: #000000; 
cursor:ne-resize;
letter-spacing: 0pt;
font-weight: normal;
font-size: 10pt;
text-align:center;
body direction:rtl;
scrollbar-face-color: #98cbf6;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #686868;
scrollbar-3dlight-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-darkshadow-color: #000000;}
input, textarea
{ background: transparent;
font-family: arial;
color: #686868; 
letter-spacing: 0pt;
font-weight: normal;
font-size: 10pt;
border-style: solid;
border-color: #ffffcc;
border-width: 2px; }
-->
</style>

Thanks in advance
Reply With Quote
  #9 (permalink)  
Old May 31st, 2006, 13:09
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

I think there are a few small things wrong with that code so you should run it through the validatior to catch all the errors.
Reply With Quote
  #10 (permalink)  
Old May 31st, 2006, 20:43
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Link problem in Firefox

DO NOT USE HTML IN A CSS FILE!!!

remove
HTML: Select all
<style type="text/css">
<!--
and
HTML: Select all
-->
</style>
Reply With Quote
Reply

Tags
link, problem, firefox

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox problem ahwell Flash & Multimedia Forum 11 Apr 17th, 2008 11:44
Link Checker for Firefox -- fails MikeHopley Scripts and Online Services 9 Jan 14th, 2008 18:58
Weird Problem in FireFox Powderhound Web Page Design 11 Sep 20th, 2006 07:10
Firefox problem Powderhound Web Page Design 6 Sep 6th, 2006 21:46
I'm having a problem with Firefox! majorjc Web Page Design 2 Jan 17th, 2006 15:48


All times are GMT. The time now is 20:57.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43