Problem with text and zooming?

by 2 replies
2
Hey guys, I ran into a problem and I was wondering if any of you could walk me though it. Whenever I zoom in or out my text moves. Everything else stays in place, but my text either begins to overlap the content next to it, or begins to move out in the opposite direction.

.text
{
width: 500px;
float: left;
position:relative;
left: 15%;

}



I've also tried changing the position to absolute, and also:

.text
{
width: 500px;
float: left;
margin-left: 215px;

}

any help here guys?
#website design #problem #text #zooming
  • Need to know more, do you have a URL?
  • peteJ,

    Try working with relative units instead of fixed ones. Also (although antiquated) you can also keep elements from repositioning by placing them inside a table.

    Perhaps you can find an answer here,

    A List Apart: Articles: Fluid Grids

    Hope that helps you,

    Shawn

Next Topics on Trending Feed

  • 2

    Hey guys, I ran into a problem and I was wondering if any of you could walk me though it. Whenever I zoom in or out my text moves. Everything else stays in place, but my text either begins to overlap the content next to it, or begins to move out in the opposite direction. .text