Go to the Background FAQ
![]() |
How do I create a bar at the left side?This is one of the more popular questions, lately. What people want is to create a bar at the left side of the screen, with buttons on top of it, and the real content of the page to the right of it. Actually... A page just like this one... ;-)This is what I did to create it:
|
![]() ![]()
|
To the left of this text you will find two buttons. For the
purpose of clarity about how these tables are put together I
turned the border of this table on. When you create the buttons
in your image-editor, make sure you put the background image
behind the buttons you want. This is the only way to make sure
you get a smooth (anti-aliased) border.
The first button is the text put on a white colored background. The second button was made using the future background image... You will notice the smooth borders with button two. There's an important pitfall here: the different browsers don't have the same margin at the left side! So when you created the page on your Mac and the graphics are in the perfect place, there's a big change that they won't be in place if you watch the same page on a UNIX platform. I have chosen to put them somewhere in between :-) Because of the different left margins of the browsers you will have to make parts of your button, that are actually the background, transparent. Button three, for instance, wasn't made transparent and you will directly notice the slightest shift to the left or right.
|
Go to the Background FAQ