Forums / Developer / CSS multi-lingual image form buttons with rollovers

CSS multi-lingual image form buttons with rollovers

Author Message

Paul Forsyth

Thursday 27 May 2004 7:44:50 am

Im having a few problems coming up with a suitable way to handle rollovers with multilingual buttons using images.

Multi lingual buttons need to change with the text size. This precludes use of most css techniques to beautify form buttons. Normal buttons/links would equally be affected.

Although the default rectangular look is the simplest solution but it is hard to style with images. The closest i've seen is on this page:

http://www.picment.com/articles/css/funwithforms/

but expanding the image wouldn't work as text expands... you could chop the image up, left and right, with the centre expanding but from my experience this affects rollovers - the individual elements might rollover but getting all three to at the same time isnt possible, i believe.

anyone worked with this before?

paul

--
http://www.visionwt.com

Alex Jones

Thursday 27 May 2004 11:36:39 am

Check out http://www.alistapart.com/articles/slidingdoors2/ - perhaps it could be adapted to fit your needs..?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Paul Forsyth

Friday 28 May 2004 3:46:49 am

Perfect!

Darn, i've read that article before but i dont think i saw the wood for the tree ;)

Thanks Alex,

Paul

--
http://www.visionwt.com

Alex Jones

Friday 28 May 2004 7:31:46 am

Happy to help Paul!

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>