|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
Join Date: Nov 2003
Location: NJ
Posts: 855
|
HTML queston-please dont move.
Please dont move this thread because hardly anyone reads the HTML forum.
How do I change the font settings in a table? I have the font settings to size=+2 and also bold, but It only affects the text not in the table. However the text in the table is the font style I set it to. How come I can change the font stlye but not the size or bold it? |
|
|
|
|
|
#2 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
You can either use style sheets to define the styles that you want to set within your Table definions,
for example in your CSS include the following definitions: PHP Code:
PHP Code:
Moderator note: We move threads out into the appropriate forums for a number of reasons, a lot of it has to do with organizing the information stored appropriately by the sections. If we just wanted everybody to throw out a bunch of questions on one forum, then we wouldnt have all these classifications. |
|
|
|
|
|
#3 |
|
Member (10 bit)
Join Date: Nov 2003
Location: NJ
Posts: 855
|
Heres what I did:
PHP Code:
And how do I bold it? Last edited by Force Flow; 03-01-2005 at 02:03 PM. |
|
|
|
|
|
#4 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Post your code in PHP tags. It messes up the page if you do straight out html.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#5 | |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Quote:
b) There is no font-size attribute as +2; font-size can be defined either in "relative values" like xx-large, x-large, large, medium, small, x-small, xx-smaller or as absolute values like 12px or 14px; or you may use percentages as 200% example: PHP Code:
http://www.htmlhelp.com/reference/css/properties.html is a good repository of your options. |
|
|
|
|
|
|
#6 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
A more in depth view on CSS is given at A list apart.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|