SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    May 2013
    Posts
    203
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    what to do to delete top white-space at most code taken from the book "css3 4e, SiteP

    what to do to delete top white-space at http://www.paphoscarhire.mobi/Droush...pts/main2.html most code taken from the book "css3 4e, SitePoint" => 3 col layout wide header/footer but NOT responsive.

    well? i inspect element in chrome but seems css has no property to disable...

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,579
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    Hi, lse123, welcome to the fourms.

    The body has padding-top of 70px applied. Reduce that value or delete that property to change the amount of white space at the top of the page:

    Code:
    body {
        color: #232525;
        font: 15px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
        padding-top: 70px;
    }

  3. #3
    SitePoint Addict
    Join Date
    May 2013
    Posts
    203
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    solved


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •