Can you provide the html and css you are using? On Sun, May 17, 2009 at 7:39 PM, dstein64 <[email protected]> wrote:
> > I have a div container with a specified background color and a heading > in it. The heading is h2 and has margins by default. If I do not add a > border to the container, the background color only appears directly > behind the text. It is only when I add a border that the background > color fills the whole container. What is the best solution to this > problem? Adding padding-top of 1px to the container seems to fix it, > but I would like to know the correct way of having a background color > fill and entire div container. > > Thanks. > > > > -- Thanks, Andy Baughman --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected] -~----------~----~----~----~------~----~------~--~---
