Re: xhtml and input width?

Hi,

Like David Dorward, I wasn't able to reproduce your error with the input areas.


But, if you wish to use XHTML, you should use _correct_ markup,
since many browsers ignore non-vaild markup while parsing the source using a XML-related Doctype.


At first, you have to specify with type of style you are using:

<style type="text/css">


Second is to add a title into the head-section. Not for fun, it's just a role of XHTML.

<title> ...text... </title>


Next are the <br> and <input>, in XHTML you have to close empty tags with a "/"
or a complete closing-tag like <br></br> or <input ...></input> with no content between the tags.

<td>Name<br /><input type="text" name="Name" /></td>
<td>Name<br></br><input type="text" name="Name"></input></td>


To validate your final markup, go to <http://validator.w3.org/>
and copy your plain-text into the field labeled "Validate by Direct Input" and click "Check".


Hope this comments are helpfull.
Regards and a nice day, Chiaki~

Received on Thursday, 27 October 2005 07:39:59 UTC