Click here to get back home

texts in same column but different size

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
texts in same column but different size Deepan HTML 04-03-2008
Get Chitika Premium
Posted by Deepan HTML on April 3, 2008, 8:27 am
Please log in for more thread options
Hi,
I am having a tag like this

<td>dates (tentative)</td>

where i now want this part "(tentative)" to be in smaller font
size. Can you resolve this?

Posted by Beauregard T. Shagnasty on April 3, 2008, 9:02 am
Please log in for more thread options
Deepan HTML wrote:

> Hi,
> I am having a tag like this
>
> <td>dates (tentative)</td>
>
> where i now want this part "(tentative)" to be in smaller font
> size. Can you resolve this?

<td>dates <span style="font-size: 90%;">(tentative)</span></td>

I would suggest you visit: http://htmldog.com/
Note the sections on CSS.

--
-bts
-Motorcycles defy gravity; cars just suck

Posted by Jukka K. Korpela on April 3, 2008, 12:12 pm
Please log in for more thread options
Scripsit Beauregard T. Shagnasty:

> <td>dates <span style="font-size: 90%;">(tentative)</span></td>

There's little (no pun intended) point in being pseudo-structural when
you can write

<td>dates <small>(tentative)</small></td>

and, if desired, assign a specific font-size to <small> either using
inline CSS (style="..." attribute, as above) or a simple CSS rule
small { font-size: 90%; }
in an external style sheet (or in a <style> element).

There's actually _no_ point in using <span> markup (which causes nothing
when CSS is off), when there is an HTML element that means what you
want, 'smaller font', though not any specific font size.

> I would suggest you visit: http://htmldog.com/
> Note the sections on CSS.

I guess its HTML part is useful too.

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


Similar ThreadsPosted
Three column layout, middle column clear:both; affects other two columns;no tables March 9, 2007, 11:31 pm
Implied width of implied center column in 3 column table June 30, 2008, 4:23 am
Firefox - Prevent TextField size change when user changes font size? October 3, 2006, 6:21 pm
Three column forms with CSS October 23, 2006, 7:29 pm
Manipulating a two-column table? March 8, 2006, 12:09 pm
Hidden column in HTML page October 4, 2004, 7:13 am
multi-column html form July 18, 2005, 7:42 am
freezing column headers with dropdowns December 15, 2005, 5:10 pm
3 column css layout with the middle fixed February 17, 2006, 4:32 pm
Changing Cellspacing in a single column only March 27, 2007, 12:13 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap