[Linux-users] HTML wonkiness
James McDonald
james
Tue Aug 7 16:11:02 PDT 2007
Lonni J Friedman wrote:
> I've got some HTML that I'm working on that isn't working the way I'd
> expect. Basically I have a bunch of nested unordered lists. However,
> for reasons that I can't figure out, the nested lists aren't getting
> indented inside the parent list.
>
> For an example of the problem see here:
> http://mail.linux-sxs.org/~netllama/index0.html
>
> Anyone have any idea what i'm doing wrong?
>
>
You seem to have some bad css the brackets seem to be nested
incorrectly... and you could also be inheriting from your other elements
with margin: 0px etc.
Explicitly define your ul with some css and perhaps you will override
where it's being inherited from.
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
a:link {color:"#80c41c";text-decoration: underline; }
a:visited {color:"#80c41c";text-decoration: underline; }
a:hover{color:#80c41c;text-decoration: underline; foreground:#80c41c;background:#000000 }
a:active{color:#d4d4d4;text-decoration: underline; }
ul.sample {
list-style-type: inherit;
list-style-image: none;
list-style-position: inside; }
}
More information about the Linux-users
mailing list