Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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