Making text clickable in Chrome, Firefox, Safari
I have made this website www(.)ionisedmesh(.)com and a latest news box on the top but the problem is that while the blog posts headings are clickable in Internet Explorer, they cannot be clicked while using Firefox or Chrome, I havent tested with Safari but I am sure it wont work on it too if it doesnt work on Chrome. Here's my code, any suggestion?
<div id="freshlyWrapper">
<div id="freshlyposts">
<?php
$freshlyIonised = new WP_Query();
$freshlyIonised->query('category_name=FreshlyIonised&showposts=6');
while($freshlyIonised->have_posts()):
$freshlyIonised->the_post();
$title = get_the_title();
if (strlen($title) > 46)
$ti开发者_Python百科tle = substr( $title, 0 , 46 ) . "..."; // Limits title to 20 characters.
?>
<div class="freshlyionisedbox"><h3><a style='text-decoration: underline; color: #000;' href="<?php the_permalink(); ?>"><?php echo $title; ?>
</a></h3>
</div>
There's nothing wrong with your HTML. I've just checked your page using Safari's Web Inspector (it's like Firebug) and it seems your Google Ads DIV and your Facebook DIV are covering up the div with your headlines. I removed those two and your headlines are clickable. I think you need to change how they're positioned, perhaps a float:right
?
精彩评论