Skip to main content
July 31, 2010
공지사항

Floating objects..

  • July 31, 2010
  • 1 답변
  • 1815 조회

Hi,

I have a background image in my page. The image is a systemdrawing. I want to place textboxes containing information from a database related to different parts of the drawing. How can I place textbox objects freely though out the background image?

/Mats

이 주제는 답변이 닫혔습니다.

1 답변

BenPleysier
Community Expert
Community Expert
August 1, 2010

Because the background image is in a fixed position, either relative to the body tag or to the div tag within the body tag, you will need to place the textboxes at a fixed position relative to either the body tag or the dive tag.

I hope this helps

Ben

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
August 2, 2010

Yes, I know. But how do I make dreamweaver place an object where that I want it? Now it always becomes left justified. I want to drag the textbox to the position where I want it and drop it there. 

This is what it looks like if I code it manually.

<input name="UnitId" type="text" id="UnitId" style=\"position:absolute;width:49px;left:252px;top:428px;z-index:1\" value="<?php echo $row_unitStartLevel['Start_Level'];?> />

This was actually created with another tool but I have to add the PHP database access manually.

Could I make dreamweaver produce something like this?

/Mats

BenPleysier
Community Expert
Community Expert
August 2, 2010
Yes, I know. But how do I make dreamweaver place an object where that I want it? Now it always becomes left justified. I want to drag the textbox to the position where I want it and drop it there.

DW is not a drag and drop tool and will not do what you want it to.

This was actually created with another tool but I have to add the PHP database access manually.

What is the other tool, you have made me curious.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!