Jump to content

header

- - - - -

  • Please log in to reply
2 replies to this topic

#1
shivam

shivam

    Newbie

  • Members
  • PipPip
  • 27 posts
the header <div> is leaving space on top,left and right ..
what is the best method to remove this space ?

#2
Some1

Some1

    Newbie

  • Members
  • Pip
  • 7 posts

#header

{


top:0px; /*stick to the top*/

padding-left:0px;

padding-right:0px;

}


try with this,not sure 100% it will work

#3
Mark Wylde

Mark Wylde

    Learning Programmer

  • Members
  • PipPipPip
  • 46 posts
Or try removing the margin and padding from the body:

body{

   padding: 0px;

   margin: 0px

}


If you don't have an external CSS file try putting the above code inbetween the <style></style> tag




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users