1) Those do not appear to be paragraph elements, why are they in paragraph tags?
2) there is no 'disabled' property on SPANS.
3) probably no reason to be using style="clear:both;" if you just set wrapping behavior on .claimRow in the first place (overflow:hidden good as always)
4) You really don't need the majority of the tags you used - and the abuse of said tags is the OPPOSITE of semantics since semantic markup is NOT just about slapping tags with meanings around everything, it's also about NOT slapping tags with meanings (like P) around things that don't mean that!
So, let's rip out the pointless paragraph tags and the unneccessary/unwanted spans. (especially since the properties on the spans were completely invalid)
Code:
<div class="claimRow">
<div>
<img src="images/program/giftCert10.jpg" /><br />
<input
type="radio"
id="ctl00_mainContent_rbn200Points"
name="ctl00$mainContent$rewardPointList"
value="rbn200Points"
disabled="disabled"
/>
<label for="ctl00_mainContent_rbn200Points">200 pts</label>
</div>
etc, etc, etc...
Code:
.claimRow {
overflow:hidden; /* wrap floats */
width:100%; /* trip haslayout, wrap floats in IE */
}
.claimRow div {
float:left;
text-align:center;
}
.claimRow img {
display:block;
margin:0 auto;
}
Pretty simple. Though I have to ask, how big are the images, are you SURE the math for the outer container equals the width of the three images? Adding a WIDTH to .claimRow div and making sure your math is right would be what you probably REALLY need; I'd have to see the ACTUAL page and content in question to say for sure.
Though that ct100 crap raises the hair on the back of my neck. Trying to remember just which of the form handlers on my **** list uses those.
Bookmarks