salvo
04-16-2008, 03:37 PM
I have a css controled submit button with the follwoing code.
.btn-submit { background:url(/images/btn.gif); width:108px; height:29px; padding:3px 0 0 0; float:left; text-align:center; margin-top:165px;}
.btn-submit a {color:#fd800d; font-size:10px; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; text-decoration:none; }
I'm controling the text on the button as well so i can change it on the fly.
My issue lies with the markup.
If i use the following the code the text will not show ontop of the button. instead i get the actual image ontop of the css control image as expected.
<div class="btn-submit">
<input type="image" src="./images/btn.gif" class="button" value="submit Reg &rgt" name="btn_value"/>
anyone know what markup to use? this is killing me.
Any and all respones will be greatly appreciated.
.btn-submit { background:url(/images/btn.gif); width:108px; height:29px; padding:3px 0 0 0; float:left; text-align:center; margin-top:165px;}
.btn-submit a {color:#fd800d; font-size:10px; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; text-decoration:none; }
I'm controling the text on the button as well so i can change it on the fly.
My issue lies with the markup.
If i use the following the code the text will not show ontop of the button. instead i get the actual image ontop of the css control image as expected.
<div class="btn-submit">
<input type="image" src="./images/btn.gif" class="button" value="submit Reg &rgt" name="btn_value"/>
anyone know what markup to use? this is killing me.
Any and all respones will be greatly appreciated.