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   
David Dorward
 
Posts: n/a

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






Bernd Meier wrote:

Quote:
Why has the value of height no consequences in the below example?
Becuase there is no height attribute for the col element.

Check with the HTML spec at http://w3.org/TR/html4/ and the Markup Validator
at http://validator.w3.org/

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/


Reply With Quote
  #2  
Old   
Bernd Meier
 
Posts: n/a

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






Quote:
Why has the value of height no consequences in the below example?

Becuase there is no height attribute for the col element.
Is there another element for col to change the height?

Or is there no possibility to do it because auf logical reseans?

Because if I would change the cell hights in one column I also have to
change
the cell hights of the next columns?



Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

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



Scripsit Bernd Meier:

Quote:
Is there another element for col to change the height?
No.

Quote:
Or is there no possibility to do it because auf logical reseans?
One might say so. Why would you set the height of columns instead of
simply setting the height of the table?

Quote:
Because if I would change the cell hights in one column I also have to
change
the cell hights of the next columns?
Pardon? Did you expect to change the height of each _cell_ in the
columns?

The practical way to make the cells in a column have the same width is
to use a class="..." attribute for the cell elements and to set the
height of the cells in a style sheet.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #4  
Old   
Adrienne Boswell
 
Posts: n/a

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



Gazing into my crystal ball I observed "Bernd Meier" <ndkwinklask263
@yahoo.de> writing in news:fmdbv5$429$1 (AT) news (DOT) datemas.de:

Quote:
Why has the value of height no consequences in the below example?

Becuase there is no height attribute for the col element.

Is there another element for col to change the height?

Or is there no possibility to do it because auf logical reseans?

Because if I would change the cell hights in one column I also have to
change
the cell hights of the next columns?

Because tables are for tabular data, there really is no reason for a
height attribute - rows expand/shrink to fit their contents, as it
should be. Authors got into the bad habit of using tables for
positioning content - but that is not what tables are for. HTML should
not be presentational - that's what CSS is for.

Unless you have a _very_ good reason for setting height, let the table
do what it supposed to do.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



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.