Forum Moderators: open

Message Too Old, No Replies

button and font

         

yllai

2:46 am on Aug 8, 2007 (gmt 0)

10+ Year Member



hi,

In my html page, I have a form, with button, I use font Arial...when I preview with my PC, it look ok. But, when I preview it at other PC, the font of the button change to other font ( I have checked, that PC have Arial font also).
Anyone know how can I make it the font always is Arial no matter which PC I used?

Marshall

4:09 am on Aug 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If it is a regular "submit" button, the browser's default possibly took over.

Marshall

yllai

5:58 am on Aug 8, 2007 (gmt 0)

10+ Year Member



i'm using IE...which part that I should change to get the same font?

Xapti

9:43 pm on Aug 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's very possible that you cannot specify to a user what font family you want for a submit button, since default submit buttons, just like other form elements, are Operating System elements, which use OS values for default. Whether or not it uses OS values all the time, or just as default, would depend on the browser, and possibly the Operating system(?)

Just to make sure though, you said "I use font Arial". By that, do you mean you set the CSS style info for the input element to font-family:Arial? or that you used an inline style inclusion such as <input type="submit" style="font-family:Arial">submit</input>?
because that's what you should do if you want the buttons to use the Arial font for the button.