PDA

View Full Version : Spacer code in CSS



opel
November 14th, 2004, 07:41 AM
Whats the best way to make a spacer in CSS.

I want to insert a break or hr tag that will allow a 20px gap at the bottom om my page after all the content.

λ
November 14th, 2004, 07:47 AM
<div style="margin-bottom:20px;" />


That may work, depending on how you've set it up..

opel
November 14th, 2004, 08:07 AM
what does "whitespace" do

λ
November 14th, 2004, 09:44 AM
http://www.blooberry.com/indexdot/css/properties/text/whitespace.htm