BrianM Posted June 23, 2008 Share Posted June 23, 2008 How would I set the size of this text box using CSS? <td id="header_report">report</td> <style type="text/css"> #header_report { size: 100; } </style> That doesn't work... Link to comment https://forums.phpfreaks.com/topic/111563-setting-size-of-text-box-with-css/ Share on other sites More sharing options...
ednark Posted June 24, 2008 Share Posted June 24, 2008 try this #header_report { width: 100px; height: 20px; background-color: #dddddd; } also google for "CSS BOX MODEL" read up on that it will tell you everything you need to know about setting size, padding, and margin on elements like this Link to comment https://forums.phpfreaks.com/topic/111563-setting-size-of-text-box-with-css/#findComment-573085 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.