Jump to content


style borders


1 reply to this topic

#1 Raiders

    Young Padawan

  • Members
  • Pip
  • 44 posts

Posted 28 June 2008 - 09:17 AM

If you go to my site http://www.deafraide...om/template.htm the css file is
http://www.deafraide...ost.com/nav.css

I have blue on the side of each side has a blue fade in from the left site now i want the same to do on the right side has shown i set this as #content p in the page's css part before head.

Also i want the gap bottom between content and footer remove. in Dreamweaver CS3 is just shows a gap no coding between them.

Hope someone can help me with the above to achieve this.

Regards
Raiders

#2 Apache

    P2L Jedi

  • Twodded Staff
  • PipPipPip
  • 778 posts
  • Location:London, UK

Posted 22 July 2008 - 11:47 AM

Hi Raiders,

the gap between the footer and the content is due to the border you have set on the footer, at least that was the only border that showed up in firefox for me.

As for you blue fade on the right, adding a background to the p element is workable, but may not be your best option. However, to make this work, simply add this code to your CSS that define the p element:
#content p {
margin:0;
padding-bottom:10px;
}

This should give you a solid border on the right of your page





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users