I am new to learning CSS. I have a task for my course where I need to style just one page (you can view the tablet mockup here: Mockup-tablet).
However, I'm having trouble with my div elements not displaying correctly. On desktop, one is on the second line instead of inline, and the tablet style is also off, but I can't figure out why. I was advised to use a dedicated div enclosing my elements, but that didn't work either.
You can find my code here: http://codepen.io/anon/pen/dOvbeq
<!DOCTYPE html>
<html>
... (code continues)
...
<p>Any help on this issue is greatly appreciated.</p>
<p>Despite trying various suggestions provided in the answers, I made some edits to the row element like this, but the problem persists:</p>
<pre><code>.row {
width: 100%;
margin: 0px;
border: 1px solid black;
}
Could there be another div that needs modification?