styling permalinks with css
-
Hello,
I’m having trouble getting a list of permalinks to respond to css styling i want to apply to them. They do so erratically/ selectively. In the example below, the default underline disappears, but the text does not appear white, as i want it to or change colour when hovered over. This is the code in question:<div id="FAQ"> <h2>FAQs</h2> <?php if (have_posts()) : ?> <?php query_posts('catname=FAQ'); while (have_posts()) : the_post(); ?> <h4 id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?></a></h4> <?php endwhile; ?> <?php endif; ?> </div>and this is the css:
[code moderated as per forum rules - please use the pastebin or post a link to your site for acccess to the stylesheet]
h4s only appear in this section of the site. If i add the pseudo selector :link to the selector of the penultimate rule, bizarrely the last item in the list gets the default underline (none of the others).
Any help/pointers much appreciated.
Tim
The topic ‘styling permalinks with css’ is closed to new replies.