Featured Tutorials

photoshop tutorials, gradient overlay, text effects,photoshop text effects,font effects,text reflection,reflections,custom text,blending options,text effects in photoshop Jazz up text with Gradient Overlay

Jazz up text with Gradient Overlay

Some simple Photoshop techniques for giving your text and little oooomph!..

crop,target,property,flash,tutorial,drag drop,drag flash,flash drag,hittest,collision,overlap,flash tutorial,movieclip overlap The Drop target property in Flash

The Drop target property in Flash

This flash tutorial will teach you about the drop target property. The drop target propert..

Adobe, Photoshop, Effects, Text, 3D, Metallic 3D Magnetic Text Effect

3D Magnetic Text Effect

Tutorial on making a great flying 3D effect of a letter giving magnetic field effect and a..

flash tutorials, animated eyes, follow mouse, interactivity,eyes in flash,eyes that follow,eye tracking,animate eyes,photos of eyes,womans eyes Realistic Eye Animation

Realistic Eye Animation

Create animated eyes that blink, wink and following the mouse pointer using Flash...

text effect,text effects,font effects,glossy text,bubble test,glossy text effect,glossy font effect,web 2.0 text,web 20 text effect,gradient text,glowing text,glowing font,photoshop text effects Text Effects #2 Glossy Bubble Text

Text Effects #2 Glossy Bubble Text

This text effect is perfect for those who want to design an eye-catching web 2.0 style log..

Featured Videos

Learn how to use the Photoshop lasso tool to great effect allowin..

This video will show you how to draw an eye from scratch in Photo..

Heres a video that demonstrates some of the many cool features wh..

This video tutorial will teach you how to create a cool brush mas..

This tutorial will show you how to import fully layers Photoshop ..

Learn CSS: Border Styles & Properties

There are many different types of border from solid one color to double line and even in and out set borders with different shades of color. The examples below show the code that you will need to use in the <style></style> tags of your div tags, images or form buttons.

 

Border Properties

Setting the width of a border is as simple as this:

<div style="border-width: 2px;"></div>

You can also use these next examples to change the color of a border:

<div style="border-color: #334455;"></div>

<div style="border-color: red;"></div>

 

Border Styles

Here are some examples of the various border types available with examples to show you how they appear.

border-width: 2px;border-style: solid; border-color: #f48039;

This is a solid border

 

border-width: 2px;border-style: dashed; border-color: #f48039;

This is a dashed border

 

border-width: 2px;border-style: dotted; border-color: #f48039;

This is a dotted border

 

border-width: 2px;border-style: double; border-color: #f48039;

This is a double border

 

border-width: 4px; border-style: groove; border-color: #f48039;

This is a groove border

 

border-width: 4px; border-style: ridge; border-color: #f48039;

This is a ridge border

 

border-width: 4px; border-style: inset; border-color: #f48039;

This is a inset border

 

border-width: 4px; border-style: outset;

This is a outset border

 

Shorthand CSS (for those who want their code to look a bit more pro)

Short hand in css is a way of writing many of the above examples in one line of property code, or in other words squeezing it all into one simple line, as follows:

<div style="border: 10px solid #f48039;"></div>

This is a outset border

 

More Web Design...

Other Content...

 Subscribe to our feed

Send to a friend