Tuesday, March 22, 2011

Using Divs !

I spent most of the period today adding up a little paragraph on my web by using a div and a paragraph. I created this first = <div class="paragraph"> then I wrote my paragraph and at the end of the paragraph I closed the paragraph and and div.
Then I went to my CSS and add this 
 div.paragraph {
width:30%;
margin-bottom:-330px;
padding-bottom:-80px;




then that let me place my paragraph where I wanted to, it give me some difficulties to come out this this code because the paragraph would always end either in a side or in to top, sometimes in the middle of the picture but finally I got the code working out !

1 comment: