carwash
05-27-2007, 05:16 PM
Hi,
In most installs of Vbulletin, the footer is slightly narrower than the rest of the page (the footer being where the links to admin, contact us, etc are). I have modeled a header based on this footer width, and it doesn't match up perfectly with the rest of the page, it's too narrow like the footer.
Is there a way to adjust it so the footer, and thus my header, are exactly the same width as the rest of the page? I feel like I'm just missing something.
Thanks!
I've realized what the problem is. When adding a border in css, the border adds to the INSIDE of what you are adding a border to. So if you want a 700 pixel width table with a 1px border, the table itself is really just 699 pixels of white with 1 pixel of border. Is there any way to put that border on the outside so no pixels are lost to the border, assuming you specify width as a percentage?
In most installs of Vbulletin, the footer is slightly narrower than the rest of the page (the footer being where the links to admin, contact us, etc are). I have modeled a header based on this footer width, and it doesn't match up perfectly with the rest of the page, it's too narrow like the footer.
Is there a way to adjust it so the footer, and thus my header, are exactly the same width as the rest of the page? I feel like I'm just missing something.
Thanks!
I've realized what the problem is. When adding a border in css, the border adds to the INSIDE of what you are adding a border to. So if you want a 700 pixel width table with a 1px border, the table itself is really just 699 pixels of white with 1 pixel of border. Is there any way to put that border on the outside so no pixels are lost to the border, assuming you specify width as a percentage?