Ids classes-floats

  • 552 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
552
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
10
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PROGRAMMING FOR NON-PROGRAMMERS FRONT-END DEVELOPMENT Chris Castiglione @castig | www.pfnp.meWednesday, February 20, 13
  • 2. #IDS VS .CLASSES 2 #ID You CAN NOT reuse an ID name. Only one per page! .classes You CAN have multiple class namesWednesday, February 20, 13
  • 3. #IDS VS .CLASSES 3 <div  id=”header”> <div  id=”nav”> #main #sidebar <div  id=”footer”>Wednesday, February 20, 13
  • 4. #IDS VS .CLASSES 4 <div  id=”header”> <div  id=”nav”> #main #sidebar <img> <img> <img> <div  id=”footer”>Wednesday, February 20, 13
  • 5. #IDS VS .CLASSES 5 <div  id=”header”> <div  id=”nav”> #main #sidebar <img  class=”frame”> <img  class=”frame”> <img  class=”frame”> <div  id=”footer”>Wednesday, February 20, 13
  • 6. #IDS VS .CLASSES 6 <header> <nav> #main #sidebar <img  class=”frame”> <img  class=”frame”> <img  class=”frame”> <footer>Wednesday, February 20, 13
  • 7. 7 FLOAT & CLEARWednesday, February 20, 13
  • 8. I DONT ALWAYS FLOAT MY DIVSWednesday, February 20, 13
  • 9. I DONT ALWAYS FLOAT MY DIVS BUT WHEN I DO... I CLEAR THEMWednesday, February 20, 13