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
Possible to say "width:65characters;"?
Old 03-25-2007, 12:16 PM Possible to say "width:65characters;"?
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 201
Trades: 0
Hi,

I know it is not possible to make a CSS statment saying max-width: 65characters;. Non the less this is what I am trying to attcheive!

HTML Code:
p { font-family: Arial, Sans-Serif; font-size: 90%; line-height: 1.225; width: PROBLEM; }
This makes a really easy to read text block, the problem however is that I am trying to limit it to display around 65 characters per line only. Is this possible, and how?
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-25-2007, 12:25 PM Re: Possible to say "width:65characters;"?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You have to define a unit measurement. I line-height of 1.225 WHAT exactly ?
"characters' is NOT a valid unit.

http://www.w3schools.com/css/css_units.asp
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-25-2007, 01:07 PM Re: Possible to say "width:65characters;"?
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 201
Trades: 0
You are wrong. Line-height is value times the value of font-size. In my example it would be 1.225*90%. = line-height: 110%;

However, the point here where the line-width...
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
Old 03-25-2007, 02:49 PM Re: Possible to say "width:65characters;"?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
You might want to define it in terms of em. Not sure if that would work though...I've never tried it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-25-2007, 05:09 PM Re: Possible to say "width:65characters;"?
JoeDavola's Avatar
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by Moldarin View Post
Is this possible, and how?
It's not possible.
JoeDavola is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Possible to say "width:65characters;"?
 

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 0.22366 seconds with 12 queries