I am trying to incorporate a box shadow for a couple of header elements on a site I am designing for fun and I have come across a rather frustrating situation. When previewing the site in Firefox, the box shadow shows up but so does a horizontal scroll bar. I am designing this on an Invision Power Board frame.
How would I go about removing the horizontal scroll bar?
I have already tried adding:
overflow-x:hidden;
This worked. However, instead of the one horizontal scroll bar at the bottom, it generated vertical scroll bars everywhere.
I have attached a couple of screenshots.
TIA for any help you can give!
ETA: There were no horizontal scroll bars generated for any other browser type (namely: IE, Safari, Chrome). Just Firefox.
How would I go about removing the horizontal scroll bar?
Hi,
We would need to see the code you are using that causes this problem.
I think the box-shadow property needs to be accounted for in your widths if any have been set.
It behaves just like margin, padding, and borders do with the Box Model. That is, the dimensions must be accounted for on the overall box size if a width is set.
Post a link or some code and we will try to resolve it for you