This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > December 2005 > vertical line or shapes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author vertical line or shapes
enisturgut

2005-12-28, 6:22 pm

hi,
I am an amateur in dreamweaver...
1-I can't add a border to the layer
2- I don't know how to create a vertical line, shapes, for ex. rectangle...
how can I make ?
thanks and have a nice day
darrel

2005-12-28, 6:22 pm

> 1-I can't add a border to the layer

If you are a beginner, avoid layers. But, to answer your question, you would
use CSS for that:

<div style="border: 1px solid green">

> 2- I don't know how to create a vertical line, shapes, for ex.
> rectangle...
> how can I make ?


pretty much the ONLY shape you can make in HTML is a rectangle...using DIVs
or Tables or other block level elements.

There is no such thing as vertical lines in HTML, however, you can apply a
border to one side of a block-level element to create the same look:

<div style="border-left: 1px solid green">

, or use a tiling background image.

Any other shapes require the use of images.

-Darrel


enisturgut

2005-12-29, 3:20 am

thank you very much,
I like layer because I can move the texts or images anywhere in the page, and I don't know other methods to do this.
again thanks...
darrel

2005-12-29, 10:17 pm

> I like layer because I can move the texts or images anywhere in the page,
> and I don't know other methods to do this.


And that's why layers are bad. They don't take into consideration the
infinite variables on the end-user's browser...viewport size, type size,
etc.

Layers are a crutch to avoid learning proper HTML. ;o)

> again thanks...


You are welcome!

-Darrel


Michael Fesser

2005-12-29, 10:21 pm

..oO(enisturgut)

>I like layer because I can move the texts or images anywhere in the page


That calls for trouble, it's not how HTML works. HTML is no DTP!

Micha
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews