PDA

View Full Version : A quick question.....



kiran123
25 Jun 2006, 06:13 PM
im quite new to webdesign.. I was just wondering how on (www.asos.com) they make the lines which go horizontally across the top of the page as well as the line which conncets to this and runs verically along the left hand side (http://img68.imageshack.us/img68/4900/1234ty.th.jpg (http://img68.imageshack.us/my.php?image=1234ty.jpg))

thanks Kiran

Agricola
25 Jun 2006, 06:57 PM
its done with Cascading Style Sheets CSS for short, basically with CSS you can alter just about anything. one thing you can alter are single borders of a element or container, so here they would have just made one border solid eg.

.rightside { border-right-style : solid; border-right-width : 5px; }

this will give anything using the class rightside a solid righthand border 5 pixels thick
that is done like this

<div class="rightside">

anyway read up more about it at http://www.w3schools.com/css/default.asp