3 replies [Last post]
Monsieur X
Monsieur X's picture
Offline
newbie
France
Last seen: 13 years 34 weeks ago
France
Timezone: GMT+1
Joined: 2007-02-26
Posts: 2
Points: 0

Hello world ,

I've got a page that is vertically unscrollable, since i've put :
* {overflow:hidden}

The problem is that overflow:hidden is useful for compatibility with IE.
Even if i put overflow:visible to all the other properties, no scrollbar will display.

You can see my page here (remove the "***")

Thanx Smile

karinne
karinne's picture
Offline
Enthusiast
Aylmer, QC, Canada
Last seen: 13 years 18 weeks ago
Aylmer, QC, Canada
Timezone: GMT-5
Joined: 2004-01-14
Posts: 291
Points: 0

Well * is the universal

Well * is the universal identifier which means that it sets it's properties to ALL elements. I would suggest you put the overflow: hidden in the body { } instead.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 17 hours 5 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9772
Points: 3854

Eliminate it. I know of no

Eliminate it. I know of no sane reason to use *{overflow: hidden;}. In fact, move all those properties to the appropriate element. There are folks that like *{margin: 0;}, but that's not really necessary.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Monsieur X
Monsieur X's picture
Offline
newbie
France
Last seen: 13 years 34 weeks ago
France
Timezone: GMT+1
Joined: 2007-02-26
Posts: 2
Points: 0

Thank you. i've removed the

Thank you. i've removed the *{overflow:hidden} and put it at each property and it works, now !