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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to anchor LAYOUT CELL so it moves with elements

Status
Not open for further replies.

krgarton

Technical User
Feb 14, 2007
5
0
0
US
Here is the run down of my page. I have a table which I have size wise set to 100% so that no matter what the browser window size it matches it. Within that table I have an image that I have set to center in the table no matter what the size. On top of that picture I drew a layout cell. I want this layout cell to anchor to that image so that it changes position just as the image does depending on how big or small the table is (based on the browser window size). Is there a way to do this?

thanks
 
krgarton said:
Within that table I have an image that I have set to center in the table no matter what the size.
How are you doing that? Are you putting the image in a cell (<td>) in the center of the table? Are you asigning the image as a background to the table? Or as the background of the <td>?

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
After I created a table with it's size set to 100%, I clicked within the table and then inserted the image. I then added the following script

<td align="center" valign="middle"

to this beginning of this script

td height="700"><img src="images/sprout template/sprout_template.gif" name="sprouttemplate" width="1100" height="850" border="0" usemap="#Map" />

I think I figured this out based on a forum- or a friend, one of the two. It seems to work well, except now that I', gone and drawn a layout cell on top of that image, I do not know how to get that layout cell to stay in that postition relative to the image and not the page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top