www.webdeveloper.com
Results 1 to 6 of 6

Thread: overflow

  1. #1
    Join Date
    Jun 2007
    Posts
    25

    overflow

    Hello
    I have some pictures that are in an 4:3 format but have black borders under and over the picture like a widescreen on an 4:3 tv. I wounder if you somehow can use an <div> and have the picture in it and with the help of overflow hidden, hide the black parts of the picture.

  2. #2
    Join Date
    Aug 2007
    Location
    New Jersey, US
    Posts
    1,779
    you can do that, if you center the image in the div, and set the div width and height smaller than the image itself (cutting off the black edges)...

    but wouldn't it be a lot easier to just crop out the black edges with any image editing software?

  3. #3
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    At least 98% of internet users' DNA is identical to that of chimpanzees

  4. #4
    Join Date
    Aug 2007
    Location
    New Jersey, US
    Posts
    1,779
    Fang wins.

  5. #5
    Join Date
    Jun 2007
    Posts
    25
    thanks for a fast answer
    it really helpt

  6. #6
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Quote Originally Posted by dtm32236
    but wouldn't it be a lot easier to just crop out the black edges with any image editing software?
    or make the black edges transparent.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles