Thu, 2007-09-13 14:56
Where did the numbering from the OL go?? Any tips on getting them back?
#template ol {
margin-top: 16px;
width: 500px;
}
#template li {
border: 1px solid #00ff00;
overflow: hidden;
}
#template div.item {
border: 1px solid #0000ff;
}
#template div.left {
float: left;
}
#template div.right {
float: right;
}
-
Text in line one10
-
Some more text in line two20
Thu, 2007-09-13 18:02
#1
The {overflow: hidden;}
The {overflow: hidden;} hides the generated enumeration. In IE, the ol having hasLayout causes problems. Try this:
/**/
10Text in line one
20Some more text in line two
cheers,
gary
Fri, 2007-09-14 01:28
#2
Thanks Gary, works like a
Thanks Gary, works like a charm. In fact, by having the span with 10 & 20 on the left and doing a "float: right" on it does the trick