PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.html > texts in same column but different size
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
texts in same column but different size

Réponse
 
LinkBack Outils de la discussion
Vieux 03/04/2008, 13h27   #1
Deepan HTML
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut texts in same column but different size

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?
  Réponse avec citation
Vieux 03/04/2008, 14h02   #2
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: texts in same column but different size

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
  Réponse avec citation
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
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h20.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07563 seconds with 11 queries