Paste in the following code:
/* general page elements */This will put a solid, narrow line on the left of your quote. (See this post for an example.)
blockquote {
border-left: 5px solid #D7F4CE ;
margin-left: 1.5em;
padding-left: 5px;
}
Code like this—
blockquote {
width: 280px;
margin: 0px;
padding: 10px;
margin-left: 40px;
background-color: #fcffe7 }
—changes the background color of the whole quote. (Example here.)
Adding the line, "border:1px solid #0f491c;" will put a border around your quote.
All those px settings and the color choices are adjustable, of course. Tweak away.
2 comments:
Ooh, I always wondered how you got that neat line on the side of your quotes! I'll have to give it a shot! Thanks for sharing it!
AAgh!! I can't get it to work, the margins aren't set right? What px settings did you use and why is it not coming up with a box and background color for me, help!!
Post a Comment