[thelist] Applying formatting to Form
Santilal Parbhu
santilal at scorpioneng.co.nz
Mon Dec 3 16:53:15 CST 2007
Thanks guys.
I have fixed the HTML - just careless. I will look at other ways to
emphasize the team names, or just forget about it. It is reasonably clear
even without emphasis, but I was just being fussy.
Thanks again.
Santilal
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of kasimir-k
Sent: Monday, 3 December 2007 9:34 p.m.
To: thelist at lists.evolt.org
Subject: Re: [thelist] Applying formatting to Form
Santilal Parbhu scribeva in 02/12/2007 20:22:
> I am trying to format one item in a form field, to highlight it.
> A snippet from the HTML is:
> id="gradeform"><form action="editteams.php" method="post">
>
> <p>Select team for updating: <select
> name="team_name"></p><option value=29,AAA,Test,>
>
> Team ID: 29, <span class="alertyellow"><b>Team: AAA</b></span>, Grade
> :Test</option> .
Some bad HTML here...
<p>Select team for updating: <select> name="team_name"></p>
should be
<p>Select team for updating: </p><select> name="team_name">
unless your intention is, that <select> has no <option> elements, and
you've ommitted the end tag intentionally.
And as Paul said, you can't have HTML inside an option element, only
#PCDATA (parsed character data).
<http://www.w3.org/TR/html401/interact/forms.html#edef-OPTION>
.k
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list