Text in Div tag question


hello dreamweavers.

 

i have made div tag , placed , image within it. im copy/pasting lorum ispum text in div tag.

what id know is,why dw put text down bottom , not top red arrow is.

so how can add text top of image?

 

thank you.

 

 

u2a2.jpg

you need float image in <div>. use css below, replace nameofdiv name of div:

 

for <div id=""> using 'id'

 

#nameofdiv img {

float: left;

margin-right: 15px;

}

 

for <div class=""> using 'class'

 

.nameofdiv img {

float: left;

margin-right: 15px;

}



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account