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 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2005
    Location
    Burnaby, BC, Canada
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing the clipping on a DIV layer

    Hey guys,

    Just wondering if you can change the clipping on a DIV layer.

    If not, what other ways could you achive the same effect.

    Thanks
    'Programming is the only artform that fights back!'

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,511
    Thanks
    3
    Thanked 503 Times in 490 Posts
    see
    http://www.vicsjavascripts.org.uk/Cl...lipEffects.htm

    anothe way is to give the div overflow='hidden" and position the content to display the required area

    see
    http://www.vicsjavascripts.org.uk/Im...mageViewer.htm

  • #3
    New Coder
    Join Date
    Apr 2005
    Location
    Burnaby, BC, Canada
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts
    AH!

    I figured out my problem. The position of the div layer must be set as absolute.

    Great.

    Thanks a lot vwphillips.
    'Programming is the only artform that fights back!'


  •  

    Posting Permissions

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