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
How do I get a thin line to appear under a header text?
Old 12-15-2009, 05:04 PM How do I get a thin line to appear under a header text?
pityocamptes's Avatar
Experienced Talker

Posts: 48
Trades: 0
I don't want to underline the text. Basically I have a header (100%), left col (15%), right col (85%), and footer (100%). I want a page title at the top of the right col, just below the header. The page title appears left justified in the right col, and padded-left 50px, and I want a thin line to run from the start of the text all the way to the far right hand side of the page. How would I do this???
__________________
"Skin in behalf of skin. A man will give up everything he owns in exchange for his life. But stretch out Your hand and strike his flesh and bones, and he will surely curse You to Your face."
pityocamptes is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-15-2009, 06:29 PM Re: How do I get a thin line to appear under a header text?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
border-bottom: width style colour;
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-15-2009, 07:20 PM Re: How do I get a thin line to appear under a header text?
pityocamptes's Avatar
Experienced Talker

Posts: 48
Trades: 0
Thanks! Do I use padding to get the line closer to the text? Thanks!
__________________
"Skin in behalf of skin. A man will give up everything he owns in exchange for his life. But stretch out Your hand and strike his flesh and bones, and he will surely curse You to Your face."
pityocamptes is offline
Reply With Quote
View Public Profile
 
Old 12-15-2009, 07:25 PM Re: How do I get a thin line to appear under a header text?
Banned

Posts: 421
Location: Boston, MA
Trades: 1
Quote:
Originally Posted by pityocamptes View Post
Thanks! Do I use padding to get the line closer to the text? Thanks!
you probably have to play with line-height.
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Old 12-16-2009, 03:35 AM Re: How do I get a thin line to appear under a header text?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by pityocamptes View Post
Thanks! Do I use padding to get the line closer to the text? Thanks!
Using padding would move the border further away

If you mean "should I set the bottom-padding to zero then possibly yes. but without actually seeing the page it will only be guesses!
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-17-2009, 05:55 PM Re: How do I get a thin line to appear under a header text?
ArtphotoasiA's Avatar
Extreme Talker

Posts: 245
Location: Italy
Trades: 0
Quote:
Originally Posted by webcosmo View Post
you probably have to play with line-height.

Yes i think this is the correct way........ I just had the same issue..........

Code:
h1{
     font-family:Georgia;
    text-align: right;
    font-size:16px;
    color: #660099;
     margin:0 0 8px 0;
    padding:0 0 4px 0;
    border-bottom:1px solid #f0eeee;
    line-height:40px;
 }
__________________
" the moment, the unique and unrepeatable second "

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


Please login or register to view this content. Registration is FREE
ArtphotoasiA is offline
Reply With Quote
View Public Profile Visit ArtphotoasiA's homepage!
 
Reply     « Reply to How do I get a thin line to appear under a header text?
 

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