layers in pictures

B

BK

i pasted a picture into a table. now, i want to place a web-part over the
pic. i was able to do that by inserting a layer over the pic and inserting
the web-part into the layer. the only issue is that when viewing the web
page with varying resolutons, the layer with the web part appears in
different areas of the picture. is there a way to get around this?
BK
 
M

Murray

"Layers" is the name given to absolutely positioned page elements. That
work "absolutely" means that it is stuck like glue to exactly the same spot
on the page, no matter how wide/tall you make your browser viewport
(resolution has very little to do with anything except the maximum
width/height you can conveniently use). If you see things moving on your
page, it's not the layers, it's the table holding the image.

You can fix this in several ways -

1. Make the image a BACKGROUND image for a table cell, and enter your
overprinting text in that cell.
2. Make the table left aligned *and* fixed width so that its contents
cannot move away from the layer's position.
3. Make the image the BACKGROUND of the layer.

Would any of those work for you?
 
B

BK

i originially went the route of making the image a backgroud of a table
cell. this worked well with overprinting text, button, and webparts. the
only problem was when resizing the window or veiwing the page on a lower
resolution, the background image would not resize. instead, the right
portion of the iamge would truncate in the table cell. this didn't look so
good. i believe on an separate post, u advised that background images don't
resize.

with that info, i tried pasting the images directly into the cell, this took
care of the problem where the right portion of the image gets truncated with
window resizing or on lower resolution. however, i needed to use another
layer to overlay anything on top of the image. only problem with that, as
you said, is that the layer is in fixed position while the table is in a
variable position. therefore, the only way to get around all of this is to
left align the table.

i would rather have the table and image in the center since it looks better,
but if that is not an option, i will have to consider another layout where
the image is on the left part of the page. i'll see how it goes. in any
regard, thanks for the information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top