I have noticed lots of people having graphics in there new themes.. How do you do that? And then be able to add a logo to it to? Or are people just making a logo with a graphic?
The body has a background image (body.png) which is set to repeat horizontally but not vertically, which means it'll stretch from the left to the right of the browser, but it wont repeat down the page, the header (login box and navigation) is then set to have enough height to fit into the image and push the content down.
This technique isn't the only way to do this and probably isn't the best; the header has to be an exact size for the navigation to level up with the lines (which it doesn't seem to do in the live demo) and you would have to edit the image whenever you wanted to make changes.
A better way to do this would be to remove all margin and padding from the body, so the header touches the edges of the browser, then style all of the header yourself in css.
It's even possible to create the gradients in most modern browsers with CSS3.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.