From: Fredrik Unger Date: Tue, 8 Mar 2011 13:54:02 +0000 (+0100) Subject: Changing the references to images to /images as relative linking does not work X-Git-Tag: v1.0~32 X-Git-Url: https://source.tree.se/git?p=treecutter.git;a=commitdiff_plain;h=71f417a4a5f4264441be47036271467fbfb7ba29 Changing the references to images to /images as relative linking does not work with deeper levels. --- diff --git a/style/adropabove/css/styles.css b/style/adropabove/css/styles.css index 7e1722f..2bdfce3 100644 --- a/style/adropabove/css/styles.css +++ b/style/adropabove/css/styles.css @@ -12,7 +12,7 @@ display: block; body { line-height: 1; -background: #f1f1f1 url("images/bg.gif") repeat; +background: #f1f1f1 url("/images/bg.gif") repeat; font-family: Verdana, Arial, Helvetica, sans-serif; color: #666; font-size: 14px; @@ -41,14 +41,14 @@ header { width: 940px; height: 200px; margin: 0 auto; -background: #fff url(images/headerimg.jpg) no-repeat left top; +background: #fff url(/images/headerimg.jpg) no-repeat left top; } #main { width: 940px; margin: 0 auto; padding-top: 30px; -background: #FFF url(images/colbg.png) repeat-y; +background: #FFF url(/images/colbg.png) repeat-y; overflow: hidden; } diff --git a/style/adropabove/css/superfish.css b/style/adropabove/css/superfish.css index 0d90ba2..234beeb 100644 --- a/style/adropabove/css/superfish.css +++ b/style/adropabove/css/superfish.css @@ -94,7 +94,7 @@ ul.sf-menu li li li.sfHover ul { height: 10px; text-indent: -999em; overflow: hidden; - background: url('images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ + background: url('/images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ } a > .sf-sub-indicator { /* give all except IE6 the correct values */ top: .8em; @@ -123,7 +123,7 @@ li.sfHover > a > .sf-sub-indicator { /*** shadows for all but IE6 ***/ .sf-shadow ul { - background: url('images/shadow.png') no-repeat bottom right; + background: url('/images/shadow.png') no-repeat bottom right; padding: 0 8px 9px 0; -moz-border-radius-bottomleft: 17px; -moz-border-radius-topright: 17px; diff --git a/style/bluenightsky/css/styles.css b/style/bluenightsky/css/styles.css index 146e482..f817795 100644 --- a/style/bluenightsky/css/styles.css +++ b/style/bluenightsky/css/styles.css @@ -45,7 +45,7 @@ background: #000; width: 940px; margin: 0 auto; padding-top: 30px; -background: #d5def7 url(images/colbg.png) repeat-y; +background: #d5def7 url(/images/colbg.png) repeat-y; overflow: hidden; } diff --git a/style/freggies/css/styles.css b/style/freggies/css/styles.css index 34eb8d8..6cdfb81 100644 --- a/style/freggies/css/styles.css +++ b/style/freggies/css/styles.css @@ -42,7 +42,7 @@ header { width: 940px; height: 200px; margin: 0 auto; -background: #fff url(images/headerimg.jpg) no-repeat left top; +background: #fff url(/images/headerimg.jpg) no-repeat left top; } #main { diff --git a/style/turquoiseswirls/css/style.css b/style/turquoiseswirls/css/style.css index 1d6aa4e..5134ce8 100644 --- a/style/turquoiseswirls/css/style.css +++ b/style/turquoiseswirls/css/style.css @@ -73,7 +73,7 @@ img.framed { header { height: 200px; position: relative; - background: url(images/roundedheader.png); + background: url(/images/roundedheader.png); margin-top: 10px; } @@ -245,7 +245,7 @@ aside#right h3 { } aside ul {list-style-position: inside; -list-style-image: url(images/redarrow.gif);} +list-style-image: url(/images/redarrow.gif);} aside li { color: #696969;