unnikrishna menon damodaran wrote:
my problem: in the form field below:
It's generally best to post a URL that demonstrates the problem in context
and with all relevant data available.
Mobile Number Home Tel. Number shows in one row with text area
input is fine.
Well, if the window is narrow, then the second input box appears on a line
of its own. On the other hand, usability guidelines suggest that there
should be one input field with its label on one line, so you might be
solving the wrong problem.
but for Home Tel. Number font is showing in serif which is not in the
style.
It's hard to tell where the problem really lies, in the absence of a URL,
but in the snippet you posted...
<li>
<label for="name"> Mobile Number <span
class="red">*</span></label>
<input id="Mobile Number" name="Mobile Number"
class="text02"/>
Home Tel. Number <span class="red">*</span>
<input id="Home Tel" name="Home Tel" class="text02"
/></label>
</li>
which is presumably assumed to be wrapped inside an <ol> inside a <form
id="contactform">, the latter </label> tag is homeless, i.e. there is no
start tag for a second <label> element, hence the text "Home Tel. Number" is
not inside any such element, so its font is not set at all. It should
presumably be preceded by the tag <label for="Home Tel">.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/