
Originally Posted by
lplatz
Speaking of lists - the outcome of adding
* {
margin: 0;
padding: 0;
}
to my css, is that my indent for <ul> items has adjusted left.
I attempted to counter and adjust the <ul> by adding
ul {
padding: 10;
margin-left: 0:
}
No luck - Firefox and MSIE continue to render the list differently.
Thanks in advance. Les
Like the other guy said try:
Code:
ul li {
padding: 10;
}
Padding: 10; will make a 10px box around every li element, you can define it specifically by doing:
Code:
padding: 5px 0px 5px 10px;
/* In English (Clockwise)- Padding: Top Right Bottom Left */
Also you dont need margin-left if you have it at 0 since * {margin: 0; padding: 0} is in your main CSS file, its automatically set to every element unless defined.
Bookmarks