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

Reply

HTML - font size in tables

 
Thread Tools Search this Thread
Old 02-24-2004, 05:43 PM   #1
Default font size in tables


Hi,
I am having the problem that the font size tag works only on
text autside tables. whatever font size I set, text in
tables is not affected, even when embedding the font size
parameter in the table-, tr- or td- tag.
so what can I do to change the font size in tables ?

thanx, Helmut



Helmut Blass
  Reply With Quote
Old 02-24-2004, 06:00 PM   #2
Kris
 
Posts: n/a
Default Re: font size in tables

In article <c1g26m$evh$05$>,
Helmut Blass <> wrote:

> I am having the problem that the font size tag works only on
> text autside tables. whatever font size I set, text in
> tables is not affected, even when embedding the font size
> parameter in the table-, tr- or td- tag.
> so what can I do to change the font size in tables ?


There is a better way of dealing with apperance on websites. Forget
<font> tags, use Cascading Style Sheets (CSS).

The following section in your <head>..</head> will help you get started
with solving your problem:

<style type="text/css">
table {
font-size: 100%;
color: #ffffff;
background-color: #222266;
font-family: "Comic Sans", Arial, sans-serif;
}
</style>

A good place to lose your CSS virginity is <http://www.westciv.com/>.

--
Kris
<> (nl)
<http://www.cinnamon.nl/>
  Reply With Quote
Old 02-24-2004, 06:00 PM   #3
Steve R.
 
Posts: n/a
Default Re: font size in tables

Helmut Blass wrote in message ...
> I am having the problem that the font size tag works only on
> text autside tables.


Try this ...

<html>
<head>
<title></title>
</head>
<body>
<center>
<table border="1" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="25%" align="center"><font size="1">tiny</font></td>
<td width="25%" align="center"><font size="2">a bit
bigger</font></td>
<td width="25%" align="center"><font size="3">bigger
still</font></td>
<td width="25%" align="center"><font size="4">large</font></td>
</tr>
<tr>
<td width="25%" align="center"><font size="5">larger
still</font></td>
<td width="25%" align="center"><font size="6">and huge</font></td>
<td width="25%" align="center">&nbsp;</td>
<td width="25%" align="center">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>


  Reply With Quote
Old 02-24-2004, 06:02 PM   #4
Paul Furman
 
Posts: n/a
Default Re: font size in tables

Helmut Blass wrote:

> Hi,
> I am having the problem that the font size tag works only on
> text autside tables. whatever font size I set, text in
> tables is not affected, even when embedding the font size
> parameter in the table-, tr- or td- tag.
> so what can I do to change the font size in tables ?



It should work inside the <td>.

  Reply With Quote
Old 02-24-2004, 08:36 PM   #5
Sid Ismail
 
Posts: n/a
Default Re: font size in tables

On Tue, 24 Feb 2004 18:43:45 +0100, Helmut Blass <>
wrote:

: even when embedding the font size
: parameter in the table-, tr- or td- tag.


explain ?

Sid

  Reply With Quote
Old 02-25-2004, 10:44 AM   #6
Helmut Blass
 
Posts: n/a
Default Re: font size in tables

Sid Ismail wrote:
> On Tue, 24 Feb 2004 18:43:45 +0100, Helmut Blass <>
> wrote:
>
> : even when embedding the font size
> : parameter in the table-, tr- or td- tag.
>
>
> explain ?


<table border="1" font size=1>

<tr font size=1>

<td font size=1>

none of them works.

Helmut

  Reply With Quote
Old 02-25-2004, 11:05 AM   #7
rf
 
Posts: n/a
Default Re: font size in tables


"Helmut Blass" <> wrote in message
news:c1htvl$8ut$06$...
> Sid Ismail wrote:
> > On Tue, 24 Feb 2004 18:43:45 +0100, Helmut Blass <>
> > wrote:
> >
> > : even when embedding the font size
> > : parameter in the table-, tr- or td- tag.
> >
> >
> > explain ?

>
> <table border="1" font size=1>
>
> <tr font size=1>
>
> <td font size=1>
>
> none of them works.


Because none of them are remotely valid HTML.

You have your answers elsewhere in this thread.

Cheers
Richard.


  Reply With Quote
Old 02-25-2004, 11:23 AM   #8
Sid Ismail
 
Posts: n/a
Default Re: font size in tables

On Wed, 25 Feb 2004 11:44:18 +0100, Helmut Blass <>
wrote:

: > : even when embedding the font size
: > : parameter in the table-, tr- or td- tag.
: >
: >
: > explain ?
:
: <table border="1" font size=1>
:
: <tr font size=1>
:
: <td font size=1>
:
: none of them works.


Of course it won't. "font size=1" is not valid.

http://www.goddamn.co.uk/tobyink/?page=150
http://www.w3.org/MarkUp/Guide/
http://tranchant.plus.com/web/html-start
http://www.htmlcodetutorial.com/
http://www.draac.com/
downloadable: http://hakatai.mcli.dist.maricopa.edu/tut/download.html

Sid

  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