r/csshelp • • Dec 24 '12

Creating a Header Menu with Custom Tab-Buttons?

I’ve been fiddling with my sandbox for the last couple of hours, and I cannot for the life of me figure out how to make a header menu, and change the tabs to look more like buttons. I want a header like /r/QCS, sans absolute positioning and I’d like the ‘tabs’ to have a custom button, positioned on the menu.

The closest I've gotten to what I want:

#header {
    border-bottom: 40px solid rgb(53, 25, 82);
    position: relative;
    z-index: 99;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;

}

I cannot for the life of me figure out how to move that down from the header-area and make it independent.

For the tabs, every time I change their background to my image, it comes out with a half-cut version of it. Which might be because the original is too large. This is what I get when I use this:

.tabmenu li a {
    padding: 2px 6px 0px;
    background-image: url(%%tabbg%%);

}

Any help would be appreciated.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/TevaUSA Dec 24 '12

I would appreciate that. I have a head-visual of what I want, but little idea of how to get there.

1

u/gavin19 Dec 24 '12

You might want to drop a request over at /r/ProjectCSS too. The more the merrier.