Im hung up on something that seems really quite simple, but for some reason im missing something here. Id probably figure it out if I took a break for awhile, but I got way to much shit to do to consider a break.
Ive got some html set up like so..........
For some reason im getting a hell of a top margin between the list and <h2> even with margins cleared for both H2 and UL, everything looks fine in Firefox, the culprit once again Explorer! Actually could even be something to do with LI, so I even tryed clearing all margin and padding there also.
Like I said, something that seems to simple, but id really fucking witrh me right now. Anyone notice anything that I have or have not included that would cause the upper margin?
Ive got some html set up like so..........
Code:
<div id="sidebar">
<h2>Navigate</h2>
<ul>
<li>
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</li>
</ul>
</div>
AND CSS FOR LIKE SO.....
/* Left Sidebar */
#sidebar {
float: left;
width: 160px;
text-align: right;
}
#sidebar h2 {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
margin: 5px 0 0 0;
padding: 0;
}
#sidebar ul{
margin: 5px 0 0 0;
padding: 0;
list-style-type: none;
}
#sidebar li {
margin: 0;
padding: 0;
}
For some reason im getting a hell of a top margin between the list and <h2> even with margins cleared for both H2 and UL, everything looks fine in Firefox, the culprit once again Explorer! Actually could even be something to do with LI, so I even tryed clearing all margin and padding there also.
Like I said, something that seems to simple, but id really fucking witrh me right now. Anyone notice anything that I have or have not included that would cause the upper margin?