EwS
asked on
text-align:center doesn't work in Safari
This code works (=the text in the text box is centered) in IE, Mozilla, Netscape, Opera, but not Safari. I don't see any reason why it wouldn't. Maybe somebody had this problem too. Thanks!
<html>
<body>
<input type="text" style="text-align: center" value="test" />
</body>
</html>
<html>
<body>
<input type="text" style="text-align: center" value="test" />
</body>
</html>
ASKER
Are you positive about it? I heard a different opinion...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!!
Input elements in safari are very closely connected with the MAC OS, and there's not much you can do except change the width and height.
Sorry,
Sean