summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2009-02-21 13:27:16 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2009-02-21 13:27:16 -0500
commitffae54c6d920593817de9b1370632d196615dc38 (patch)
tree131efd0b1572e679e465c1143989b688beeefc70
parent7aa9ac5d5cc30752f7f7ae267492eaec2a917570 (diff)
downloadpillowcase-ffae54c6d920593817de9b1370632d196615dc38.tar.gz
pillowcase-ffae54c6d920593817de9b1370632d196615dc38.tar.bz2
pillowcase-ffae54c6d920593817de9b1370632d196615dc38.zip
Popped date to the left, fixing centering problems
-rwxr-xr-xindex.php2
-rwxr-xr-xstyle.css22
2 files changed, 14 insertions, 10 deletions
diff --git a/index.php b/index.php index 951e2bb..50e381c 100755 --- a/index.php +++ b/index.php
@@ -23,7 +23,7 @@ $getimage3 = mysql_fetch_array($getimage2);
23 </DIV> 23 </DIV>
24 24
25 <DIV CLASS="title"> 25 <DIV CLASS="title">
26 <H1><?php echo($getimage3['title']); ?></H1> 26 <H2><?php echo($getimage3['title']); ?></H2>
27 </DIV> 27 </DIV>
28 </DIV> 28 </DIV>
29 29
diff --git a/style.css b/style.css index 43e5568..6894969 100755 --- a/style.css +++ b/style.css
@@ -1,6 +1,8 @@
1div#wrap { 1div#wrap {
2 margin: 0 auto; 2 margin: 0 auto;
3 width: 31.25em; 3 width: 31.25em;
4 padding: 0 3.5em;
5 position: relative;
4} 6}
5 7
6div.post { 8div.post {
@@ -8,24 +10,20 @@ div.post {
8} 10}
9 11
10div.date { 12div.date {
11 float: left;
12 background-color: #cccccc; 13 background-color: #cccccc;
13 text-align: center; 14 text-align: center;
14 text-transform: uppercase; 15 text-transform: uppercase;
15 font-family: Arial; 16 font-family: Arial;
16 padding: 4px; 17 padding: 4px;
17 margin-right: 4px;
18 width: 3em; 18 width: 3em;
19 height: 3.5em; 19 position: absolute;
20 left: 0;
20} 21}
21 22
22div.title { 23div.title {
23 padding-top: 4px; 24 height: 3.65em;
24 width: 28em; 25 font-size: 110%;
25 min-height: 3.5em; 26 padding-top: 0.1em;
26 letter-spacing: -1px;
27 font-style: "Trebuchet MS", Tahoma, Arial;
28 line-height: 100%;
29} 27}
30 28
31h1 { 29h1 {
@@ -33,6 +31,12 @@ h1 {
33 font-family: Arial; 31 font-family: Arial;
34} 32}
35 33
34h2 {
35 text-align: center;
36 font-family: Arial;
37 margin: 0;
38}
39
36div.cleardiv { 40div.cleardiv {
37 clear: both; 41 clear: both;
38} 42}