0

I have a page set between frames that has a table with two columns: the left column has an image fixed in one position and in the right column is text (with images). When the window is at 100%, it works, but if the window is dropped to 3/4 size, the image overlaps the text. Site is catbent.com and it's the all about section.

Thanks

5
Contributors
6
Replies
7
Views
8 Years
Discussion Span
Last Post by ingeva
0

I'd appreciate some help on this problem as it's one of the few things I have left on the site

0

Can you post your CSS? You may want too consider cell padding or perhaps a margin for this text.

0

The CSS for the image is as follows:

img.one {
position:fixed;
}

The text is just straight text. Adding a margin or cell padding would just push the text over slightly and it`d still be overlapped if the window was small enough.

0

I have a page set between frames that has a table with two columns: the left column has an image fixed in one position and in the right column is text (with images). When the window is at 100%, it works, but if the window is dropped to 3/4 size, the image overlaps the text. Site is catbent.com and it's the all about section.

Thanks

you shouldn't use position: fixed at first place - it is not cross-browser supported and it does exactly what you are complaining about.

Use float instead.

0

I was the one who was facing this problem also and I have my whole week in solving this problem so in the whole forum is there anyone who can help us because now I am thinking to get rid of and if this will solved I really appreciate that.

0

I would drop the height and width declarations that don't belong in modern HTML:

<img src="Images/Purple eyes.gif" width="345" height="483" />

Instead I would separate HTML and CSS like this:

HTML:
<img class='portrait' src="Images/Purple eyes.gif" />
CSS:
.portrait {
     float:left;
     width:30%; /* or something that fits */
}

The heigth will always be correct (the aspect ratio won't change) and the text follows nicely on the right side. If you need to separate this from more text (or pictures) use a tag with style='clear:both;' .

inge

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.