...

View Full Version : over-riding default css for input box



machineartgirl
05-05-2009, 03:29 AM
I currently have all inputs on my html page with a css default of a box width of 243 px. http://www.machineartinc.org/service.php

The last two check boxes I do not want at that default width. How can I over-ride the default css for just those two check box inputs? What sort of in-line Css should I add or would adding a new div tag over-ride the default width? I have been using trial and error to no avail. need help with the code.

Fisher
05-05-2009, 03:43 AM
You could apply a class to them:

<input class="newsletter" name="Newsletter" id="Newsletter" checked="checked" type="checkbox" >Yes, I would like to receive future information from Furniture Medic by email.<br>
<input class="newsletter" name="Special_Offers" id="Special_Offers" checked="checked" type="checkbox" >Yes, send me special offers and coupons by email.<br>

And then in the CSS for example:
.newsletter {width:20px;}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum