I sometimes place a sidebar on a Web page, using the following:
..sideright { float: right;
background-color: #fff;
width: 40%;
font-size: 90%;
text-align: justify;
margin-left: 1em;
padding: 2% }
..sideleft { float: left;
background-color: #fff;
width: 40%;
font-size: 90%;
text-align: justify;
margin-right: 1em;
padding: 2% }
If I have an unordered list <ul><li></ul> to the left of a right
sidebar, everything looks okay. If I try an unordered list to the
right of a left sidebar, however, the bullets overlap the
sidebar's block. I have no problems with unordered lists within
either left or right sidebars.
My entire style sheet file passes the test at
<http://www.htmlhelp.com/tools/csscheck/> with no errors. The
only warnings suggest such things as combining background-color
with background-image into just background.
Do I need to change my sidebar definitions? Or is there something
I should do about unordered lists? My list style is
li { list-style-position: outside }
ul li { list-style-type: disc;
display: list-item;
margin-top: 1em }
ul ul li { list-style-type: circle;
display: list-item;
margin-top: 0em }
I'm sorry, but I don't have an example of my problem. When I saw
what was happening, I changed the affected left sidebars to right
sidebars.
--
David E. Ross
<http://www.rossde.com/>
Concerned about someone snooping into your E-mail?
Use PGP. See my <http://www.rossde.com/PGP/>