View Full Version : Possible to hide part of a Div?

01-14-2013, 01:06 PM

I have a .swf in a Div and I need to hide about 100 pixels on the left hand side.

Is this possible?


01-14-2013, 03:23 PM
No, what you can do is:
- create div with 100 width inside this div and hide it
- cover this div with some other non transparent div
- create div inside this div and use correct positioning on it with left: -100px; and overflow: hidden on parent div http://stackoverflow.com/questions/3412527/how-to-hide-parts-of-an-element-on-top-of-another-element
- ? ran out of ideas

There is no way to hide part of a div like display: none;