|
Posted by Adrienne Boswell on 07/07/07 00:02
Gazing into my crystal ball I observed Tim Streater
<timstreater@waitrose.com> writing in
news:timstreater-681394.00235907072007@individual.net:
> In article <Xns996597CECA25Carbpenyahoocom@69.28.186.121>,
> Adrienne Boswell <arbpen@yahoo.com> wrote:
>
>> Gazing into my crystal ball I observed Tim Streater
>> <timstreater@waitrose.com> writing in news:timstreater-
>> E9D5D5.22344806072007@individual.net:
>>
>> > .mtext {FONT: 11px verdana,tahoma,arial; color: #000000;}
>>
>> You know, don't you that IE can't resize pixels, and are you sure
>> that 11px is going to be large enough for me to see?
>
> This is taken from the front end of our assets database that helps us
> to manage our Europe-wide network. No complaints about this so far. I
> doubt if any of our user base is using IE, although obviously I test
> what I am doing against it.
And hopefully, it's in an external stylesheet that the browser can cache.
>
>> >
>> > Any clue about how to remove the unwanted space appreciated. If
>> > there are better ways of doing this I can store that up and try to
>> > apply it later.
>> >
>>
>> Yes, get rid of the tables and use the right tool for the job - label
>> elments and CSS.
>
> I want to know what's going on. If there's a better technique I can
> look at that in parallel. For the moment that's not relevant.
>
If you want to know what's going on, the best thing to do is to separate
content from presentation. So, you could say in CSS:
form {margin-bottom:1em}
>> >
>> >====== start of html =====
>> >
>> ><html>
>>
>> No DocType?
>
> I indicated above that I cut this example down to the bare minimum of
> text to demonstrate my issue.
>
>> ><head>
>> ><link REL=stylesheet HREF=my-style.css TYPE=text/css>
>>
>> No title element? How am I supposed to know where I am?
>
> See above.
>
>> ></head>
>> ><body>
>> ><table border=1 class=mtext>
>> > <tr>
>> > <td>some text</td>
>> > </tr>
>> > <tr>
>> > <td><form>
>>
>> What is the action of the form? What is the method of the form?
>
> [snip childish twaddle interspersed with my example]
Actually, that all is very important. Browsers do different things when
required attributes are missing. Both action and method are required
attibutes.
>
>> So, now my question becomes - what the heck are you trying to do
>> here? None of these forms have actions or methods. No names for the
>> input elements, so no way to send name/value pairs.
>
> You do know what the word "example" means, do you? None of your
> foolish comments are germane to the issue.
I suggest you read the specs then. I also suggest next time you supply a
URL.
>
> Oh gee, no action attribute for the form? No method? No names to the
> input elements? No action script for the buttons? Well duh! Silly me!
> I guess the HTML and Javascript books on my desk aren't meant to be
> doorstops after all.
By your original post, no one knows whether of not you know if these
things are required or not -- again, another good reason to supply a URL.
>
>> http://intraproducts.com/usenet/requiredform.asp . This can be
>> easily ported to PHP, or any other server side language, and the
>> HTML/CSS are all there to see.
>
> Hmm, doesn't look much different to the many forms I already have
> implemented using mysql, PHP, and Javascript.
>
> If you mean that putting a form inside a table cell gives
> unpredictable results then say so.
It means to use the right tool for the job. Tables are for tabular data.
They work with forms where you have a lot of data, eg:
<form method="post" action="someurl">
<table summary="Change Form">
<thead>
<tr>
<th>Purchase</th><th>Title</th><th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" value="1" name="getit"></td>
<td>Gone with the Wind</td>
<td>Classic story of love in the Civil War</td>
</tr>
<tr>
<td><input type="checkbox" value="2" name="getit"></td>
<td>Casablanca</td>
<td>Love story set in Casablanca during WWII</td>
</tr>
</tbody>
</table>
<p><input type="submit" value="Submit"></p>
</form>
>That would have been useful.
> Otherwise next time try to keep your snide remarks to yourself.
Usenet is not a 24/7 help desk. Usenet is for discussion of topics. If
you happen to find a solution to your problem, that's a bonus.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Navigation:
[Reply to this message]
|