HighDots Forums  

texts in same column but different size

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss texts in same column but different size in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deepan HTML
 
Posts: n/a

Default texts in same column but different size - 04-03-2008 , 07:27 AM






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?

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

Default Re: texts in same column but different size - 04-03-2008 , 11:12 AM






Scripsit Beauregard T. Shagnasty:

Quote:
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.

Quote:
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/



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.