CSS in building own webpage

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Building a webpage from scratch #6

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

Oops, try again. The right column doesn’t appear to be 160px. The left column does not appear have a right margin of 170px.


.left_column {
margin-right: 170px}
.right_column {
float: right;
width: 160px;}

html file has the classes set to the div’s they’re supposed to go on and the right column is first in the html file. just the css is wrong.

<do not remove the three backticks above>

When writing a rule set, be sure to give the closing brace its own line, that way it is easier to see if any semi-colons are missing.


Agreed indentation will help in both the html and css documents, I had to double-back to find a missing semicolon :handshake: :tada:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.