html - Can't remove margins from page -
i having trouble removing side margins page building. have tried setting padding , margin 0 no success. please see attached picture , code. html
<!doctype html> <html> <head> <title>socialsweeper</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/style.css"> <?php if (isset($_cookie['userdata'])) { ?> <script> window.location.href = "explore.php"; </script> <?php } ?> </head> <body>
css
@charset="utf-8"; @import url(http://fonts.googleapis.com/css?family=open+sans:400italic,700italic,700,400); html, body { direction: ltr; padding: 0; margin: 0px; font-family: 'open sans', sans-serif; letter-spacing: 1.5px; }
try css:
* { margin: 0; padding: 0; }
Comments
Post a Comment