Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving a image

Status
Not open for further replies.
Mar 18, 2004
7
0
0
US
When I place an image in dreamweaver, I can not move it where I would like to. How do you go about doing that? I would like to have where I can click and drag it anywhere like you can with a image in Word.I am new to this so please excuse my stupidity.
 
do you want to click and drag in the actual page on the web or in DW?

zzzzzz
 
no can do.
u have to place an image into a table/cell or layer then use their properties to allign it...otherwise your image is simply sitting in the "body" of the HTML can only be moved and is considered as paragraph (top-middle-left-right...with respect to ENTIRE page)
you have:
Code:
<body>
<img src="/image.jpg">
</body>
you can:
Code:
<div id="Layer1" style="position:absolute; left:1px; top:52px; width:67px; height:35px; z-index:1"><img src="/image.jpg"></div>
or tables:
Code:
<body>
<table width="200" height="50" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="bottom"><img src="/image.jpg"></td>
  </tr>
</table>
</body>
All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top