From 597c52097954f47e89451fea0086cf9c606be7d2 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Thu, 22 May 2008 16:28:05 +0200 Subject: [PATCH 1/1] further fix div-floating Signed-off-by: Andreas Unterkircher --- themes/default/stylesheet.css | 17 ++++++++--------- themes/default/templates/photo_index.tpl | 20 ++++++++++---------- themes/default/templates/single_photo.tpl | 9 +++++---- themes/default/templates/welcome.tpl | 4 ++-- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 07571c9..1c0ebcf 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -86,14 +86,17 @@ div.header { vertical-align: middle; white-space: nowrap; text-align: left; + height: 2em; } -div.subheader { - background-color: #eeeeee; - padding: 5px 10px 5px 10px; - vertical-align: middle; +div.header_title { white-space: nowrap; text-align: left; + float: left; +} + +div.header_menu { + text-align: right; } div.tagresult{ @@ -139,10 +142,6 @@ div.indexnavigationcenter{ text-align: center; } -div.textright { - text-align: right; -} - div.welcome { padding: 10px; margin-left: 10px; @@ -221,7 +220,7 @@ div.thumb a.thumblink:hover { color: #4761ab; } -.clearboth { clear: both; } +.cb { clear: both; } #photo_details { width: 150px; diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 95fbb72..b8c0365 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -3,7 +3,7 @@
-
+
Photo Index {if $searchfor } {if $count == 1} @@ -29,7 +29,7 @@ Results are limited to a date within {$from_date} to {$to_date}. {/if}
-
+
{if $slideshow_link }  Slideshow {/if} @@ -50,14 +50,14 @@ { if $tag_result } -
- -
- Tags: -
-
- { $selected_tags } -
+
+ +
+ Tags: +
+
+ { $selected_tags } +
{ /if } diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 8cd5aa5..97ef0cf 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -1,6 +1,6 @@
-
+
Photo {$image_name}
{if $photo_count > 0} {$photo_number} of {$photo_count} @@ -14,7 +14,7 @@ {/if} {/if}
-
+
@@ -26,7 +26,8 @@
-
+

+

{ if $ExifMadeWith } camera icon Image taken with:
@@ -96,7 +97,7 @@ { /if}
-
+