Re: Why can"t I change height with <col width="50" height="100">?
am 13.01.2008 17:08:40 von jkorpela
Scripsit Bernd Meier:
> Is there another element for col to change the height?
No.
> 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?
> 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/
Re: Why can"t I change height with <col width="50" height="100">?
am 13.01.2008 23:14:18 von Adrienne Boswell
Gazing into my crystal ball I observed "Bernd Meier"
@yahoo.de> writing in news:fmdbv5$429$1@news.datemas.de:
>>> 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
Re: Why can"t I change height with <col width="50" height="100">?
am 14.01.2008 08:25:26 von GTalbot
On 13 jan, 10:08, "Bernd Meier" wrote:
> 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.
>
>
No doctype declaration. You will trigger modern browsers into quirks
mode, not standards compliant rendering mode.
Using Web Standards in your Web Pages: Making your page using web
standards - how to
http://developer.mozilla.org/en/docs/Using_Web_Standards_in_ your_Web_Pages:M=
aking_your_page_using_web_standards_-_how_to
As others told you, there is no height attribute for . And the
styling the in Internet Explorer 6 and in Internet Explorer 7 is
rather unreliable, prone to layout bugs.
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/#bug25
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/#bug28
Looking for a constrained height on a table is most likely misusing
tables to begin with. Adrienne B. gave you an excellent answer,
exactly the kind of answer I would have given you.
If you want help with your webpage design, then start with providing
us with an url and a short, descriptive, meaningful explanation of
what you are truly trying to achieve, with natural words, not with
code explanations. Maybe you want/need a navigational horizontal list
of 3 links... we don't know..
Otherwise:
Table-based webpage design versus CSS-based webpage design: resources,
explanations and tutorials
http://www.gtalbot.org/NvuSection/NvuWebDesignTips/TableVsCS SDesign.html
CSS webpage templates
http://www.gtalbot.org/NvuSection/NvuWebDesignTips/WebDesign Resources.html#C=
SSWebpageTemplates
CSS webpage templates
http://fabiwan.kenobi.free.fr/css/PageLayout.html
CSS webpage templates
http://fabiwan.kenobi.free.fr/css/PageLayout2.html
KazGarden (CSS webpage templates)
http://www.gimp-werkstatt.de/kaze/
Regards,
G=E9rard