Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button size in HTML 2

Status
Not open for further replies.

022267

IS-IT--Management
Nov 6, 2002
5
US
can someone help me to specific the size/height of a button.

my button like that:
1. <FORM METHOD=&quot;LINK&quot; ACTION=&quot;/c:/a1.txt&quot;>
<INPUT TYPE=&quot;SUBMIT&quot; WIDTH=&quot;20&quot; HEIGHT = &quot;10&quot; STYLE=&quot;BACKGROUND- COLOR:#9900FF&quot; VALUE=&quot;Click here&quot;>
</FORM></CENTER>

2. <FORM METHOD=&quot;LINK&quot; ACTION=&quot;/c:/a1.txt&quot;>
<INPUT TYPE=&quot;SUBMIT&quot; SIZE = &quot;20&quot; STYLE=&quot;BACKGROUND- COLOR:#9900FF&quot; VALUE=&quot;Click here&quot;>
</FORM></CENTER>But it did not work.

Also could someone teach me how to bleeding a button since <bleeding> tag never works in IE?

Thanks
 
you are missing a ; in the inline style
try
<FORM METHOD=&quot;LINK&quot; ACTION=&quot;/c:/a1.txt&quot;>
<INPUT TYPE=&quot;SUBMIT&quot; SIZE = &quot;20&quot; STYLE=&quot;BACKGROUND- COLOR:#9900FF;&quot; VALUE=&quot;Click here&quot;>
</FORM></CENTER>
A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
sorry pasted the wrong one
you also needed to ad the height and width to the style
I made it real big to see what I mean
<FORM METHOD=&quot;LINK&quot; ACTION=&quot;/c:/a1.txt&quot;>
<INPUT TYPE=&quot;SUBMIT&quot; SIZE = &quot;20&quot; STYLE=&quot;BACKGROUND-COLOR:#9900FF;width:200px;height:200px;&quot; VALUE=&quot;Click here&quot;>
</FORM></CENTER> A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
wow I need to go home. I fogot to get rid of the size setting in the tag also. A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
thanks, it works now.

But would you like to help me to figure the second question out, which is how to make a button to bleeking because <bleeking> tag does not work for IE, etc.

Thanks
 
well, I have never heard of a bleeding or bleeking tag but I think you might mean blink tag. if that is the case then you can't use this in IE. very good reasoning but I won't go into that.

read here

if you want my advice DON'T use the blink tag at all. A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Hi, Guys,

I am trying to automatically refresh my html website. Because the html file is generated by a perl script, that script runs every one hour.

Can you guys have idea to automatically refresh the html website?

Thanks.
 
use a meta tag
<META HTTP-EQUIV = &quot;refresh&quot; content = 5>
this refreshes every 5 seconds A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top