Jump to content

Voodum

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Voodum's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Negative margins worked a treat! Many thanks. [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]
  2. [a href=\"http://img174.imageshack.us/img174/6529/space4jd.jpg\" target=\"_blank\"]The problem[/a] Thats the link to a picture of the problem. I dont know why it does it, but it adds the spacing between the divs. Ive tried putting them on the same line, and making the margin and padding to 0, but I've had no luck so far. The CSS code is below, and then followed by the html code. [code] .arttop { background:url(images/index_08.jpg) repeat-x; height:70px; margin:0; padding:0; } .mainbg { background:url(images/index_10.jpg) repeat-x #FFFFFF; border-left:#CCCCCC solid 1px; border-right:#CCCCCC solid 1px; margin:0; padding:0; } .bar { background:url(images/index_12.jpg) repeat-x; height:25px; margin:0; padding:0; } [/code] Now for the html [code]<div class="arttop">hi</div> <div class="mainbg">   <p>hi</p>   <p>h</p>   <p>h</p>   <p>h</p>   <p>h</p>   <p>h</p> </div> <div class="bar">hi</div>[/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.