|
-
Nov 19th, 2002, 05:06 PM
#1
Thread Starter
Addicted Member
Changing a standard HTML submit button
I have a standard HTML submit button and the text it displays is centered inside the button, I want to underline that text, and move it to the left side of the button. Anyone know the property I have to change to make that happen? Any help or an HTML example would be great!
-
Nov 19th, 2002, 05:16 PM
#2
Good Ol' Platypus
AFAIK, submit buttons respond to cascading style sheets just as everything else does. You can always use submit type="image" or <IMG onClick="form1.submit();">.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 19th, 2002, 05:18 PM
#3
Thread Starter
Addicted Member
ok so what property in a style sheet is it to move the text to the left side of the button?
No I don't want to use an image, just text
-
Nov 19th, 2002, 05:23 PM
#4
Good Ol' Platypus
Code:
STYLE="text-align:left top;"
(I think this is it).
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 19th, 2002, 05:26 PM
#5
Thread Starter
Addicted Member
Nope
Nope...
<head>
<style type="text/css">
.NavBarTop {
BACKGROUND-COLOR:#000000;
CURSOR: Hand;
FONT-FAMILY: Arial;
FONT-SIZE: 12px;
COLOR:#FFFFFF;
text-align:left top;
}
</style>
</head>
<p align="left"> </p>
<p align="left"><input name="id" type="submit" submit type="image" value="Laaa Daa Daa" class=NavBarTop>
</p>
-
Nov 20th, 2002, 04:25 AM
#6
text-decoration: underline;
-
Nov 20th, 2002, 06:11 AM
#7
Frenzied Member
You have the text-align wrong:
Code:
<input type="submit" style="text-align: left; vertical-align: top; text-decoration: underline;">
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|