1 Types of Borders Fri Jul 02, 2010 9:37 pm
Unknown Data
Registered Member
Types of Borders Different types of borders in CSS |
Many times when you see a finished stylesheet or something, there normally stand "1px solid black". But what is the solid for, I'll learn you about it today. Solid is just a special name for the frame around something, and there exist many different names to use. There exist a way to change the frame in HTML and CSS, I'll show you both of the ways. But first we just take a look at which type of borders/frames there exist. Different type of borders/frames are: • solid • double • dotted • dashed • groove • ridge • inset • outset • hidden HTML: We start out with use the <p> tags and insert the special style attribute, so we can make the frame.
We can easily look here to see what we will get if we use the different codes standing in the frames. Note that the codes should be put beside the border attribute. Click here to take a look. CSS: It's almost the same thing to do in CSS. We just look at this code. It will bring a solid frame, but if we fx. will have it double, we delete "solid" and write "double" instead. Again can you just look at frame-window, to see which special names there exist.
|
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators. |
Last edited by Unknown Data on Sat Jul 03, 2010 2:10 am; edited 1 time in total