Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Website Design (https://www.warriorforum.com/website-design/)
-   -   Graphics and Text...Keep From Moving Around? (https://www.warriorforum.com/website-design/167649-graphics-text-keep-moving-around.html)

Andyf 16th January 2010 11:44 AM

Graphics and Text...Keep From Moving Around?
 
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

Orlando Web Design 17th January 2010 12:34 AM

Re: Graphics and Text...Keep From Moving Around?
 
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

saschakimmel 17th January 2010 01:08 AM

Re: Graphics and Text...Keep From Moving Around?
 
Do you have a URL that shows the problem?

newbim 20th January 2010 04:34 PM

Re: Graphics and Text...Keep From Moving Around?
 
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):

Quote:

.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.


All times are GMT -6. The time now is 03:27 AM.