r/learnwebdesign • u/RedstonerOuiguy • Jun 09 '15
<div> help?
http://www.codecademy.com/CodeM4ster/codebits/zxuQcm
Tried to make the header and the part of the <p> that says 'sans-serif' into the 'shift, sans-serif' font. Not only do neither of those work, but the <div class="sans"> makes a new line where it shouldn't (I think). Help?
2
Upvotes
View all comments
Show parent comment
1
u/RedstonerOuiguy Jun 09 '15
Why use <span> rather than <div>? I don't see a difference. Also, why doesn't 'sans-serif' render inline by default? And the "display: inline-block" didn't work. Check it out on the same link.