Jump to content

[SOLVED] Positioning Issue


twilitegxa

Recommended Posts

When I display this page, everything looks fine if the browser is maximized, but I have noticed that it I make the browser smaller, everything gets smooshed together in the center. I can't figure out what coding I have set to do this. Here is the page:

 

http://webdesignsbyliz.com

 

Can anyone tell me what I'm doing wrong here?

Link to comment
https://forums.phpfreaks.com/topic/164425-solved-positioning-issue/
Share on other sites

You have 400px of side padding on div.body. When you make the browser smaller, this padding doesn't change. I would suggest removing that padding (or at least making it much smaller - like 15px), and making your div narrower. It means you won't have those wide spaces on either side, but it will make everything so it doesn't squish up like that.

 

Also, you are claiming to have valid code on that page, but the page you link to in the validation link isn't the page being looked at. You actually have errors on that page:

 

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwebdesignsbyliz.com%2F

 

You should be careful about that, it's kind of false advertising.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.