DetroitYES
06-26-2009, 04:28 PM
http://www.atdetroit.com/testvb/forumdisplay.php?f=2
in Style Manager> Additional CSS Definitions I added the CSS body {overflow:scroll;} because I wanted the scrollbar to show up in firefox (to prevent the 10 px shift in the layout when there was no scrollbar required on the page).
Unfortunatley, I forgot that Internet Explorer completley F's up this request, and wraps another set of scroll bars around the actual forum. I tried a few CSS hacks in the Additonal CSS Definitions box (namley the star hack), and then tried to use some conditionals in the header and header include before giving up and removing everything.
However, despite having removed any resemblance of the overflow property, the page still loads as if I had the CSS somewhere in the code? What gives? I even tried setting overflow to visible and then auto, but i still get those damn scroll bars?
And for the record, I just realized I probably should have added that code in the body dialog box on Style Manager... :erm:
Thanks for the help.
------
Okay, some how the actual body tags on a bunch of the templates got set to <body style="overflow: scroll;">
So i did a simple search and replace on those which seemed to have done the trick. I then had to backtrack and find out which templates had <body style="overflow: scroll;"> by default and fix those. Hopefully I didn't miss anything, sorry to keep bugging you guys with my minor coding issues. Murphy's law seems have me figuring out the problem approximately five minutes after posting it here.
--------------- Added 1246047201 at 1246047201 ---------------
Well, now that I've got that problem solved, could anyone recommend the best way to add body{ overflow:scroll;} to the CSS so that firefox/safari pick this up, but IE will ignore it?
I generally make two separate style sheets, and call the IE one via a conditional but not sure how to do it in VB
in Style Manager> Additional CSS Definitions I added the CSS body {overflow:scroll;} because I wanted the scrollbar to show up in firefox (to prevent the 10 px shift in the layout when there was no scrollbar required on the page).
Unfortunatley, I forgot that Internet Explorer completley F's up this request, and wraps another set of scroll bars around the actual forum. I tried a few CSS hacks in the Additonal CSS Definitions box (namley the star hack), and then tried to use some conditionals in the header and header include before giving up and removing everything.
However, despite having removed any resemblance of the overflow property, the page still loads as if I had the CSS somewhere in the code? What gives? I even tried setting overflow to visible and then auto, but i still get those damn scroll bars?
And for the record, I just realized I probably should have added that code in the body dialog box on Style Manager... :erm:
Thanks for the help.
------
Okay, some how the actual body tags on a bunch of the templates got set to <body style="overflow: scroll;">
So i did a simple search and replace on those which seemed to have done the trick. I then had to backtrack and find out which templates had <body style="overflow: scroll;"> by default and fix those. Hopefully I didn't miss anything, sorry to keep bugging you guys with my minor coding issues. Murphy's law seems have me figuring out the problem approximately five minutes after posting it here.
--------------- Added 1246047201 at 1246047201 ---------------
Well, now that I've got that problem solved, could anyone recommend the best way to add body{ overflow:scroll;} to the CSS so that firefox/safari pick this up, but IE will ignore it?
I generally make two separate style sheets, and call the IE one via a conditional but not sure how to do it in VB