Krewe Posted April 8, 2012 Share Posted April 8, 2012 The HTML padding/margin is f'ing up for some reason... And I can't for the life of me figure out why.This is my CSS: html, body{margin: 0px;padding: 0px;} This should be all shouldn't it? Yet there is a ~20px padding on the top and bottom of my html. Http://www.codekrewe.com/BookReview/website/index.php Thanks... Link to comment Share on other sites More sharing options...
Krewe Posted April 8, 2012 Author Share Posted April 8, 2012 The HTML padding/margin is f'ing up for some reason... And I can't for the life of me figure out why.This is my CSS: html, body{margin: 0px;padding: 0px;} This should be all shouldn't it? Yet there is a ~20px padding on the top and bottom of my html. Http://www.codekrewe.com/BookReview/website/index.php Thanks... (Edit: Sorry, in my rush posting I put an CSS question about HTML Tag in the HTML Forum My bad)(Editx2: ... and then in my rush to edit I quoted instead of editing... Grrr sorry) Link to comment Share on other sites More sharing options...
Krewe Posted April 8, 2012 Author Share Posted April 8, 2012 -.- Stupid P tags messing stuff up!I fixed it, a p tag holding a test message was causing the unwanted margin. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.