Reputation: 904
I have an ul
with a few li
s, but even without CSS, the first li
pans outside the list...
Here's a FIDDLE
I really can't figure out what's causing it.
Upvotes: 0
Views: 52
Reputation: 171
update the tag "<a></a>"
code as below:
<a id="scroll_1" name="scroll_1" style="top: 100px; margin: 100px;"></a>
Updated your fiddle also
Upvotes: 1
Reputation: 2976
That's strange. Did you already try to fix with css?
ul li:first-child {
margin-left:0 !important;
padding-left:0 !important;
}
Upvotes: 0
Reputation: 40970
You missed the closing anchor tag
<a id="scroll_1" name="scroll_1" style="top: 100px; margin: 100px;"></a>
Upvotes: 7