HighDots Forums  

Overly tall <input type=text> despite setting height.

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Overly tall <input type=text> despite setting height. in the HTML forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Overly tall <input type=text> despite setting height. - 03-20-2008 , 12:30 PM






test9991014 (AT) yahoo (DOT) com wrote:
Quote:
On Mar 20, 11:12 am, Toby A Inkster <usenet200... (AT) tobyinkster (DOT) co.uk
wrote:

HTMLDog.com is certainly not that. It's a great tutorial.

It's better than most, I'll agree, but remember
I stated my question was esoteric.

In the end, I did what Jonathan discouraged: I experimented
like a "code monkey" and found the answer.

if

<input type="text" style="height: 10px; font-size: 7pt;">

was your result and

and you do not understand the ramifications of CSS

"background: red"

then, no, you have not "found the answer"

That is why I suggested that you do find the answers and learn a little
about what you are attempting. My good advice was to let you know that
htmldog's tutorials are good and will help you.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #12  
Old   
dorayme
 
Posts: n/a

Default Re: Overly tall <input type=text> despite setting height. - 03-20-2008 , 01:20 PM






In article
<f410f20c-fdd5-4026-9082-cdf51dd189c2 (AT) 8g2000hsu (DOT) googlegroups.com>
,
test9991014 (AT) yahoo (DOT) com wrote:

Quote:
I experimented
like a "code monkey" and found the answer.
Ah, but thar's the rub. You found something working to your
satisfaction after you did something. But what has been learned?
How much generality?

There is a measure, it will vary somewhat between people, which
is called EEI, it is a measure of the efficiency in the long run
of any strategy for doing something well. The measure records
better results when there is a goodly bit of generalization
involved rather than hitting keys and now and then to get a line
of sense.

--
dorayme


Reply With Quote
  #13  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Overly tall <input type=text> despite setting height. - 03-20-2008 , 01:33 PM



test9991014 (AT) yahoo (DOT) com wrote:
Quote:
On Mar 20, 11:12 am, Toby A Inkster <usenet200... (AT) tobyinkster (DOT) co.uk
wrote:

HTMLDog.com is certainly not that. It's a great tutorial.

It's better than most, I'll agree, but remember
I stated my question was esoteric.

In the end, I did what Jonathan discouraged: I experimented
like a "code monkey" and found the answer.
It doesn't appear that you did.

In your original post you said you get 4 rows of gray pixels. Why would
you have gray at all? You didn't specify anything to be gray (unless you
did it someplace you didn't show us--in which case, you are advised that
when you ask for debugging help, you need to present all the information
you have--if you can't figure it out, how can we, with only a fraction
of the information you have?).

In any event, I have no gray. I created a page with two tables, one with
TDs as in your original post, and one with TDs adjusted as in your
follow-up. In both cases the two tables look identical. So if you had
gray originally, and the gray turned to red when you switched from the
first formulation to the second, then you changed something else to,
whether you're aware of it or not.

In the second place, your original trouble report was that the 10px-high
INPUT boxes were taking up the entire vertical space of the 14px-high
TDs--and then you reported that the INPUT boxes were taking up 10 rows
of pixels, leaving 4 other rows--whether gray or red, it doesn't
matter--which implies that 4 pixels of the TD were above and beyond the
vertical space taken up by the INPUT, contradicting your complaint.

So in the end, I don't know what was really happening on your end, I
don't know what your code really looked like before or after, I don't
know what you changed in the code, and I don't know what it is you think
you fixed or what you think you learned. Let's just say that if
something like this happens again, where you think something is taking
up too much vertical space, and you think the fix is to replace a
bgcolor attribute with a CSS background: red; well, it won't be.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.