PDA

View Full Version : Browser scrollbar messing with style - is there a fix?


gopherhockey
07-25-2010, 12:04 PM
Our web site has a specific graphic (image map) for the header and footer. This helps the web site and forums blend together. Lately I am noticing I cannot get the footer to line up correctly and I'm hoping someone can help.

First, to get it to work I had to add this to the additional.css template

.body_wrapper {
padding: {vb:stylevar body_padding};
background: {vb:stylevar body_background};
-moz-border-radius: 0pt;
-webkit-border-radius: 0pt;
margin-left: 7pt;
margin-right: 8pt;
-moz-margin-start: 8pt;
-moz-margin-end: 7pt;
-webkit-margin-start: 8pt;
-webkit-margin-end: 7pt;

(not sure why its odd on one side or the other as it lines up just fine on the web page which has 10pt. on each side vs. 7 and 8 the php forums.. anyway)

When the scrollbar is there, it looks just fine on all browsers tested:

https://vborg.vbsupport.ru/external/2010/07/21.jpg

But when a search results in just one or two new threads, there is no scrollbar and it now looks like this:

https://vborg.vbsupport.ru/external/2010/07/22.jpg

--------------- Added 1280079232 at 1280079232 ---------------

I fixed this by removing the width="902" from the .gif image in the footer.