Posted By

cbx on 01/09/09


Tagged

css box


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

basicmagic
rwczippy
jeremyhcobb
snipplrhanz


Eleagent CSS Box


 / Published in: CSS
 

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

A simple CSS box .

  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>

Report this snippet  

You need to login to post a comment.