View Single Post
Old 11-18-2012, 07:32 PM   PM User | #8
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Originally Posted by comport9 View Post
Edit: Adding a bit of code to include empty li elements worked. (Had to use html markup of a space). But if you have a CSS solution, I'd much prefer to use that.
Code:
.ul {
	width: 400px;
	height: 250px;
	display: inline-block;
	text-align: left;
	border: 1px solid red;
  overflow: auto;
}
Quote:
(Had to use html markup of a space).
I think this is also a hack and unnecessary.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

Last edited by Excavator; 11-18-2012 at 07:53 PM..
Excavator is offline   Reply With Quote