PDA

View Full Version : Resizing a textfield


cs00003
08-03-2005, 09:19 AM
Hi, while using dreamweaver mx 2004 i inserted a textfield into a layer. The thing is that when i try to resize the textfield, by writting into the code pane "width = ....", its size changes only in the design view but not when it is displayed in my browser. Can anybody help?

domedia
08-03-2005, 12:42 PM
I would use CSS for this, HTML should only structure data in a perfect world.
<input style="height: 20px; width: 300px; background: #eee; border: 1px solid #999;">