Ids classes-floats
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Ids classes-floats

on

  • 671 views

 

Statistics

Views

Total Views
671
Views on SlideShare
671
Embed Views
0

Actions

Likes
0
Downloads
10
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ids classes-floats Presentation 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