Microsoft
Software
Hardware
Network
Question : Simple css style an unordered list help
I am sure this is a common problem, I have a simple unordered lists:
<ul>
<li>contents</li>
<li>contents</li>
<li>contents</li>
<li>contents</li>
<ul>
I am trying to display images within <li> tags however, when there are images that are longer, it disrupts the whole display like this:
broke.gif
(36 KB)
(File Type Details)
Broke
I know I can set a static height on the li, but is there anyway to clear it or something like that?
Thanks
Answer : Simple css style an unordered list help
Divs are not allowed as direct descendants of unordered lists. You can try display: inline-block; - but you will have to pat the balls of IE and FF2 as described here:
http://blog.mozilla.com/we
bdev/2009/
02/20/cros
s-browser-
inline-blo
ck/
Random Solutions
Need a "quiz" application that saves to a database
Excel/csv, move rows to another sheet based on changing value in column
reCAPTCHA PHP not failing when nothing is entered; works fine when something is entered
Ubuntu - Convert Desktop Hard Drive to Laptop? Just ext4 format and copy all files?
setup basic ipsec vpn for windows on cisco sa520
xp sp2 clients wont log or ping server 2003
manage multiple sites from one admin panel drupal/joomla
cd business card
ASP.NET unable to cast object of type
Create folder / Start Menu Programs Shortcut / Set permissions