Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Minus margin at the top
(1 viewing) (1) Guest
All your queries regarding CSS will be solved in this forum
  • Page:
  • 1
TOPIC:

Minus margin at the top

Minus margin at the top 10 months ago #712

  • patrica
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Karma: 0
Hi,
For some reason, my website page always has a -40 px white margin at the top that I can't get rid of. I've change my body padding/margin to zero from all sides but that doesnt work.

Re: Minus margin at the top 10 months ago #714

  • shama
  • OFFLINE
  • Senior Boarder
  • Posts: 63
  • Karma: 0
#logo
{
float: left;
margin-bottom: 20px;
margin-left: 325px;
width: 400px;
}

Removing float:left; will get rid of the space.
  • Page:
  • 1
Time to create page: 1.08 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download