PDA

View Full Version : How to get "CLOSE" to appear on close button



dougnez
08-07-2009, 07:04 PM
Hi Everybody
On all my close buttons throughout all my sites the word "CLOSE" does not appear or does not appear correctly on the BV button. Is there is simple way to adjust the script~?~?~?

<BUTTON type="button" onClick="window.open('','_parent','');window.close()" name="close" style="width:70px;height:29px"><P><FONT style="font-size:13px" color="#000000" face="Arial">Close</FONT></P></BUTTON>

Thanks Doug

wysiwyg4
08-08-2009, 01:59 AM
You can make it a square button or rectangle
when you change the width and height.

You have width = 70px; make height=70px;

and then you can lower the dimension if you want
to bring it down to what you like.

You can use padding as well to make the text
higher inside the button or lower.

dougnez
08-10-2009, 02:08 PM
Thanks shafi.... good ideas.. I will give 'em a try... D

Watdaflip
08-10-2009, 11:10 PM
Just remove the <p> and </p> tags from the code. The text is being pushed down because of it (The <p> tag shouldn't be wrapped by a <button> tag to begin with).

dougnez
08-11-2009, 01:17 PM
Thanks General .... will do... D

dougnez
08-11-2009, 01:35 PM
Hey Watdaflip... Your advice... works like a charm.. thanks again... D