display:inline property not working

AB Tidal

New Member
I am having an unordered list where I've given \[code\]display:inline\[/code\] for \[code\]li\[/code\] to view the list horizontally, but I am not able to view it horizontally. Here is my code:\[code\]ul li{min-height:310px;background:#FFF;width:330px;display:inline;margin-left:15px;}\[/code\]Note: I should not use \[code\]float:left\[/code\] or \[code\]float:right\[/code\]. So I preferred for display property.
 
Back
Top