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
changing text with css
Old 11-13-2006, 04:35 AM changing text with css
Novice Talker

Posts: 9
Name: Emile
Trades: 0
Hello all,

I hope you can help me out. I have made a text-based site. (http://www.newthinking.nl/) but I am not satisfied with the result. If you read the text of the pages, you have to go from the one end of the screen to the next. I want to shorten the length of the text to make it more readable. Say: from 0 - 100% to 20- 80%. Can this be done with css and how?

Thanks beforehand,
Fireworker is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-13-2006, 08:12 AM Re: changing text with css
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
body {
padding:0 10%;
}
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I 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 11-13-2006, 10:37 AM Re: changing text with css
Novice Talker

Posts: 9
Name: Emile
Trades: 0
I want to apply this to all pages on my website. I have created an mystyle-file that applies to all pages.
It is like this:
.text {
position: absolute;
left: 270px;
top: 120px;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 24px;
font-style: normal;
line-height: normal;
font-weight: bolder;
font-variant: normal;
text-transform: capitalize;

}
.image {
top: 15px;
position: absolute;

}
.line {
position: absolute;
top: 240px;
right: auto;
left: auto;
}

How can I apply the padding to all pages on my website?
Fireworker is offline
Reply With Quote
View Public Profile
 
Old 11-13-2006, 01:19 PM Re: changing text with css
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
add the body style definition into the style sheet.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I 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 11-13-2006, 03:29 PM Re: changing text with css
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
You don't need to put font-style: normal or font-variant: normal, these are default values.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 11-14-2006, 03:39 AM Re: changing text with css
Novice Talker

Posts: 9
Name: Emile
Trades: 0
ty, chrishirst, it works.
Fireworker is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to changing text with css
 

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