This is my first expericne with WebDesign and I am designign a form with textboxes, labels, etc… and have a question: is it Ok to set hard coded width for these contorls? or I should everwhere use other techniques for example DIV and percentages on different DIVS?
Share
External CSS files should be used whenever possible. The only exception I’ve seen to this is when JavaScript is involved, because it will set inline styles when modifying elements (which, there isn’t much you can do about, so it’s the exception).
Inline styles are frowned upon because
width=100pxon most elements are deprecated or at least discouraged by the W3C.