Welcome to the Treehouse Community
Looking to learn something new?
Problem with h1's on Contact and Shirts page
After implementing header and footer .php my h1's seem to be wrong (different font than video and flush left). Any idea as to what might be wrong? header.php contact.php and footer.php below. Thanks!
<html> <head> <title><?php echo"Shirts 4 Mike"; ?></title> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,700" type="text/css">
<link rel="shortcut icon" href="favicon.ico">
<div class="header"> <h1 class="branding-title"><a href="./">Shirts 4 Mike</a></h1> <ul class="nav"> <li class="shirts"><a href="shirts.php">Shirts</a></li> <li class="contact"><a href="contact.php">Contact</a></li> <li class="cart"><a href="#">Shopping Cart</a></li> </ul> </div> </div> <div id="content">
<?php include('inc/header.php'); ?>
<div class="section page"> <hl>Contact</hl> </div>
<?php include('inc/footer.php'); ?>
<div class="footer"> <div class="wrapper"> <ul> <li><a href="http://twitter.com/treehouse">Twitter</a></li> <li><a href="https://www.facebook.com/TeamTreehouse">Facebook</a></li> </ul> <p>©<?php echo date('Y'); ?> Shirts 4 Mike</p> </div> </div>
i did notice when i was doing this one that at a few points there were differences in what i was seeing and what the video was showing. but as it when further they ended up matching up. i think what is in the video is further along then what he is talking about and showing you what to do and what it will look like not what it looks like right that second.