Eleagent CSS Box


/ Published in: CSS
Save to your folder(s)

A simple CSS box .


Copy this code and paste it in your HTML
  1. #hours {
  2. background-color: #f5f2ed;
  3. border: 1px solid #b2b2b2;
  4. padding: 3px 10px 5px 10px;
  5. font-size: 90%;
  6. width:150px;
  7. }
  8.  
  9. #hours h3 {
  10. margin-top: 3px;
  11. border-bottom: 1px dotted #b2b2b2;
  12. color: #003366;
  13. text-align: center;
  14. }
  15.  
  16. ------------------
  17.  
  18.  
  19. <div id="hours">
  20. <h3>Hours: <span class="smaller">Perkins / Bostock</span></h3>
  21. <p class="center smaller bold">Spring Semester 2009<br/>January 7 &#8211; April 22</p>
  22. <div>

URL: http://library.duke.edu/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.