Graphics and Text...Keep From Moving Around?

by 3 replies
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.


#website design #graphics #moving #textkeep
Avatar of Unregistered
  • Profile picture of the author Orlando Web Design
    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
  • Profile picture of the author newbim
    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):

    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,



Next Topics on Trending Feed