html - Disc to left of list item is displayed at bottom -


screenshot of happening:

screen shot 2010-07-27 @ 3.37.23 pm.png

it list item within underordered list, happening in ie7 , else.

<ul>   <li>filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text. filler text.</li> </ul>  .fancybox-entry.computer-policy li {     float:none;     width:100%;     list-style-type:disc;     margin-bottom:10px; }  .fancybox-entry.computer-policy ul + p {     margin-bottom:20px; }  .fancybox-entry.computer-policy ul {     margin:5px 0 10px 25px; } 

any why doing , fix appreciated.

it appears width css property triggers haslayout li element in ie7. first try removing width:100%; declaration make sure bullet appears in correct place. if can't without width property, can use position: relative; , vertical-align: top; move bullet place, outlined @ http://www.gunlaug.no/tos/moa_26.html.

note code on page uses hacks target ie6 , ie7. recommend using conditional comments instead, so:

<!--[if ie 7]>   <style type="text/css" media="screen">     /* ie7-specific css here */   </style> <![endif]--> 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -