Sliding Door Css Technique
This technique uses two images one for the left cap while the other covers.
Sliding door css technique. The doors slide together and overlap more to fill a narrow space or slide apart and overlap less to fill a wider space as the diagram below shows. With css menu writer implementing this. Which means the important part will be the background image position. The concept of the sliding door is to use a background image for the buttons in a navigation menu.
I am using a span within a link in the list to hold a part of the image. The link itself will hold another part of it. We use the background image property because it hides the overflow and only shows the width specified and the other image slides over it to define the other end. Tab text can be resized to fit viewer s comfort.
One for the left one for the right. In part ii we ll push the technique even further. Using the sliding door technique with css menu writer. The middle and right cap.
The sliding doors technique section3. The sliding door technique basically uses two images stacked up next to each other. Think of these two images as sliding doors that complete one doorway. Introduced by douglas bowman to customize your css menu writer menus.
Sliding doors of css part i introduced a new technique for creating visually stunning interface elements with simple text based semantic markup. Enter semi graphical tabs using the sliding door technique. If you haven t read part i yet you should read it now. One image is long over which the text is laid and the other image closes the other side.
Only one tab image is used less download time. The following method uses this xhtml code. Tabs themselves resize to fit the text. Beautifully crafted truly flexible interface components which expand and contract with the size of the text can be created if we use two separate background images.