Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2011
    Posts
    28
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Possible to hide part of a Div?

    Hello,

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

    Is this possible?

    Thanks.

  • #2
    New Coder
    Join Date
    Dec 2012
    Location
    England
    Posts
    20
    Thanks
    0
    Thanked 4 Times in 4 Posts
    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/3...nother-element
    - ? ran out of ideas

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •