Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Fonts in dynamical build html

 
Thread Tools Search this Thread
Old 02-09-2004, 09:26 PM   #1
Default Fonts in dynamical build html


Hi,

I hope somebody can give me a hint:

I would like to build a table with diff. call width and height but in each
cell should come dynamically the same contents. So fare this is working but
when cells become smaller also the text font should become smaller in
proportional to the existing size of the formatted text in the cells.


Michael






Michael Schrading
  Reply With Quote
Old 02-10-2004, 03:14 AM   #2
Mark Parnell
 
Posts: n/a
Default Re: Fonts in dynamical build html

On Mon, 9 Feb 2004 22:26:04 +0100, "Michael Schrading" <>
declared in alt.html:
> when cells become smaller also the text font should become smaller in
> proportional to the existing size of the formatted text in the cells.
>


Why? So that I can't read them any more?

What is it that you are really trying to achieve?

--
Mark Parnell
http://www.clarkecomputers.com.au
  Reply With Quote
Old 02-10-2004, 04:33 AM   #3
Paul Furman
 
Posts: n/a
Default Re: Fonts in dynamical build html

You can size the table relative to the font size using em's instead of
pixels or percent (of-default) but you can't size the text dynamically
except in a pdf or something similar. fonts will quickly become
illegible depending on the user's settings and browser if reduced.


Michael Schrading wrote:

> Hi,
>
> I hope somebody can give me a hint:
>
> I would like to build a table with diff. call width and height but in each
> cell should come dynamically the same contents. So fare this is working but
> when cells become smaller also the text font should become smaller in
> proportional to the existing size of the formatted text in the cells.
>
>
> Michael
>
>
>
>


  Reply With Quote
Old 02-10-2004, 06:30 AM   #4
Michael Schrading
 
Posts: n/a
Default Re: Fonts in dynamical build html

Hi

and thanx for your interested.

> Why? So that I can't read them any more?
>
> What is it that you are really trying to achieve?


Imagine you've got a printed page this page has got a table with 2 rows and
two columns. In there is a text with a font-size of 15px everything is well
reading but then the table formatted should change to 4 rows and 4 columns.
Now the text will break in parts and the font-size seams to be to large so I
would like to change the font-size in such kind of tables! There for...

Michael



  Reply With Quote
Old 02-10-2004, 07:44 PM   #5
Kris
 
Posts: n/a
Default Re: Fonts in dynamical build html

In article <NU_Vb.83$>,
"Michael Schrading" <> wrote:

> > Why? So that I can't read them any more?
> >
> > What is it that you are really trying to achieve?

>
> Imagine you've got a printed page this page has got a table with 2 rows and
> two columns. In there is a text with a font-size of 15px everything is well
> reading but then the table formatted should change to 4 rows and 4 columns.
> Now the text will break in parts and the font-size seams to be to large so I
> would like to change the font-size in such kind of tables! There for...


You have no final control over the user's font-size. You should make the
layout flexible enough to deal with this.

That said, apply a new class to the table. Have the font-size for each
class predefined in your CSS stylesheet.

--
Kris
<> (nl)
<http://www.cinnamon.nl/>
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Forum Jump