CSS Library: Horizontal CSS Menus: Here
Animated horizontal tabs
Author: Dynamic Drive
These sliding doors based blue tinted tabs "jump up" when selected, such as when the mouse rolls over each one. This is accomplished using a combination of relative positioning and padding on each tab. The selected tab is first stretched vertically by giving it a thick bottom padding, then plucked out thanks to the CSS "top" property value that's smaller than the normal tabs'. The result are tabs that animate without any scripting.
BTW, the amount the selected tab jump up can be easily adjusted- refer to the comments inside the CSS.
Demo:
The two images used:
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 5 of 5 pages « First < 3 4 5
THANKS :)
position:relative;
i tested in: ie7, ff and safari
I think it is because the left and the right images should have the same dimensions of width and heigt. If that occurs the code above works fine.
http://www.thinkflick.com/freebies/apple-mac-style-image-gallery/

