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
A couple of wee problems
Old 11-02-2008, 04:14 PM A couple of wee problems
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
On my blog here <adult URL removed > - my font is quite small (7pt). The problem I'm having is increasing it to my desried size. I'm trying to create the font-size used on another blog but the size you see on my blog is slightly smaller. Trouble is, if I go up a size to 8pt, it's then too big. It's almost as though the size I want is 7.5pt, but I know there's no such size. I've tried to identify the font on the other blog, and am pretty sure it's Arial, but I can't replicate its size on my blog. I've tried using persentage to size my font, but still no joy.

Also, how do I stop the border-bottom dividers you see on the sidebar stretching the full width of the table? I want them to come maybe 15% of the way. This is the block of CSS I'm currently using for the border:

.sidebar .widget, .main .widget {
border-bottom: 1px solid #cccccc;
margin:0 0 1.5em;
padding:0 0 1.5em;
}

I thought I just neded to add: border-length: 15%; but that just makes the border disappear altogether.

Thanks in advance.

Last edited by chrishirst; 11-02-2008 at 04:51 PM..
Billy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2008, 04:55 PM Re: A couple of wee problems
Mark Henderson's Avatar
Extreme Talker

Posts: 207
Name: Mark Henderson
Location: Yorkshire
Trades: 0
Have you tried px rather than pt?
__________________

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


Please login or register to view this content. Registration is FREE
- Affordable Web/Graphics Design -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
ify - WHOIS Lookup, reverse IP, traceroute and more!
Mark Henderson is offline
Reply With Quote
View Public Profile Visit Mark Henderson's homepage!
 
Old 11-02-2008, 04:56 PM Re: A couple of wee problems
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
pt are NOT meant for screen resolution. It is a print size

Use px (not really recommended) % or ems for screen font sixes.

there is NO border-length property, borders extend the full width (or height) of the element they apply to
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-02-2008, 06:08 PM Re: A couple of wee problems
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
Ah! Thank you very much, to you both. I will try px and em to see if I can get it how I want.

Thanks again.
Billy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to A couple of wee problems
 

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