Jump to content

help with padding


doddsey_65

Recommended Posts

i need help with my site. On the main page everything is fine, but when you click a topic and go to the next page the padding seems off. I dont know why this is because i have checked the code several times. if anyone can help please let me know. I will supply the css and php code to anyone who wants to try and fix it.

 

Thanks

 

EDIT: heres the url: http://thevault.cz.cc

Link to comment
https://forums.phpfreaks.com/topic/213792-help-with-padding/
Share on other sites

well i think the problem is to do with the scroll bar. the site looks fine on pages that have it(ie pages where the content is greater than the screen height), but when the scroll bar isnt present it looks different.

Did you have a look at the site to see what i mean?

Link to comment
https://forums.phpfreaks.com/topic/213792-help-with-padding/#findComment-1112750
Share on other sites

There are 19 HTML validation errors, and 35 CSS validation errors on the main page. Also, on a wide monitor, everything spills outside the background image and makes it look awful. I've attached a screenshot (browser was FF).

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/213792-help-with-padding/#findComment-1112805
Share on other sites

There are 19 HTML validation errors, and 35 CSS validation errors on the main page. Also, on a wide monitor, everything spills outside the background image and makes it look awful. I've attached a screenshot (browser was FF).

[/quote

 

thats a bad error on my part, the div holding the content is set at 100%, i will change that now. I will also fix the errors and see if that helps.

Link to comment
https://forums.phpfreaks.com/topic/213792-help-with-padding/#findComment-1113107
Share on other sites

okay i have fixed the xhtml errors and some of the css errors that i can fix. i have also set a default width so the screen size shouldnt matter now. but the scroll bar still pushes the content.

it pushes everything not just the background.

 

EDIT: fixed it with: overflow:scroll;

Link to comment
https://forums.phpfreaks.com/topic/213792-help-with-padding/#findComment-1113112
Share on other sites

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.