[Pro] Html shadow drawing bad under Windoze

Hopefully I am missing something simple…

Trying to simplify some things and use more of what FW does internally, in this case shadows and rounded corners on html layers. Problem is that on Windows IE, the text boxes have this weird light blue background drawing under the drop shadow and in the corners where the radii are.

I do not see this with graphic elements with the same settings however.

What am I missing?

TIA

-ss

example: http://aboutpollockpines.com/photos/freeway/borders.png


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Windows IE cannot properly display transparent PNG images. There are
fixes built in to Freeway for transparent PNGs used as foreground
images, but it cannot fix them when they are used as background image
elements.

One thing you could do is to hide this effect entirely from Windows IE
users – simply use a different method of making the rounded corners
that doesn’t require images. My CSS3 Corners Action (at ActionsForge)
will make rounded corners on any HTML element using pure CSS3 – no
images needed. IE users see square sharp corners, Firefox and Safari
users (Mac or Windows) will see rounded corners. Borders can curve
along with the background color, and there’s natural transparency to
this effect.

I don’t have any equivalent for the shadows, but there is a box-shadow
property in CSS3, so it should be possible.

Walter

On Mar 25, 2009, at 2:27 PM, Solutions Etcetera wrote:

Problem is that on Windows IE, the text boxes have this weird light
blue background drawing under the drop shadow and in the corners
where the radii are.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Actually, I had done most of the work for the CSS box-shadow in my
CSS3 Corners, so I made a matching Shadow version. You can apply both
of them to the same element, and have rounded shadowed boxes with zero
images. As usual, it took me longer to write up a description of the
thing than to make it.

http://www.actionsforge.com/actions/view/150-css3-shadow

Walter

On Mar 25, 2009, at 2:41 PM, Walter Lee Davis wrote:

I don’t have any equivalent for the shadows, but there is a box-
shadow property in CSS3, so it should be possible.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter… Thank you for this!

-ss


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter

Just what I was looking for! Perfect timing for a new site where I had
expected trouble sorting out a shadowed box.

Colin

On 25 Mar 2009, at 19:27, Walter Lee Davis wrote:

CSS3 Shadow - ActionsForge


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just realize that people will need to see this in Safari or Firefox – IE won’t see any special effects. But it won’t break in that browser, it will just look boring.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Also the Corners action does not seem to work with grc elements so you’ll need to use an html box with a bg grc.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Great work Walter!

It works so easily and simply.

One thing to note. If you leave the x or y axis offset blank for the shadow, nothing happens. Be sure to use a 0 if you don’t want an offset.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I fiddled with that for a while, and you’re right – even though the
style is being properly applied to the image’s DIV container, these
rounded corners do not ‘clip’ the image inside. This is consistent in
Safari and Mozilla, but I haven’t read the spec to see if it’s desired
or expected behavior.

Long ago, Tim Plumb (or maybe it was Paul Dunning) had an action that
turned a foreground image into a background image. This used the old
background=… tag that isn’t valid today, but it might be nice if
that got resuscitated. Even though it’s simple enough to add an image
to a drawn DIV as a background-image, it’s still quite a few more
steps than

  1. Drag a photo to the page, set crop and such.
  2. Apply an Action to the image box.

And if you made it a page-level action, you could make it set-and-
forget.

Walter

On Mar 25, 2009, at 7:26 PM, Solutions Etcetera wrote:

Also the Corners action does not seem to work with grc elements so
you’ll need to use an html box with a bg grc.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve fixed this in version 0.2, available now.

Walter

On Mar 25, 2009, at 9:58 PM, george wrote:

One thing to note. If you leave the x or y axis offset blank for
the shadow, nothing happens. Be sure to use a 0 if you don’t want
an offset.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options