Afficher un message
Vieux 03/04/2008, 17h12   #3
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: texts in same column but different size

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/

  Réponse avec citation
 
Page generated in 0,04665 seconds with 9 queries