6 replies [Last post]
Manhattanguy
Offline
Regular
Last seen: 16 years 1 week ago
Joined: 2004-07-26
Posts: 11
Points: 0

This forum was recommended to me by someone over at the Expression Engine forums. I'm a having a problem with my blog template and no one over there was able to figure out what's causing it. If you look at my website [url]www.smootherthanbutter.com [/url]you'll see that at the top and bottom of the page there is a white bar (The bar on the top is just below the blue bar). I've tried altering every variable that I can think of and I still can't figure out what's causing these two irritaing white bars. Would someone here be willing to check it out and see if they can offer me a solution? I would greatly appreciate it. Thanks!

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Having Trouble With My CSS

Hi Manhattanguy,
Inside your wrapper div you have another div without any class or ID.
Have you tried targeting that div and setting it's margin and padding to 0.

Hope that helps

Manhattanguy
Offline
Regular
Last seen: 16 years 1 week ago
Joined: 2004-07-26
Posts: 11
Points: 0

Having Trouble With My CSS

Yes, I've tried that, but all it does is make

margin: 0;
padding: 0;

appear in the top white area!

Manhattanguy
Offline
Regular
Last seen: 16 years 1 week ago
Joined: 2004-07-26
Posts: 11
Points: 0

Having Trouble With My CSS

Yes, I've tried that, but all it does is make

margin: 0;
padding: 0;

appear in the top white area!

Manhattanguy
Offline
Regular
Last seen: 16 years 1 week ago
Joined: 2004-07-26
Posts: 11
Points: 0

Having Trouble With My CSS

Actually, I was able to remove the bottom white bar by changing the margin in wrapper to 0. However, I still can't get rid of the top white bar. Help! Smile

Manhattanguy
Offline
Regular
Last seen: 16 years 1 week ago
Joined: 2004-07-26
Posts: 11
Points: 0

Having Trouble With My CSS

Scratch that. I deleted a </div> line and the bottom white line came back. What's causing these two white lines and how do I get rid of them?

Manhattanguy
Offline
Regular
Last seen: 16 years 1 week ago
Joined: 2004-07-26
Posts: 11
Points: 0

Having Trouble With My CSS

Haha...I got it! By adding negative margin values to the content section they were eliminated!