Mandarin Logo
MainBlogFAQsBox TipsText TricksColor ChartFree GalleryCSS Opacity
TWO CENTS CURRENT ISSUE 2006 WEST SACRAMENTO CALIFORNIA

Blockquotes with Image Quotes

Sometimes we like to add an image to the blockquote style. For this one we added the quote image named quote.gif to the blockquote tag and added the unquote image unquote.gif to the paragraph <p> tag.

This is a blockquote with an image, the beginning quotation mark. We can make it with an end quote too by adding another image named unquote.gif.

We only have to add the style sheet code once. Then we can automatically put the quotes in the blockquote by typing in the class name like this.


<blockquote class="withquote">
<p class="withunquote">
The quote goes here
</p>
</blockquote>

CSS Blockquote in Style Sheet

Copy and paste this CSS in your style sheet.

Copy and paste this in your Blog or Web page.

It will look something like this.

This is a blockquote with an image, the beginning quotation mark. We can make it with an end quote too by adding another image named unquote.gif.

Instant CSS Blockquote with Images

This is inline CSS. This gives instant results if you don't want to add the style to your style sheet. Let's see what happens when we make the quote long enough to make sure that the unquote.gif and the words do not overlap.

Copy and paste this in your Blog or Web page.

It will look something like this.

This is inline CSS. This gives instant results if you don't want to add the style to your style sheet. Let's see what happens when we make the quote long enough to make sure that the unquote.gif and the words do not overlap.

quotefirebrick.gif CSS Blockquote in Color unquotefirebrick.gif

Update: Here are a few more colors. Right-click on the image to save it.

quotefirebrick.gif unquotefirebrick.gif
quoteblack.gif unquoteblack.gif
start_quote_rb.gif end_quote_rb.gif

If any of you have a good selection of blockquotes or the tools to make a good set please share them with us.

Sunday, June 26, 2005     Permalink   EMAIL  


Centered Image Float

We wanted to see how the postcard would look floated in the middle of two columns. We dropped the picture down only 1 pixel from the natural flow. It works in orange and blue flavored browsers.

This is the right side text. Haven't you ever wondered how to center the image in your Blog or Web page and let the text wrap around the image? It's easier than you think. The only calculation is to half the size of your picture, and half the size of the column if you don't want to use the width in the copy and paste code. We are using an image that is 160x239. We see the center float in magazines but not in Blogs. It's easy with the copy and paste code.

We made two columns with two div tags. This is the left side of the two columns with an image that is floating in the center. The left and right columns are both floating with half of the image in the left column and half of the image in the right column. There is only one image and inserting the image is relatively easy. It does look best when each column has about the same amount of text so I am typing a few extra words here on the left side.      


Copy and paste this in your Blog or Web page.

It will look like this.

Centered Image Float

We wanted to see how the postcard would look floated in the middle of two columns. We dropped the picture down only 1 pixel from the natural flow. It works in orange and blue flavored browsers.

This is the right side text. Haven't you ever wondered how to center the image in your Blog or Web page and let the text wrap around the image? It's easier than you think. The only calculation is to half the size of your picture, and half the size of the column if you don't want to use the width in the copy and paste code. We are using an image that is 160x239. We see the center float in magazines but not in Blogs. It's easy with the copy and paste code.

We made two columns with two div tags. This is the left side of the two columns with an image that is floating in the center. The left and right columns are both floating with half of the image in the left column and half of the image in the right column. There is only one image and inserting the image is relatively easy. It does look best when each column has about the same amount of text so I am typing a few extra words here on the left side.       


The copy and paste code will let you see instant results. We are using inline style. The CSS Style for Centered Image Float contains the full CSS.

Friday, June 17, 2005     Permalink   EMAIL  

How to Float Your Boat
In the FAQ page there are a few ways to float your boat. Jeralyn of TalkLeft ran into an older post that needed to be updated. The good part is that she let us know that the floated image with a border wasn't working quite right. It's new and improved now.

This version Float Left with Less Code works well thanks to some tips from JR and Doc Shazam a long time ago. Hey if you click on JR you can see Mr. Sandhill Trek (fp) in color. In an experiment they are exposing Bloggers to direct sunlight. Don't try this at home.

One of the postcard people, Rob in Louisiana, watched Hush... Hush, Sweet Charlotte last night. An old movie where Charlotte is shunned for the grizzly murder of her love, John. Her guilt was never proven, but the murder is like one of a modern-day Lizzie Borden and Charlotte is taunted with cruel rhymes. The song from the movie went something like this.

...And every night after he shall die. Yes every night when he's gone. The wind will sing to you this lullaby. Sweet Charlotte was loved by John...

Hush Hush, Sweet Charlotte
Hush hush, sweet Charlotte
Charlotte, don't you cry
Hush hush, sweet Charlotte
He'll love you till he dies

Oh, hold him darling
Please hold him tight
And brush the tear from your eye
You weep because you
had a dream last night
You dreamed that he said goodbye

He held two roses within his hand
Two roses he gave to you
The red rose tells you of his passion
The white rose his love so true

And every night after he shall die
Yes every night when he's gone
The wind will sing to you this lullaby
Sweet Charlotte was loved by John


The pullquote (or pullout) is flexible and coded to fit your page. We used font-size:large;. You can change the large to small. Change the font size to any size including small, normal, large, x-large and more. The width here is 130px. To make it more narrow change 130px; to 100px. It's all adjustable.


Copy and paste this in your Blog or Web page.

It will look like this.

...And every night after he shall die. Yes every night when he's gone. The wind will sing to you this lullaby. Sweet Charlotte was loved by John...

YOUR TEXT GOES HERE. TYPE AS MUCH AS YOU WANT.


Things you can change

  1. Background color #882D00.
  2. Text Color darkorange
  3. Width 130px
  4. Font Size font-size:large;

Monday, June 13, 2005     Permalink   EMAIL  

Lay Color Over an Image Using CSS

This is the same image repeated with transparent color put over the image using CSS. There is no change to the image itself. It's all done with CSS and it's easy to do.

We did it here by adding one line of code defining the level of opacity and the color to use in the background.

<td style="background:orangered; filter:alpha(opacity=30);opacity:.30;"></td>

Use a Table to apply Opacity Overlay

  1. Make the image the table background.
  2. Add color and opacity to the TD.

We defined the table to be 160 X 239, the same size as the image. But, any width and height will work. The image repeats if there is room, if the defined width and height are smaller than the image then only the defined size will display. We used opacity to lay color the orangered over the image.

Overlay Image with color:orangered

Original Postcard Image

Copy and paste this in your Blog or Web page

It will look like this.

Code you can change.

  1. Change the background image name from postcard1.jpg to the name of your image.
  2. Change the color orangered to any named color.
  3. Change the opacity. We used 30%. You can use 10 or 20 or 90.
  4. Change the border or remove it.

Why We Used a Color Overlay

Why would you want to apply opacity over an image? For us it is simply so that we can save download time. We have paid the price in load time the first time the image is displayed. Now, each time we reuse the image it's in cache and is nearly free in load time. We can repeat the same image a number of times and the page should still load fast. Also, our original scan is not a quality scan and we may be able to hide that with a color overlayed on top of the postcard1.jpg image.

Notice that the table border does not have opacity applied. The opacity is only applied to the table data TD tag.

Example of Overlay Colors

background:lightseagreen
background:chartreuse
background:crimson
background:orange
background:black

There's more about Opacity and colors in the tutorial CSS Opacity Color Tips and Tricks and in CSS Opacity Applied to Background.

Named Web Colors

We can use the same postcard1.jpg image as a background to the named color table to take a quick peek at how each color looks overlaid over the image.

Overlay Image With Named Colors
40% Opacity
aliceblue
#F0F8FF
antiquewhite
#FAEBD7
aqua
#00FFFF
aquamarine
#7FFFD4
azure
#F0FFFF
beige
#F5F5DC
bisque
#FFE4C4
black
#000000
blanchedalmond
#FFEBCD
blue
#0000FF
blueviolet
#8A2BE2
brown
#A52A2A
burlywood
#DEB887
cadetblue
#5F9EA0
chartreuse
#7FFF00
chocolate
#D2691E
coral
#FF7F50
cornflowerblue
#6495ED
cornsilk
#FFF8DC
crimson
#DC143C
cyan
#00FFFF
darkblue
#00008B
darkcyan
#008B8B
darkgoldenrod
#B8860B
darkgray
#A9A9A9
darkgreen
#006400
darkkhaki
#BDB76B
darkmagenta
#8B008B
darkolivegreen
#556B2F
darkorange
#FF8C00
darkorchid
#9932CC
darkred
#8B0000
darksalmon
#E9967A
darkseagreen
#8FBC8B
darkslateblue
#483D8B
darkslategray
#2F4F4F
darkturquoise
#00CED1
darkviolet
#9400D3
deeppink
#FF1493
deepskyblue
#00BFFF
dimgray
#696969
dodgerblue
#1E90FF
firebrick
#B22222
floralwhite
#FFFAF0
forestgreen
#228B22
fuchsia
#FF00FF
gainsboro
#DCDCDC
ghostwhite
#F8F8FF
gold
#FFD700
goldenrod
#DAA520
gray
#808080
green
#008000
greenyellow
#ADFF2F
honeydew
#F0FFF0
hotpink
#FF69B4
indianred
#CD5C5C
indigo
#4B0082
ivory
#FFFFF0
khaki
#F0E68C
lavender
#E6E6FA
lavenderblush
#FFF0F5
lawngreen
#7CFC00
lemonchiffon
#FFFACD
lightblue
#ADD8E6
lightcoral
#F08080
lightcyan
#E0FFFF
lightgoldenrodyellow
#FAFAD2
lightgreen
#90EE90
lightgrey
#D3D3D3
lightpink
#FFB6C1
lightsalmon
#FFA07A
lightseagreen
#20B2AA
lightskyblue
#87CEFA
lightslategray
#778899
lightsteelblue
#B0C4DE
lightyellow
#FFFFE0
lime
#00FF00
limegreen
#32CD32
linen
#FAF0E6
magenta
#FF00FF
maroon
#800000
mediumaquamarine
#66CDAA
mediumblue
#0000CD
mediumorchid
#BA55D3
mediumpurple
#9370DB
mediumseagreen
#3CB371
mediumslateblue
#7B68EE
mediumspringgreen
#00FA9A
mediumturquoise
#48D1CC
mediumvioletred
#C71585
midnightblue
#191970
mintcream
#F5FFFA
mistyrose
#FFE4E1
moccasin
#FFE4B5
navajowhite
#FFDEAD
navy
#000080
oldlace
#FDF5E6
olive
#808000
olivedrab
#6B8E23
orange
#FFA500
orangered
#FF4500
orchid
#DA70D6
palegoldenrod
#EEE8AA
palegreen
#98FB98
paleturquoise
#AFEEEE
palevioletred
#DB7093
papayawhip
#FFEFD5
peachpuff
#FFDAB9
peru
#CD853F
pink
#FFC0CB
plum
#DDA0DD
powderblue
#B0E0E6
purple
#800080
red
#FF0000
rosybrown
#BC8F8F
royalblue
#4169E1
saddlebrown
#8B4513
salmon
#FA8072
sandybrown
#F4A460
seagreen
#2E8B57
seashell
#FFF5EE
sienna
#A0522D
silver
#C0C0C0
skyblue
#87CEEB
slateblue
#6A5ACD
slategray
#708090
snow
#FFFAFA
springgreen
#00FF7F
steelblue
#4682B4
tan
#D2B48C
teal
#008080
thistle
#D8BFD8
tomato
#FF6347
turquoise
#40E0D0
violet
#EE82EE
wheat
#F5DEB3
white
#FFFFFF
whitesmoke
#F5F5F5
yellow
#FFFF00
yellowgreen
#9ACD32

Overheard: Stu pointed us to Copyscape where you can see who is copying your page. Cool! All that work to make the darn color chart and people are actually using it. Whew. And did you notice that Stu is not hyperlinked? I think the flattery is in that we know one another well enough that we don't have to hyperlink. That's close friends (or an attempt to annoying Stu).

New postcards in...

Wednesday, June 08, 2005     Permalink   EMAIL  

Archives

2006: J F M A M J J A S O N D

2005: J F M A M J J A S O N D

2004: J F M A M J J A S O N D

Mandarin Design
"For people who make mistakes"

HTML and CSS Examples
Popular Blog Code
TIPS and TRICKS

Magazine style is easy with simple copy and paste code for styled drop caps, small pullquotes, new orange pull quotes,
...this will look like some of the pullquotes and styles we see in magazinelayout...
opacity pullquotes, and easy pull quotes. A magazine cover and highlights are served cut and paste style in Text Tricks. Add Polaroid borders, triple borders, and float pictures left and right the easy way with tips and tricks in the Box Tips and FAQ sections.



Search WWW Mandarin

THEBLOGS!

April Quilt The Quilt People...October 2004 The Quilt People...April 2004 Deaf Blogger Sign In The Quilt People...November 2003 including the Women and Tech Blog Prom The Quilt People...October 2003  Women and Tech Blog Prom
NEW SITES COMING IN


000000330000660000990000CC0000FF0000
003300333300663300993300CC3300FF3300
006600336600666600996600CC6600FF6600
009900339900669900999900CC9900FF9900
00CC0033CC0066CC0099CC00CCCC00FFCC00
00FF0033FF0066FF0099FF00CCFF00FFFF00
00FF3333FF3366FF3399FF33CCFF33FFFF33
00FF6633FF6666FF6699FF66CCFF66FFFF66
00FF9933FF9966FF9999FF99CCFF99FFFF99
00FFCC33FFCC66FFCC99FFCCCCFFCCFFFFCC
00FFFF33FFFF66FFFF99FFFFCCFFFFFFFFFF
00000000330000660000990000CC0000FF00
00003300333300663300993300CC3300FF33
00006600336600666600996600CC6600FF66
00009900339900669900999900CC9900FF99
0000CC0033CC0066CC0099CC00CCCC00FFCC
0000FF0033FF0066FF0099FF00CCFF00FFFF
3300FF3333FF3366FF3399FF33CCFF33FFFF
6600FF6633FF6666FF6699FF66CCFF66FFFF
9900FF9933FF9966FF9999FF99CCFF99FFFF
CC00FFCC33FFCC66FFCC99FFCCCCFFCCFFFF
FF00FFFF33FFFF66FFFF99FFFFCCFFFFFFFF
0000000000330000660000990000CC0000FF
3333003333333333663333993333CC3333FF
3366003366333366663366993366CC3366FF
3399003399333399663399993399CC3399FF
33CC0033CC3333CC6633CC9933CCCC33CCFF
33FF0033FF3333FF6633FF9933FFCC33FFFF
3300003300333300663300993300CC3300FF
6600006600336600666600996600CC6600FF
9900009900339900669900999900CC9900FF
CC0000CC0033CC0066CC0099CC00CCCC00FF
FF0000FF0033FF0066FF0099FF00CCFF00FF
3333003333333333663333993333CC3333FF
6666006666336666666666996666CC6666FF
9999009999339999669999999999CC9999FF
CCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF
FF0000FFFF33FFFF66FFFF99FFFFCCFFFFFF
000000333333666666999999CCCCCCFFFFFF

Blog Tips, Tricks, and Cheats

Magazine Style: The Joy of CSS
The joy of CSS. Here we are using font sizes, margins, floats, and line height to position the text exactly where we want it. Copy and paste code is here.

Image of code in IE and Mozilla
MAKE A LOGO
MAKE A BANNER OR LOGO NOW
Make Your Own Banner
Make Your Own Logo
LINK TO MANDARIN
ADJUSTABLE TEXT LINK

You don't need images to link to us.

Blog Trashed by Mandarin

Copy and paste this in your page.

It will look like this.

Blog Trashed by Mandarin

You are welcome to take this text link. Fiddle with it and make it your own. Or, you can post it exactly as it is.

Recent Tips and Tricks


January 2006
CSS Float - float image and caption to the left.


February 2006
Copy and paste call outs and CSS opacity borders.


March 2006
CSS Classes
Referencing multiple CSS classes to make a box float.


April 2006
Magazine style CSS and Alphabet blocks for added unique Blog style.


CSS Classes
Referencing multiple CSS classes to make a box.


Polairoid Border
The Polaroid border is served copy and paste style.


Fashion Colors
The latest Web fashion colors.


Magazine Style
Magazine style cover image with a rainbow insert.

MANDARIN MAIN PAGE


More Free Tips and Tricks on the Mandarin Main Page Click Here


THE END

Michelle and Rob Wooliscroft

own and operate this site. Phone 916-371-6977 for more information.
MAIN BLOG FAQs CSS:Boxes TRICKS About CSS Style Color Chart GALLERY PureText
Validate HTML Validate Style Sheet Elements of Style Yahoo Buzz Google Zeitgeist Lycos 50 W TP TP2 TF Technorati Sitemeter
Mandarin Archives 2006: J F M A 2005: J F M A M J J A S O N D   2004: J F M A M J J A S O N D  
Clean PC Banners Free Banners Tag Board Gator ColdFusion Fade Images Refer Grouping Web Help Drop Caps
This work is licensed under a Creative Commons License