Problem with text and zooming?

by peteJ
2 replies
  • WEB DESIGN
  • |
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?
#problem #text #zooming
  • Profile picture of the author David V
    Need to know more, do you have a URL?
    {{ DiscussionBoard.errors[7603948].message }}
  • 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
    Signature
    Outsource to the experts...

    We customize your Blog, eBook, Press Release and Sale Copy content with your message.

    {{ DiscussionBoard.errors[7606702].message }}

Trending Topics