| Jockrock on Dec 12, 2006 at 3:44:56 AM emsiva - It's only the IDs that must be unique. The class can be used on multiples. The [#] signifies a unique style while the [.] signifies a global style
.details //note hash changed to dot { border: 1px solid rgb(250,254,254) ; padding:15px; width: 184px; height: 110px; float:left; clear:top; background-color: white ; border: 1px solid lightsteelblue; } .details h3//note hash changed to dot { background-color: white ; border: 1px dotted lightsteelblue; text-align:center; padding:3px; font:12px arial, sans-serif; font-weight:bold; }
..then applied ..
<div id="detail001" class="details">Content for id "detail001" Goes Here</div> <div id="detail002" class="details">Content for id "detail002" Goes Here</div> <div id="detail003" class="details">Content for id "detail003" Goes Here</div> <div id="detail004" class="details">Content for id "detail004" Goes Here</div>
Regarding the spacing. Sounds pretty obvious suggestion but have you tried :
H3 { font-size: 12pt; line-height: 11pt } or something along those lines? Is there somewhere we can view LIVE attempts?
|