Graphics and Text...Keep From Moving Around?

by Andyf
3 replies
  • WEB DESIGN
  • |
Does anyone know the command(s) or the general HTML or CSS subject matter that keeps your text and graphics of your web page in place when the screen view is reduced or minimized?

I will have no problem implementing the code...I just can't remember what to call this function so that I can look it up and implement it.

Thanks!

Andyf
#graphics #moving #textkeep
  • you can look at positioning. If your content is positioned absolutely but is positioned in the wrong parent container, it can cause your content to move when the screen in resized.

    So look up absolute and relative positioning within DIV's
    Signature
    Financial Thing: Peer to Peer Lending Reviews
    Poker Tilt : The Dutch Boyd Story
    {{ DiscussionBoard.errors[1631022].message }}
  • Profile picture of the author newbim
    Hi,
    The easiest way is to create a "container" DIV tag in Css, then in the css attributes, include:

    If you're unfamiliar with CSS, it can take a little getting used to, but below is some example code (if it will publish it in my response):

    .container{
    margin-left: auto;
    margin-right: auto;
    }
    Then, when you put anything inside it, it should stick to the middle of the page.

    BTW, REALLY SORRY, if that's not what you're talking about and it looked like I was trying to teach you how to suck eggs, but if not, reply and I'll see if I can help.

    Good luck with that,

    Cheers,

    Newbim.
    Signature
    If what I said helps, let me know, throw me a 'thanks'.
    {{ DiscussionBoard.errors[1645804].message }}

Trending Topics