Re: [css-d] vertical menu question

2012-05-31 Thread Chetan Crasta
 On a CSS vertical menu, is there a way to have its submenus open in an
 upward direction if the submenu doesn't have enough space to open in a
 downward
  direction?
 Thanks.
 Bruce


The only possible solution I can think of (using CSS 2) is to position the
sub menu absolutely with respect to the viewport using the bottom property.
Don't know if there is some new technique using CSS 3.

Regards,
Chetan Crasta
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] crop image with code?

2012-05-31 Thread John
Working out a workflow here where I crop images in Photoshop, then plop them 
into my code. If I later want a different crop, I have to re-do the Photoshop 
steps again.

Is there a code-based way to handle this? the analog would be InDesign where 
you can have an image much larger than you want to show, and easily scoot the 
image around inside its picture box to change the cropping?

Or is this sloppy practice? I'm not thinking of having a 1200 px image where 
I'm only using 120px, but maybe one of 300 px or so..

Thank you!

John
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] crop image with code?

2012-05-31 Thread John

On May 31, 2012, at 1:52 PM, Amedeo Mantica wrote:

 Using CSS you can display a portion as background, but is not the correct 
 way, you will always load the entire image, then may be expensive
 Is better to crop on server side

that's what I was thinking, too…OK..I think I can adjust my workflow to more 
easily get what I'm after. thank you for your comment, Amedeo.

J
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/