HighDots Forums  

Re: Why can't I change height with <col width="50" height="100">?

alt.html alt.html


Discuss Re: Why can't I change height with <col width="50" height="100">? in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Hosking
 
Posts: n/a

Default Re: Why can't I change height with <col width="50" height="100">? - 01-13-2008 , 09:54 AM






Bernd Meier wrote:
Quote:
Why has the value of height no consequences in the below example?
If I change width I get changes but not if I change height.
Because you're making things up.

Prefatory remark 1: Providing a URL is better than posting code, because
1) the URL is usually shorter,
2) the URL lets us see, for example, what doctype you're using, and
3) we can immediately try out your code in our browsers, without
copy-and-paste or guessing from just looking at your code.

Prefatory remark 2: Below I mention the recommmendation for HTML 4.01
because I don't know what you think you're using. No URL, you see.


Quote:
colgroup
col width="50" height="100"
Take a look at the W3C's description of the <col> element at
<http://www.w3.org/TR/html401/struct/tables.html#h-11.2.4.2>.
There is no height attribute for <col>. You've just made it up.

You'd have to specify the width directly to the TDs (and hope for the
best), although in practice you can usually specify width for <TD>
elements in one row, and all the columns in the rest of the table make
similar use of those widths (depending on the actual content, as always).


--
John
Pondering the value of the UIP: http://improve-usenet.org/


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.