a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Body text size problem

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Body text size problem
Page: [1]
 
Chimpanzee

 

Posts: 3
Joined: 5/22/2005
Status: offline

 
Body text size problem - 5/25/2005 18:02:56   
I am new to CSS.

I am using external style sheets to make my site more accesible by letting users increase the font size.

I have made a new CSS file and changed font size values to make them larger. I have changed the sizes of my headers and other tags and these work fine but i cannot get the body size to change. i've tried all of these tags:


body         { font-family: Trebuchet MS; color: #2E2E2E; font-size: 16pt }
body         { font-family: Trebuchet MS; font-size: 16pt; color: #2E2E2E }
body         { font-size: 16pt; font-family: Trebuchet MS; color: #2E2E2E }

i've tried changing the font-family and color attributes and these work. i just cannot figure out what's wrong.

any suggestions.... PLEASE????????
Kitka

 

Posts: 2520
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: Body text size problem - 5/25/2005 20:56:07   
It is possible that if you are using tables for formatting, you will need to include td in the style

e.g. body, td { font-family: Trebuchet MS; color: #2E2E2E; font-size: 16pt; }

Also, you can express the same thing in a form of shorthand:

body, td { font: 16pt Trebuchet MS; color: #2E2E2E; }

See here for an example:
http://www.w3schools.com/css/tryit.asp?filename=trycss_font

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to Chimpanzee)
d a v e

 

Posts: 4194
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: Body text size problem - 5/25/2005 23:58:44   
if you're still stuck then post a url to the page :)

_____________________________

David Prescott
Gekko web design

(in reply to Kitka)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Body text size problem
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts