Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
FF = Link colour working, IE = Link colour not working
Old 12-02-2008, 10:09 AM FF = Link colour working, IE = Link colour not working
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Ok, I have a gallery on my website which can be located here: http://www.lilwaynehq.com/gallery/

Now when you go into a category such as this one: http://www.lilwaynehq.com/gallery/index.php?cat=8

You can see in firefox, that the link colours for links and hovers work correctly with a link as red and when you hover the link, it goes blue.

But in internet explorer, the links are just black

I added this to the header2 in my css:

Code:
h2 a:link {
    color:#DD0000;
}

h2 a:visited {
    color:#DD0000;    
}

h2 a:hover {
    color:#0000FF;    
      border-bottom:1px solid;
}
But still no luck, sodoes anyone know how I can the link colour to work in IE

Thanks alot
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-02-2008, 10:26 AM Re: FF = Link colour working, IE = Link colour not working
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
<span class="head_txt"><a href="thumbnails.php?album=62"><h2>Austin, Texas Concert</b></h2></span>


<span>s and <a>nchors are inline element so cannot be used to enclose block element such as headings. The closing <h2> is out of sequence AND the closing tag for an <a>nchor is </a> NOT </b>

Your CSS rule is set for an anchor that is inside a heading but the code is actually a heading inside an anchor element.

recode it to be
HTML Code:
<h2 class="head_txt"><a href="thumbnails.php?album=103">42nd Annual Country Music Awards In Sommet Center, Nashville, TN With KidRock</a></h2>
CSS rule to add
Code:
h2 a {
     display:block;
}
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-02-2008, 11:51 AM Re: FF = Link colour working, IE = Link colour not working
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Thanks mate
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to FF = Link colour working, IE = Link colour not working
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17519 seconds with 12 queries