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
background url padding
Old 01-20-2009, 08:14 PM background url padding
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
This is the styling I have for my quote box at my forum:
Quote:
blockquote {
background: #eeeeee url(http://img135.imageshack.us/img135/3...nquoteshb5.png) left top no-repeat;
padding: 5px; font-family: Arial, Verdana; font-size: 10px; font-color: #000000;
}
This works to a certain extent, except that the background image (an open quotes icon) is tight in the top left corner of the quote box. I want to pad it out slighty, say 5px from top and left. But the above code already has padding for the quote text itself. How do I tell it I want to pad the image too?

Thanks
Billy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-20-2009, 08:45 PM Re: background url padding
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Use something like:
Code:
background-position: 5px 5px;
- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 01-20-2009, 08:59 PM Re: background url padding
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
Ah! Thanks very much Stevej. Much obliged.
Billy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to background url padding
 

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