Open jmorris-dev opened 6 years ago
Good call on the semantics, @jmorris1990 !
Although @cealicea171 may have made some changes after you submitted your issue, because I don't think your CSS fix will help. I don't see black lines on the top or side now...
https://github.com/cealicea171/more-css-practice/blob/53263a849d719d78c51cf004821317aa1358a731/airbnb/index.html#L10
Instead of using
<div class="header">
and<div class="main">
you can use<header>
and<main>
. This is more semantic in html 5 and should help clean up your css.Apply
top: 0; width: 100%;
to your header element and this should get rid of those black lines on the top and side.