![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Those don't correctly support clip. |
|
I can only guess, but when you say you are previewing it in the browser do you mean either IE 6 or 7? Those don't correctly support clip. Here's some sample code you can look over: CSS: style type="text/css" .photo { position: relative; width: 166px; /* image's containing div has the same width and height of image when it's clipped */ height: 212px; } .photo img { position: absolute; top:-25px; left:-64px; clip: rect(25px,230px,237px,64px); /* not recognized by IE 7 or older */ } /style !--[if lte IE 7] style type="text/css" .photo img{ clip: rect(25px 230px 237px 64px); } /style ![endif]-- HTML: div class="photo"><img src="pic.jpg" alt="" width="354" height="500"></div |
#5
| |||
| |||
|
|
[IE 6 and 7] don't correctly support clip. |
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Ok, I have part of the site running now so you can see what stage I'm at. I think the AP element clipping works ok for what I'm doing, but it does pose problems with a large clipped image as I need to select a different clipping area for each side of the image. When I do this I then need to move the AP elemnt around in the page and this seems to create editable region issues due to it being a wide image. Again, this is probably due to my inexperience, so I guess I'll sort it out if I put enough time in. Thanks for your comments and support so far. Neil |
#10
| |||
| |||
|
|
Try it... clip: rect(25px,230px,237px,64px) doesn't work like it should. Instead, for IE 6 and 7, you have to drop the commas.. clip: rect(25px 230px 237px 64px); [q]Originally posted by: Newsgroup User [IE 6 and 7] don't correctly support clip. Where do you get that? -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) [/q] |
![]() |
| Thread Tools | |
| Display Modes | |
| |