|
| |
|
|
heartlandjon
Posts: 5 Joined: 11/25/2004 Status: offline
|
Can't Lose Scrollbar in Mozilla - 11/25/2004 1:10:38
Hey All. I'm a returning regular who hasn't posted for a couple of years now, but have a question that's stumping me. Started playing around with a site redesign, and I have a div that won't drop the vertical scrollbar in Firefox (Mozilla). It's OK in IE6 though. I've done everything I know to try, have spent many hours searching, and can't solve this one. Here's the URL: http://gjx.us/homepagewebs CSS is at: http://gjx.us/homepagewebs/style1.css I thought about using an inline style tag on the pages where I don't want the scroll (there will be pages where I do want it), but the div is on my main index page, and I use PHP includes to pull in the other pages. I'd rather not move my main div to the included pages to use the tag. Any ideas how to drop the scrollbar in Mozilla?
|
|
|
|
heartlandjon
Posts: 5 Joined: 11/25/2004 Status: offline
|
RE: Can't Lose Scrollbar in Mozilla - 11/25/2004 11:54:30
I was using FrontPage to develop and maintain a humor website back then called humorthem.com. The CSS validates. I'll keep playing around with it.
|
|
|
|
caz
Posts: 3626 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: Can't Lose Scrollbar in Mozilla - 11/25/2004 12:40:42
Try: #main {background-image:url(images/body.gif); position: relative; padding:0; width:760px; height: 400px; background-repeat: no-repeat; overflow: none; Works in FF, anyway. Have you got the Web Developer toolbar extension? It can be very handy, especially with HTML Tidy.
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
heartlandjon
Posts: 5 Joined: 11/25/2004 Status: offline
|
RE: Can't Lose Scrollbar in Mozilla - 11/25/2004 14:28:43
Caz - I can do that, except on subsequent pages when I'm including content too large for the div, I want the div to scroll. I suppose I could create another div to fit inside main, and set that to overflow auto, and put that div in the included pages. There's just no reason, size wise, why this div (main) should be displaying a scroll bar. These days my main tool is HTMLKit, which does include HTML Tidy.
|
|
|
|
caz
Posts: 3626 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: Can't Lose Scrollbar in Mozilla - 11/25/2004 17:15:28
Can you just do an inline or embedded style for that page and so leave the rest untouched?
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
heartlandjon
Posts: 5 Joined: 11/25/2004 Status: offline
|
RE: Can't Lose Scrollbar in Mozilla - 11/25/2004 21:42:40
Caz - thanks for the response. I had considered that, but the main div is on the index page, so I can use PHP include code to pull in the content pages. So that wouldn't work without a re-design. And I still can't figure out why it's not working like it should. My work-around would be turning off overflow in the main div. Then creating another div that would actually be in the included pages and not on the index page, that is set to overflow: auto; But once again, I still am no closer to figuring out why it's happening...
|
|
|
|
heartlandjon
Posts: 5 Joined: 11/25/2004 Status: offline
|
RE: Can't Lose Scrollbar in Mozilla - 11/29/2004 1:32:29
I ended up using the work-around I described, making the main div without overflow and adding another nested div for the auto overflow. I still don't know why it didn't work like it should, and that will bother me until I do know.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|