I Recently added a comment box on my website under "Guestbook", and now the site is kind开发者_开发技巧 screwed. Altough i tryed to remove the comment box but the problem is still there.
And i kindly ask you guys to help me solve this problem.
Website: http://swipper.org
The issue is that the website is way to wide, but i haven't configured it to be more than 100%, and im pretty sure 100% only is the regular screen size.
Please, Leave a answer if you have any idea. Thanks.
- you don't use a css reset =>
body
tag has some extra margins - if you have an element that is 100% width and you add borders, the width will be 100%+2px (or whatever border is). However, a block element has 100% by default, so you don't need to specify.
overflow:hidden
for the#sidebar
will do some magic, but you should apply 1 & 2.
The problem is with the iframe (facebook)- if you remove that the footer won't expand so far.
You should really get a tool like Firebug for development, it can show you where the boundaries of your elements are to see what is throwing out your design.
Good luck with your site.
精彩评论