By ptcampbell on
Hello all,
I am building a sub theme for Zen and I am having trouble making a header and footer span the entire width of the browser. I am using a fixed 960 width centered in the page, so when I set the background of the header and footer to "repeat-x", it does not extend to the left and right extremes of the browser window.
Is there a way around this without having to create another DIV, I don't really want to mess with the Zen markup. If I do have to, how should I go about it? I am already using a background image in the body class so I cannot get away with doing that.
Thanks,
Patrick.
PS. What is this forum, phpBB?
Comments
This forum is Drupal core
This forum is Drupal core forum.
Hard to get away with 100% header AND footer without some extra work.
Not really sure what you want though, is it just the backgrounds you want to tile all the way accross or the actual content of the header and footer, for example some blocks in the footer and the site name, slogan and search etc?
Any reason you are using Drupal 5?
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Hi there, thanks for the
Hi there, thanks for the response.
I am using Drupal 5 because I am linking it with phpBB and there is no easy way to get them linked properly with Drupal 6, as far as I know.
It is only the horizontally tiled image that I am concerned with spanning the entire width of the browser, I am not worried about the actual going to the edges, as I want them to stay centered and fixed within the 960 container.
So far I have considered this but I am not sure if it validates. It is possible to apply a background to the HTML class, so in effect there are two backgrounds. This does not fix the footer issue however and it's a bit of a scrappy solution.