Jump to content

michaelsavior5

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by michaelsavior5

  1. The problem is the float. It is not needed if you want the red section on top. If the red section is your header, then in your html let it come first and specify the margin only once like this,.headerwrap{ width:100%; height:50px; margin:0px auto; background-color:red;}

  2. I agree with newseed. It is a best option to specify your styling in a separate file, that way you have control over all the elements on your page. It also helps you to work faster and reduces the page loading rate.

×
×
  • Create New...