Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Problem with scrollbars when using Meyer's reset.css
Old 07-15-2010, 04:19 AM Problem with scrollbars when using Meyer's reset.css
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
I've had this probem in the past, and the way I fixed it last time was by simply removing reset.css and resetting everything myself.

See this page:
http://www.mattpealing.co.uk/concept...ars/clinic.htm

Notice the blue and red columns and how there is a scrollbar on their containing div.

Both are of the correct widths to fit inside the container, but Firefox just keeps putting a scrollbar there!!

I've tried adding a clearing <br /> before the closing tag of the containing div, but no luck.

Does anybody have any ideas what it might be??

Thanks
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 07-15-2010, 04:23 AM Re: Problem with scrollbars when using Meyer's reset.css
Banned

Posts: 1
Name: marc lindsay
Trades: 0
I didn't find any problem. I dont know why U have.

fake signature removed

Last edited by chrishirst; 07-18-2010 at 08:38 AM..
marc0079 is offline
Reply With Quote
View Public Profile
 
Old 07-15-2010, 07:04 AM Re: Problem with scrollbars when using Meyer's reset.css
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Quote:
Originally Posted by marc0079 View Post
I didn't find any problem. I dont know why U have.
Well the scrollbar is there when it shouldn't be, FF on Mac and Windows.

Unless you're just a spammer who wants people to click the link in your sig?
__________________

Please login or register to view this content. Registration is FREE

Last edited by chrishirst; 07-18-2010 at 08:39 AM..
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 07-15-2010, 02:39 PM Re: Problem with scrollbars when using Meyer's reset.css
Extreme Talker

Posts: 246
Trades: 0
Try increasing the size of the div that is being asinged the scrollbar by a few pixels (5 should be more than enough). From what I see in FF and Chrome the space is just slightly too small and therefore the scrollbars on the right shows up.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
Old 07-15-2010, 05:15 PM Re: Problem with scrollbars when using Meyer's reset.css
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
I don't think it's a height issue as the div should overflow automatically.

I did notice earlier on that if I do specify a height then it does indeed remove the scrollbar, however I need it so that it can expand to any height.

Thanks anyway though
__________________

Please login or register to view this content. Registration is FREE

Last edited by pealo86; 07-15-2010 at 05:17 PM..
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 07-15-2010, 10:02 PM Re: Problem with scrollbars when using Meyer's reset.css
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
With nothing much in it, the #page is too small vertically. As a test, if you put a min-height on #page, you'll see that the scrollbars go away. So, once you get some real content in there, the scrollbars won't appear.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-16-2010, 01:46 AM Re: Problem with scrollbars when using Meyer's reset.css
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Wow yeah, you're right! Thanks, I never would have got that!

Just out of curiosity, are there really many advantages to using reset.css? I normally just tend to add something like:

Code:
* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    outline: none;
}
to the top of my stylesheet. In fact, I find I have to add some of it anyway, even if I do use reset.css.
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 07-17-2010, 10:25 AM Re: Problem with scrollbars when using Meyer's reset.css
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The reset helps to sort of level the playing field so you start off with a clean slate, no default styles. I don't use the whole Meyer reset, I use just portions of it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-18-2010, 08:23 AM Re: Problem with scrollbars when using Meyer's reset.css
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
I see, thanks
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Reply     « Reply to Problem with scrollbars when using Meyer's reset.css
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.64023 seconds with 12 queries