|
Unit 4
Feb 14, 2016 20:39:24 GMT -8
Post by Hamid M on Feb 14, 2016 20:39:24 GMT -8
|
|
|
Unit 4
Feb 14, 2016 21:54:43 GMT -8
Post by Judy Fontanella on Feb 14, 2016 21:54:43 GMT -8
You did a really good job on your layout. Super work with your floats and using the box-sizing property.
You have finished with the requirements for this assignment, but there is something that I'd like to bring to your attention. Take a look at code view for your page. You'll see a lot of this code: <p> </p>
That creates an empty paragraph. Dreamweaver users often hit the return key repeatedly to create space beneath an element. When you hit the return key, it's writing the code above into your page. It's adding markup to your html.
When you want white space between elements on your page, it's much better and more standards compliant to use CSS to add top or bottom margins to your elements. You want to avoid using any more html markup than is absolutely necessary.
|
|
|
Unit 4
Feb 15, 2016 9:11:46 GMT -8
Post by Hamid M on Feb 15, 2016 9:11:46 GMT -8
I am sorry, I was trying to match the height with nav using empty paragraph instead of using height property in CSS which I coded for nav. I will keep in mind to avoid this practice in the future.
Hamid
|
|
|
Unit 4
Feb 16, 2016 12:01:08 GMT -8
Post by Judy Fontanella on Feb 16, 2016 12:01:08 GMT -8
No need to feel sorry. We will be covering a lot of this as we go, and I don't expect that you'll know it all yet. It was just a chance for me to point out something important in Web design.
|
|