
September 24th, 2012, 12:39 PM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 1
Time spent in forums: 23 m 6 sec
Reputation Power: 0
|
|
|
Text in linked div stays underlined in Firefox
Hello World,
I'm working in Wordpress (irrelevant info) with this code:
PHP Code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<div id="gallery-post<?php if (!((1+$wp_query->current_post) % 4)) echo '-last' ?>">
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail();
} ?>
<h1><?php echo get_the_title(); ?></h1>
</div>
</a>
<?php endwhile; endif; ?>
I have the titles styled to not have underlines, which works in Chrome, but not in Firefox or Safari.
What can I do to get rid of the underline?
Thanks
|