Permalink
Browse files

Add cart info to header

  • Loading branch information...
1 parent 50460da commit 3e97cff7ca81d8a0e315d86bb8b619400c128cf5 @quirkey quirkey committed Jan 1, 2010
Showing with 14 additions and 1 deletion.
  1. +3 −0 index.html
  2. +11 −1 stylesheets/jsonstore.css
View
@@ -12,6 +12,9 @@
<div id="container">
<div id="header">
<h1>The JSON Store</h1>
+ <div class="cart-info">
+ My Cart (<span class="cart-items">0</span> items)
+ </div>
</div>
<div id="main">
</div>
View
@@ -19,7 +19,17 @@ body {
color: #FFF;
margin: 0px;
}
-
+#header .cart-info {
+ position: absolute;
+ top: 0px;
+ right: 0px;
+ text-align: right;
+ padding: 10px;
+ background: #714625;
+ color: #FFF;
+ font-size: 12px;
+ font-weight: bold;
+}
img {
border: 0;
}

0 comments on commit 3e97cff

Please sign in to comment.