Jump to content


Photo

Text in table (font size)


  • Please log in to reply
2 replies to this topic

#1 esahp

esahp
  • Members
  • PipPip
  • Member
  • 28 posts
  • LocationUSA

Posted 26 September 2006 - 07:43 AM

I can't figure out how to change the font size of the text inside of a table. Tried sticking font tags inside of <table> and </table> and tried an external css style sheet. Neither worked.

To obtain peace and quiet, get a Phoneless Cord.


#2 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 26 September 2006 - 09:04 AM

use css...

table {
font-size: 0.9em;
}

or u can specifiy which elements..

th {
font-size: 1.2em;
}

td {
font-size: 0.8em;
}
follow me on twitter @PHPsycho

#3 esahp

esahp
  • Members
  • PipPip
  • Member
  • 28 posts
  • LocationUSA

Posted 26 September 2006 - 04:12 PM

That worked, thanks.

To obtain peace and quiet, get a Phoneless Cord.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users