Jump to content

[SOLVED] center text in textfield?


cougar23

Recommended Posts

<html>
<head>
<title>Untitled</title>
<style type="text/css">
.mid { text-align:center;}
</style>
</head>
<body>
<form>
<input class="mid" type="text" value="wombat" size="20"/>
</form>
</body>
</html>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.