|
Hello,
I'm kinda new to CSS. I've been working on centering my web site per the links provided in the stickies in this sub-forum. So I created a <body> and center aligned it, with a <div> container created inside the <body> to reinstate the left align parameter. Then I applied a border to the <div> tag so I could see its dimensions displayed on my screen. The whole technique worked beautifully. Centering the website this way solved a lot of problems I was having previously.
But here's the problem: The <div>container had a background image about 650px by 700px. It was in perfect position with the border around it. But the border was temporary- just a visual guide for me. When I removed it, the background image dropped about 10px to 20px. Any ideas on why this happened?
By the way, it happened in Firefox but not IE.
Thanks!
|