Helpful Information
Home
Categories
Contact us
Category: CSS Help
CSS and changing certain elements
I would like to change the color of 3 particular tags:
HR to blue
SELECT border to blue
SUBMIT button face to blue
Has anyone changed these before?
Try this for hr and submit:
<hr style="color:#8080ff" />
<input type="submit" style="color:#2020ff" /><br />
I don't think the border color of select can be set. I don't remember seeing this in HTML or in a native Windoze application.
Btw: CSS reference: http://www.w3.org/TR/REC-CSS1
submit border works with style="border-color: blue;"
<form>
<span style="width:30px;border: 4px #4444cc outset;">
<select>
<option>------------</option>
<option>------------</option>
<option>------------</option>
</select>
</span><br><br>
<input type="submit" style="color:#eeeeff;border:3px #4444cc outset;background:#7777ee;">
</form>
privacy (GDPR)