ki Posted July 25, 2007 Share Posted July 25, 2007 Im having a blank, I have this list <ul> <li>DYNAMIC CONTENT</li> <li>DYNAMIC CONTENT</li> <li>DYNAMIC CONTENT</li> </ul> they're all having different values of space going in, but I want them to be the same length so that when I hover over them it will look even not based on the size that each individual li is. any help so they're all the same size? without width because u don't know how big they are actually going to be Link to comment https://forums.phpfreaks.com/topic/61696-im-having-a-blank/ Share on other sites More sharing options...
calabiyau Posted July 25, 2007 Share Posted July 25, 2007 I think you would have to select a maximum width if you want them all to be the same size regardless of content. Might be a good case for a table where the column will stretch with the content and then you can style the individual td's. Link to comment https://forums.phpfreaks.com/topic/61696-im-having-a-blank/#findComment-307151 Share on other sites More sharing options...
moberemk Posted July 25, 2007 Share Posted July 25, 2007 Try giving the LI elements a class: <ul> <li class="whatever">DYNAMIC CONTENT</li> <li class="whatever">DYNAMIC CONTENT</li> <li class="whatever">DYNAMIC CONTENT</li> </ul> And then giving them a simple CSS width property: .whatever { width: 100px; } Link to comment https://forums.phpfreaks.com/topic/61696-im-having-a-blank/#findComment-307216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.