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.
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
Post a Comment