Mandarin Logo
MainBlogFAQsBox TipsText TricksColor ChartFree GalleryCSS Opacity
TWO CENTS CURRENT ISSUE 2005 | JUL | AUG | SEP | OCT WEST SACRAMENTO CALIFORNIA
a decorative square

Free Gallery: Spare Squares

Free pictures and images for your Blog or Web page. All Mandarin images and pictures here and in the Gallery can be used without permission. Right-click to copy the images or use the copy-and-paste code to link to an image.

Back to Gallery  

a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square m1.gif m1.gif m1.gif m1.gif m1.gif m1.gif m1.gif m1.gif m1.gif a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square orange1.gif orange1.gif orange1.gif orange1.gif orange1.gif orange1.gif orange1.gif orange1.gif

The rand1.jpg - rand9.jpg that change look like this today.

Front Page Squares Today

Web and Blog Design Studio

Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Boxes and Borders Click this picture to Enter Blog Click this picture to Go to the Blogger QUILT Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Click this picture to Enter Blog Frequently Asked Questions

Link URL   Last Updated: Friday, May 26, 2006
BACK TO TOP
BACK TO TOP

Link URL   Last Updated: Friday, May 19, 2006
BACK TO TOP

Link URL   Last Updated:
BACK TO TOP

Code Your Own Art

Opacity 70 percent
Coding is an Art

Can we make code look like art?
Coding is an art. Fiddle with it. Replace the backyard.jpg and calla.jpg photographs with your own. Any pictures will work. Each is your own original work of art. Show us your stuff. Especially the mistakes.

Two pictures
We used two pictures to make our own art using the Opacity filter. The code overlays one picture with another picture. The code will work with any two images.

Screen capture of Opera, Mozilla, and IE

Triple the pleasure
That's a screen shot that shows how the Opacity filter (this code) behaves in Opera, Mozilla Firefox, and IE on this PC. Your mileage may vary.


Link URL   Last Updated: Friday, May 05, 2006
BACK TO TOP

Mozilla and Opera fall apart on border.
The Polariod border code doesn't work because they are getting confused on the solid border (darn, that looked so good in IE).

Can we add a fully opaque border?
Opacity 70 percent
Can we make it look like art?

It is art. Fiddle with it. Replace the images or photographs with your own. Any pictures will work. Each is your own original work of art. Show us your stuff. Especially the mistakes.

Can I put the Polariod Border around it?

Let's try using the Polaroid Border code.

We would usually put the class="polaroid" on the img tag. But we are using background images only. Let's try adding an outer div like this
<div class="polaroid">
and the copy and paste code goes here
</div>

The polaroid border code assumes some width associated with the image. So, we have to explicity tell it the width.
style ="width:350px;"
to the <DIV class="polaroid">

Opacity 70 percent
Coding is an Art



Opacity 70 percent
This is 250 pixels wide



END OF WHERE Mozilla and Opera fall apart on the Polariod border code


Link URL   Last Updated:
BACK TO TOP

To start we need two images. Photographs, squares, any image. It can be a .gif, .jpg, .png, or any other type of image you might have readily available.

If you don't have a spare image or photograph we have a bunch of spare squares you can use.

Does Opacity work in all browsers?

Yes. Opacity works in current versions of IE, Firefox, and Opera. It's part of CSS3 but it works in every browser we have tested.

Double Opacity Overlay
Cool. That was a mistake gone right. The original intent was to use CSS3 Opacity to overlay the word mistake over an image. Like this.

example

Instead, we laid a plain .gif image over a .jpg image with opacity applied to the .gif and to the text. A double overlay.

Any two images or photographs will work. The file type doesn't matter. The width and height of the image doesn't matter. To use this code insert your own image names where we have scribblelogo.jpg and 20ways.gif You can use the actual width and height of your image if you want but it isn't necessary since the image is just a background. It's kind of fun to plug in random images and find some cool effect. Since the images are backgrounds they will automatically take off part of the image or repeat the image to fill the extra space. Try it.

Your Logo Here 1

YOUR LOGO HERE!

Your Logo Here 2

YOUR LOGO HERE!

Your Logo Here 3

YOUR BANNER HERE!

Your Logo Here 4

YOUR BANNER HERE!

Your Logo Here 5

YOUR BANNER HERE!

Your Logo Here 6

YOUR BANNER HERE!

Your Logo Here 7 Opacity 70

Opacity 70 says show 70% of our text and calla.jpg image.

We want to see 30% of the background image named backyard5.jpg.


Calla

backyard5.jpg

Opacity 70 percent

Transparent .gif

This one with galleryhead.gif must be a transparent .gif image. It's an interesting effect. Not what we expected but interesting.


backyard5.jpg

galleryhead.gif

Opacity 70 percent

We added the background color black here

Opacity 70 percent

Your Logo Here 8

YOUR BANNER HERE!

Your Logo Here 9

YOUR BANNER HERE!

Your Logo Here 10

YOUR BANNER HERE!


Link URL   Last Updated:
BACK TO TOP

TAME THE WILD SEND OUT SOME ATTITUDE


Link URL   Last Updated: Wednesday, May 03, 2006
BACK TO TOP

Link URL   Last Updated:
BACK TO TOP

background 20ways.gif with opacity 60

TAME THE WILD SEND OUT SOME ATTITUDE

background calla.jpg opacity 30

TAME THE WILD SEND OUT SOME ATTITUDE


Link URL   Last Updated:
BACK TO TOP
There must be something worth quoting
Somebody
This is where we test styles, html, stuff that we might want to see before we post it in the Mandarin Blog. You found it! The hidden treasure that Google indexes. Sorry about that.

Link URL   Last Updated: Sunday, April 30, 2006
BACK TO TOP
This black text has 50% opacity applied
This black text has 50% opacity applied

Link URL   Last Updated: Friday, April 21, 2006
BACK TO TOP

Link URL   Last Updated:
BACK TO TOP

This is the AJAX LINK

Does it have to be an iframe? Black border?

see if this looks better...


Link URL   Last Updated: Wednesday, April 12, 2006
BACK TO TOP


Temos vergonha de admitir que há fome em Portugal,
diz o padre Agostinho Jardim Moreira. Numa altura em que nos entretemos a questionar sobre a necessidade do TGV e da Ota, em que receamos os efeitos da crise e da recessão, se calhar não "apetece" falar da pobreza e menos ainda da fome
Mas são mais de 200 mil, dizem os números oficiais, a que não se junta a fome que não se vê. O padre Agostinho Moreira, enquanto sacerdote e presidente da Rede Europeia Antipobreza/Portugal, convive diariamente com esta realidade. E fala-nos dela, do que se tem feito para a combater e da pouca solidariedade dos portugueses.



Há anos que o número oficial da fome em Portugal se mantém nos "mais de 200 mil" e o da pobreza nos "dois milhões", mas todos sabemos que tanto um como outro estão longe da realidade.
São, são muitos mais os pobres e os que têm fome, só que o número real dificilmente o saberemos. Os números são os mesmos porque a gente não quer mudar nada. Ainda não houve vontade, nem da parte da sociedade civil nem dos políticos, de resolver o problema.
Envergonha-nos assumir que no nosso país há fome?
Envergonha-nos muito e é por isso que não queremos admitir... Em 1990, quando comecei a andar por Bruxelas por causa da rede [Europeia Antipobreza/Portugal], nem havia pobres nem havia desempregados no nosso país.
De que fome se fala quando se fala em 200 mil?
Apenas da fome mais visível, dos que procuram as instituições. É a fome dos sem-abrigo; é a fome dos idosos que vivem isolados e em condições mínimas de subsistência, sobrevivem com umas bolachas e um copo de leite... Depois há a fome envergonhada e sobre essa não há estatísticas.
Acredita mesmo que é um problema com solução?
Claro que sim, porque o problema não é a falta de géneros nem de produtos alimentares. Quantos agricultores deitam fora o excesso de produção porque a União Europeia decidiu que deviam produzir menos? E também não é a falta de riqueza; ela existe, está é mal distribuida.
O que sugere?
Há várias coisas que faltam, entre elas uma mentalidade diferente. No caso das crianças, falta uma política de educação... no caso dos idosos, é importante aumentar as pensões.
Isso remete-nos uma vez mais para a questão das oportunidades e da inserção social...
Os políticos, neste momento, estão reféns dos grandes grupos económicos. O objectivo é o lucro e o lucro dá poder. As pessoas, se vivem bem ou não, isso é secundário. As pessoas são apenas instrumentos ao serviço da economia. Ainda por altura da Expo'98 dizia-me um senhor importante: "Não se esqueça de que todos os impérios se fizeram à custa de escravos". Ora, se a mentalidade que preside é construir à custa da exploração ou de baixos salários, não importa, o que importa é que se construa.
Continua a pensar que em Portugal só existe fado, futebol e Fátima?
Não vejo muito mais. Agora até vejo pior: desencanto.
in Notícias Magazine do JN.


Link URL   Last Updated: Saturday, March 11, 2006
BACK TO TOP
" Love
does not consist
in gazing at
each other
but in looking
together
in the same
direction."
- Antoine De Saint-Exuper
" Love
does not consist
in gazing at
each other
but in looking
together
in the same
direction."
- Antoine De Saint-Exuper

Link URL   Last Updated: Monday, February 13, 2006
BACK TO TOP
e b a Y


Link URL   Last Updated: Saturday, October 22, 2005
BACK TO TOP
e b a Y


Link URL   Last Updated:
BACK TO TOP
e b a Y
IE wants some padding. Truncating the top and bottom.

Link URL   Last Updated: Friday, October 21, 2005
BACK TO TOP
PlayingWithColor
Hot NEW
Color Combinations

Copy and paste this in your Blog or Web page.

It will look like this.

PlayingWithColor
Hot NEW
Color Combinations

Don't fight the browser ...

We like to go with the flow of the browser and not fight it. We don't trick it or add any hacks. The text lands where the browser tells it to land and we help the browser by telling it explicitly how big we want the text and where we want to place it. Mozilla thanks us, IE thanks us, Opera sometimes ignore us but we all get along well enough to play together.

CSS Box

PlayingWithColor
Hot NEW
Color Combinations

Copy and paste this in your Blog or Web page.

It will look like this.

PlayingWithColor
Hot NEW
Color Combinations

Everything in CSS is box. We can add a border to the element to see how each box is rendered.

CSS width:375px;margin:0 auto

The width:375px;margin:0 auto automatically centers the outside box that contains the text. The browser needs to know the width of the box in order to calculate the center.

The text-align:center centers the text inside of the box.

CSS line-height

We are using font sizes in pixels with explicit line heights to control the amount of space above and below the text.

CSS letter-spacing

Color Combinations

To get the letters tighter together we use letter-spacing with a negative number like this letter-spacing:-2px;.


Color Combinations

CSS div

Each line of text is a new div. We could use a paragraph but the CSS style is more consistent between browsers when we use the div. We are controlling the natural placement of the text with explicit margin settings.

CSS Color

Browsers allows us to use recognized color keyword names. We made our own Color Name Chart for ease in matching hexadecimal and rgb colors to the similar color name.

For this color exploration we started out with sampled hexadecimal colors and then found a good color name substitute.

Color E84148
Color crimson

Color B6D752
Color yellowgreen

Color 4FA4A6
Color cadetblue

Color 59B5E7
Color steelblue

Color BA3C30
Color brown

Link URL   Last Updated: Sunday, September 25, 2005
BACK TO TOP

Full instructions for making the first letter big are in the Drop Cap copy and paste style tutorial. For this drop cap we forced the first big letter to span more than five lines. The font-size is adjusted to exactly 100 pixels while the line height is 80 pixels.

I stole the color combination here from petrow23 then realized that the color is red, not orange like it looks here on my screen. The background color makes this look good. Amazing how the color changes when put on a colored background. Just playing around here with colors.

This background color looks awesome and it's easy to remember 224455 or 245.

Link URL   Last Updated: Thursday, September 01, 2005
BACK TO TOP

Link URL   Last Updated: Thursday, August 18, 2005
BACK TO TOP

This is the CSS you are using.

.dropcap {
         float: left;
         width: 18px; 
         line-height: 25px;
         color: black;
         padding-top: 4px;
         padding-right: 4px;
         font-size: 36px;
         height: 36px; 
         font-weight: bold;   
         font-family: Comic Sans MS, Verdana, Arial, sans-serif;
         }

Remove the width:18px; and the height: 36px;.
This style will work in Mozilla and IE.

.dropcap {
         float: left;
         line-height: 25px;
         color: black;
         padding-top: 4px;
         padding-right: 4px;
         font-size: 36px;
         font-weight: bold;   
         font-family: Comic Sans MS, Verdana, Arial, sans-serif;
         }

Drop Cap

We left from Ken's house at 8:30 a.m. Except for gas and a quick meal at Taco Bell we drove straight through to Grand Portage and arrived at midnight (1:00 a.m. Eastern). We had no trouble finding the boat dock this time because they put up a bigger sign that was much easier to see in the middle of the night. We found a parking space in the upper lot and then walked down to dock. It was pretty cool and breezy but it felt good to stretch my legs after the long ride. The boat would not be leaving for Isle Royale until 8:00 a.m. but we had to be at the dock by 7:30 a.m. to present our reservations and have our gear loaded. It was still several hours before we had to be at the dock so we went back to the car to get some sleep.

Take a look at Dropcaps Tutorial for more examples. The font Times works well. If there's anything missing from the tutorial or that doesn't work at your place let me know. Thanks.


Link URL   Last Updated: Wednesday, August 17, 2005
BACK TO TOP
20 + ways
Blog
TO PLAY IN YOUR

The joy of CSS. Here we are using font sizes, margins, floats, and line height to position the text exactly where we want it.



Link URL   Last Updated: Saturday, March 12, 2005
BACK TO TOP
Secrets
of Magazine Style

The Joy of CSS

Screen print in IE and Mozill Firefox Mozilla Firefox and IE look the same

20 + ways
Blog
TO PLAY IN YOUR

The joy of CSS. Here we are using font sizes, margins, floats, and line height to position the text exactly where we want it. The browsers don't handle the code exactly the same but one style will suit some while the other style will suit others. The differences are nits. I think.


Copy and paste this in your Blog or Web page.

It will look like this.

20 + ways
Blog
TO PLAY IN YOUR

The joy of CSS. Here we are using font sizes, margins, floats, and line height to position the text exactly where we want it. The browsers don't handle the code exactly the same but one style will suit some while the other style will suit others. The differences are nits. I think.


Remove the Test Borders

The borders around the text are for testing in various browsers. It makes it easier to see what the code is doing. But, on this one I like the look with the borders. The colors aren't planned or intentional and can be changed or the code can be posted without the borders.

20 + ways
Blog
TO PLAY IN YOUR

The joy of CSS. Here we are using font sizes, margins, floats, and line height to position the text exactly where we want it. The browsers don't handle the code exactly the same but one style will suit some while the other style will suit others. The differences are nits. I think.


Copy and paste this in your Blog or Web page.

It will look like this.

20 + ways
Blog
TO PLAY IN YOUR

The joy of CSS. Here we are using font sizes, margins, floats, and line height to position the text exactly where we want it. The browsers don't handle the code exactly the same but one style will suit some while the other style will suit others. The differences are nits. I think.



Link URL   Last Updated:
BACK TO TOP
2005 Bloggies where the code is beautiful.

Link URL   Last Updated:
BACK TO TOP

Opacity Blending Effects

Opacity

Hover over the square link. That's pure CSS in action and it only needs to be added to the style sheet once. The link squares have CSS opacity hover applied. No OnMouseover scripting needed.


Link URL   Last Updated: Monday, March 07, 2005
BACK TO TOP
...this will look like some of the pullquotes and styles we see in magazinelayout...
The copy and paste code makes Magazine style pullquotes easy. For the jagged edge we use right alignment and force the bottom line not to break by putting the two words together. We used the named colors silver and gray. More named colors are here. It's easy to plug in your own colors.

Link URL   Last Updated: Tuesday, March 01, 2005
BACK TO TOP

Magazine Style

Sometimes we just want a picture to float in the middle of two columns. We dropped the picture down 15 pixels from the natural flow so that it looks good in both Mozilla Firefox and Internet Explorer.

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.

This is the left side of a two-column layout 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.   

And we can type more here or continue to type in the in the columns. I like the way the type wraps around the centered image.

When it's smaller without borders and background colors like we showed here the center floating image looks easier. And it is easy. We do have to contain it in a div so we made this one 400 pixels wide. Most of us have 400 pixels to post in, right? If not then use a width that works in your page and use half of the width for the left column and half for the right column.

The font sizes and background will adjust to the sizes on your page.

If we right click on the image we view the properties to get the dimensions of the image. This image is 160 x 239. So, we will display half of the picture on the left and half on the right. Half of 160 is 80, right? The image isn't altered, only the display of the image.

We defined the post area as 400 pixels wide so that our larger image will fit. We split that in half and now each column is 200 pixels wide.


Link URL   Last Updated: Monday, February 28, 2005
BACK TO TOP

Typedrawing
Want to make a groovy tree? Type in words. Draw. Print screen and save.

Thanks Bryk for link.


Link URL   Last Updated: Sunday, February 27, 2005
BACK TO TOP
Magazine Style Float Center Image

Magazine Style

Sometimes we just want a picture to float in the middle of two columns. The top of the picture is defined as margin-top:25px which says drop it down 25 pixels.

This is the right side text. Have 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 with the copy and paste code. This is a miniature version of the full copy and paste.

This is the left side of a two-column div layout with an image that is floating in the center. The image is contained in two separate columns. The left and right columns are also floating. There is one small image that floats in the middle.


Link URL   Last Updated: Friday, February 25, 2005
BACK TO TOP
a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square a decorative square