471,605 Members | 1,352 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

html images move when browser is resized

5
Hi,

I guess I've built my site sort of strangely:

The images are in the html (using tables), but the text is all in css positioned using coordinates (hovering over the images). I need my page to be centered. However, after I center it, the html images move when the browser is resized. My text is sticking to it's coordinates. How do I get the images to stay where they are, as well.

Any help is much appreciated.

Thank you,

Anna :)
Oct 8 '07 #1
4 4806
you could give the images absolute coordinates as well, post the code you're having trouble with so we are able to see the problem and you have a better chance of getting a solution
Oct 8 '07 #2
numberwhun
3,503 Expert Mod 2GB
you could give the images absolute coordinates as well, post the code you're having trouble with so we are able to see the problem and you have a better chance of getting a solution
Please do remember to place your code in code tags when posting it to the site. Here is an example of how to do that:

[code=html]
<your html code>
[/code]

Regards,

Jeff
Oct 8 '07 #3
Anna97
5
Here is the link where I temporarily have the site posted to. The home page is the only page I've centered and attempted this on.

http://www.gilbertsdrug.com/jess/

Let me know if you need any more info.

Thanks, Anna.
Oct 8 '07 #4
Anna97
5
I figured it out!! I added this code into CSS:

body {
background-color: #FFFFFF;
font-family: Arial, Verdana, Helvetica;
text-decoration: none;
position:absolute;
z-index:1;
left:250px;
top:0px;
}
Oct 8 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Gregory | last post: by
7 posts views Thread by xmp333 | last post: by
4 posts views Thread by Alex | last post: by
6 posts views Thread by lilcech | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.