[Javascript] ot css

Jason Belanger BELANGERJ at EM.AGR.CA
Mon Aug 20 10:42:12 CDT 2001


Hi Everyone,

a quick question:

I am implementing the LABEL tag for some forms and in IE they look and work great (Because they are an implementation of MS)

I know they don't work with Netscape, but they breakdown my CSS in terms of stopping the the default font settings from displaying, which wreaks the look of my form. It appears that the </label> stops the CSS implementation. Does anyone know a code that reintroduces the CSS without starting the text on a new line?

Let me know if I am not clear.

Here is a sample of my code:

<p><LABEL FOR="head_tel_area">Téléphone :</label>
(<input type="text" ID="head_tel_area" name="head_tel_area" size="3" tabindex="5">)
<input type="text" ID="head_tel_pre" name="head_tel_pre" size="3" tabindex="6">-
<input type="text" ID="head_tel_suff" name="head_tel_suff" size="4" tabindex="7">

// this part displays fine

<LABEL FOR="head_fax_area">Télécopieur :</label>
(<input type="text" ID="head_fax_area" name="head_fax_area" size="3" tabindex="8">)
<input type="text" ID="head_fax_pre" name="head_fax_pre" size="3" tabindex="9">-
<input type="text" ID="head_fax_suff" name="head_fax_suff" size="4" tabindex="10">
</p>

// This part does not.

Jason

Jason Belanger
Web Technologies System Specialist
(613) 759-7809
belangerj at em.agr.ca
http://www.agr.ca/




More information about the Javascript mailing list