Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 07-22-2010, 06:10 AM CSS text size ??
Experienced Talker

Posts: 49
Trades: 0
HI,
I am trying to increase the text size of the general body text, but cant find it anywhere. Any ideas?

usually I find it in the general section


CAnt post full CSS file here as its too long, copied it to

http://textsave.de/?p=28895

please look and help me with this, I've wasted over an hour scowering the code
dimensio is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-22-2010, 06:14 AM Re: CSS text size ??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Just set a size in a stylesheet
Code:
body {
   font-size:1em;
}
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-22-2010, 06:18 AM Re: CSS text size ??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
please look and help me with this, I've wasted over an hour scowering the code
There is TWO instance of the body font size being set in the first 20 or so lines.


or are you looking for a text-size rule?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-22-2010, 06:22 AM Re: CSS text size ??
Experienced Talker

Posts: 49
Trades: 0
not working. also tried changing height from 20 - 25 but that just changed the spacing between lines

maybe I am adding it to the wrong section?
dimensio is offline
Reply With Quote
View Public Profile
 
Old 07-22-2010, 06:36 AM Re: CSS text size ??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
/* ——- 2. General ——- */

body{color:#666;font-size:12px;}
h1,h2,h3,h4,h5,h6,th,blockquote,.top_metadata,.dat e,.cancel-comment-reply a,#blurb,.bottom_metadata,span.current_crumb,
12px ISN'T very big.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-22-2010, 06:53 AM Re: CSS text size ??
Experienced Talker

Posts: 49
Trades: 0
Excellent. Thanks. fixed.

forgot to try my usual trick of measuring the font size in an image editor then searching the css for that size.

changed it to 16
dimensio is offline
Reply With Quote
View Public Profile
 
Old 07-22-2010, 07:21 AM Re: CSS text size ??
Junior Talker

Posts: 3
Name: Midjin
Trades: 0
The more complicated answer is that setting font sizes involves not only the mechanics of doing so, but also the advisability of various approaches. For example, if you set all of your text with pixels, you could prevent many users from being able to resize the text (see the entry Force Font Size. Some authors argue that text should not be free to be resized anyway, nor should it be based on the user's default font size (which many designers dismiss as being "way too big and ugly"). The flip side of the debate holds that the user's default settings should always be honored, and that while text can be sized, it should be sized relative to the user's settings. This school of thought, which advocates the use of percentage and em-based font-size values, points out the inherent accessibility advantages of relatively-sized text, which can be easily resized by the user.

h1 {font-size: 150%;
h2 {font-size: 1.5em;} /* same as 150% -- see [[ Using Ems ]] */
h3 {font-size: 18px;} /* a bad idea! see [[ Using Pixels ]] */
h4 {font-size: 12pt;} /* a bad idea! see [[ Using Points ]] */
h5 {font-size: 1ex;} /* approximately same as 0.5em */
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
midjin85 is offline
Reply With Quote
View Public Profile Visit midjin85's homepage!
 
Old 07-22-2010, 08:49 AM Re: CSS text size ??
Experienced Talker

Posts: 49
Trades: 0
nah, old outdated information.

firefox, internet explorer 8, safari, opera all use whole page zoom, which is why they zoom the images as well. so you can zoom in just fine on all pages.

using default text size is far far from common practice. My websites get over 400,000 unique visitors a month and havent had any requests for better usability.
dimensio is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS text size ??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.05116 seconds with 12 queries