Firefox and IE see the wp_list_pages tag differently
-
Using WP 1.5:
Code example:
<h2 class="pagetitle">Search by Article</h2>
<div id="articles"><?php wp_list_pages('title_li= &exclude=9,19,20,36' ); ?>
</div>
Relevant CSS code:
.pagetitle {
color: #005D93;
text-align: center;
font-size: 1.3em;
}#articles {
margin: 0 auto;
padding: 0;
width: 280px;
text-align: center;
list-style: none;
}#articles li {
text-align: left;
list-style: none;
line-height: 20px;
}I used the above code to eliminate the default “Page” name from appearing ( by leaving a space after the title_li= ). This eliminated the title and looks ok in Firefox, but IE still interprets the title as still being there and leaves room for it which causes more whitespace to appear between the h2 title above and the list of pages below.
Is there a way to work around this??
Thanks
- The topic ‘Firefox and IE see the wp_list_pages tag differently’ is closed to new replies.