Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Water_Drop theme white border  (Read 4371 times)

0 Members and 1 Guest are viewing this topic.

atsite

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Water_Drop theme white border
« on: October 25, 2009, 07:51:50 am »

My gallery: http://annatorv.com/gallery

Everything has gone great so far with modifying the theme except for one thing: there is a thick white border around the gallery, and I can't get rid of it.
I read this thread:
http://forum.coppermine-gallery.net/index.php/topic,62132.0.html
But my background is already set to #000000, and I looked everywhere else on the CSS but can't seem to find it. I'm also trying to figure it out with Firebug, but I can't pinpoint the problem. Can anyone help?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Water_Drop theme white border
« Reply #1 on: October 25, 2009, 02:43:20 pm »

Your stylesheet is invalid: http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fannatorv.com%2Fgallery%2F returns some serious mistakes. Most serious of all is the presence of HTML tags in your CSS file (the <textarea> command doesn't belong into the file!). Replace the current content of http://annatorv.com/gallery/themes/water_drop/style.css with
Code: [Select]
html > body {
        background-color: #000000;
        font-family: Arial, Verdana, Geneva, sans-serif;
        font-size : 2px;
        color: #000000;
        margin: 0px;
}
table {
        font-size : 12px;
}
h1{
        font-weight: normal;
        font-size: 2px;
        font-family: "Century Gothic", Arial, Verdana, Helvetica, sans-serif;
        text-decoration: none;
        line-height : 120%;
        color: #95cadc;
        margin: 2px;
}
h2 {
        font-family: Arial, Helvetica, sans-serif;
        background-image : url(images/box_left_icon.gif);
        background-repeat : no-repeat;
        background-position : left;
        padding-left : 18px;
        font-size: 18px;
        margin: 0px;
}
h3 {
        font-weight: normal;
        font-family: Arial, Verdana, Geneva, sans-serif;
        font-size: 10px;
        margin: 2px;
}
p {
        font-family: "Century Gothic", Arial, Helvetica, sans-serif;
        font-size: 100%;
        margin: 2px 0px;
}
ul {
        margin-left: 5px;
        padding: 0px;
}
li {
        margin-left: 10px;
        margin-top: 4px;
        margin-bottom: 4px;
        padding: 0px;
        list-style-position: outside;
        list-style-type: disc;
}
.textinput {
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size: 100%;
        border: 0px solid #D1D7DC;
        padding-right: 3px;
        padding-left: 3px;
}
.listbox {
        font-family: Arial, Verdana, Geneva, sans-serif;
        font-size: 100%;
        border: 0px solid #D1D7DC;
        vertical-align : middle;
}
.button {
        font-family: "Century Gothic", Arial, Helvetica, sans-serif;
        font-size: 100%;
        border: 0px solid #000000;
        background-image : url(images/button_bg.gif);
        background-position : bottom;
}
.comment_button {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 100%;
        border: 0px solid #000000;
        background-image : url(images/button_bg.gif);
        background-position : bottom;
        padding-left: 3px;
        padding-right: 3px;
}
.radio {
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size: 100%;
        vertical-align : middle;
}
.checkbox {
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size: 100%;
        vertical-align : middle;
}
a {
        color: #E6F9FF;
        text-decoration: none;
}
a:hover {
        color: #95cadc;
        text-decoration: underline;
}
.bblink a {
        color: #95cadc;
        text-decoration: none;
}
.bblink a:hover {
        color: #95cadc;
        text-decoration: underline;
}
.maintable {
        border: 0px solid #95CADC;
        background-color: #ffffff;
        margin-top: 1px;
        margin-bottom: 1px;
}
.tableh1 {
        font-family: Century Gothic, Arial, Geneva, sans-serif;
        background : #95cadc;
        color: #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}
.tableh1_compact {
        font-family:  "Century Gothic", Arial, Geneva, sans-serif;
        background : #95CADC ;
        color: #FFFFFF;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
}
.tableh2 {
        background: #95cadc;
        color : #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}
.tableh2_compact {
        background: #95cadc  ;
        color : #FFFFFF;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
}
.tableb {
        background: #95cadc ;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}
.tableb_compact {
        background: #dfebef ;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
}
.tablef {
        background: #FFFFFF ;
        padding-top: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
}
.catrow_noalb {
        background: #DFEBEF ;
        color : #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}
.catrow {
        background: #DFEBEF ;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}
.album_stat {
        font-size : 85%;
        margin: 5px 0px;
}
.thumb_filename {
        font-size: 80%;
        display: block;
}
.thumb_title {
        font-weight : bold;
        font-size: 80%;
        padding: 2px;
        display : block;
}
.thumb_caption {
        font-size: 80%;
        padding: 1px;
        display : block;
}
.thumb_caption a {
        text-decoration: underline;
        color: #000000;
}

.thumb_num_comments {
        font-weight: normal;
        font-size: 85%;
        padding: 2px;
        font-style : italic;
        display : block;
}
.user_thumb_infobox {
        margin-top: 1px;
        margin-bottom: 1px;
}
.user_thumb_infobox th {
        font-weight : bold;
        font-size: 100%;
        margin-top: 1px;
        margin-bottom: 1px;
        text-align : center;
}
.user_thumb_infobox td {
        font-size: 85%;
        margin-top: 1px;
        margin-bottom: 1px;
        text-align : center;
}
.user_thumb_infobox a {
        text-decoration: none;
        color: #000000;
}
.user_thumb_infobox a:hover {
        color: #95cadc;
        text-decoration: underline;
}
.sortorder_cell {
        background : #95cadc ;
        color: #FFFFFF;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 20px;
        margin: 0px;
}
.sortorder_options {
        font-family: "Century Gothic", Verdana, Arial, Helvetica, sans-serif;
        background : #95cadc ;
        color: #FFFFFF;
        padding: 0px;
        margin: 0px;
        font-weight: normal;
        font-size: 80%;
        white-space: nowrap;
}
.navmenu {
        font-family: "Century Gothic", Arial, Verdana, Geneva, sans-serif;
        color: #ffffff;
        font-weight: normal;
        background : #95cadc ;
        border-style: none;
}
.navmenu img {
        margin-top: 1px;
        margin-right: 5px;
        margin-bottom: 1px;
        margin-left: 5px;
}
.navmenu a {
        display: block;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
        text-decoration: none;
        color: #000000;
}
.navmenu a:hover {
        background : #FFFFFF ;
        text-decoration: none;
        color:         #95cadc;
}
.admin_menu_thumb {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 90%;
        border: 1px solid #FFFFFF;
        background-image : url(images/button_bg.gif);
        background-position : bottom;
        color: #000000;
        font-weight: bold;
        margin-top: 0px;
        margin-bottom: 0px;
        width: 50px;
}
.admin_menu_thumb a {
        color: #000000;
        text-decoration: none;
        display: block;
        position: relative;
        padding-top: 1px;
        padding-bottom: 1px;
        padding-left: 10px;
        padding-right: 10px;
}

.admin_menu_thumb a:hover {
        color: #95cadc;
        text-decoration: underline;
}
.admin_menu {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 90%;
        border: 0px solid #000000;
        background-image : url(images/button_bg.gif);
        background-position : bottom;
        background-repeat: repeat-x;
        background-color: #FFFFFF;
        color: #000000;
        margin-top: 0px;
        margin-bottom: 0px;
        text-align: center;
}
.admin_menu a {
        color: #000000;
        text-decoration: none;
        display: block;
        position: relative;
        padding-top: 1px;
        padding-bottom: 1px;
        padding-left: 2px;
        padding-right: 2px;
}
.admin_menu a:hover {
        color: #95cadc;
        text-decoration: underline;
}
td #admin_menu_anim {
        background-image : url(images/button_bg_anim.gif);
}
.comment_date{
        color : #95cadc;
        font-size: 90%;
        vertical-align : middle;
}
.image {
        border-style: solid;
        border-width:1px;
        border-color: #000000;
padding: 2px;
        margin: 3px;
}
.imageborder {
        border: 1px solid #000000;
        background-color: #FFFFFF;
        margin-top: 30px;
        margin-bottom: 30px;
}
.display_media {
        background: #dfebef;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}
.thumbnails {
        background: #DFEBEF ;
        padding: 5px;
}
.footer {
        font-size : 12px;
}
.footer a {
        text-decoration: none;
        color: #DFEBEF;
}
.footer a:hover {
        color: #DFEBEF;
        text-decoration: italic;
}
.statlink {
        color: #DFEBEF;
}
.statlink a {
        text-decoration: none;
        color: #DFEBEF;
}
.statlink a:hover {
        color: #DFEBEF;
        text-decoration: normal;
}
.alblink a {
        text-decoration: normal;
        color: #DFEBEF;
}
.alblink a:hover {
        color: #ffffff;
        text-decoration: normal;
}
.catlink {
        display: block;
        margin-bottom: 2px;
}
.catlink a {
        text-decoration: normal;
        color: #000000;
}
.catlink a:hover {
        color: #95cadc;
        text-decoration: normal;
}
.topmenu {
        font-family: "Century Gothic", Arial, Verdana, Geneva, sans-serif;
        line-height : 130%;
        font-size : 110%;
}
.topmenu a {
        color : #0033CC;
        text-decoration : none;
}
.topmenu a:hover  {
        color : #0033CC;
        text-decoration : normal;
}
.img_caption_table {
        border: none;
        background-color: #000000;
        width : 100%;
        margin : 0px;
}
.img_caption_table th {
        background: #000000 ;
        font-size : 100%;
        color : #000000;
        padding-top: 4px;
        padding-right: 10px;
        padding-bottom: 4px;
        padding-left: 10px;
        border-top : 1px solid #FFFFFF;
}
.img_caption_table td {
        background: #000000 ;
        padding-top: 6px;
        padding-right: 10px;
        padding-bottom: 6px;
        padding-left: 10px;
        border-top : 1px solid #FFFFFF;
        white-space: normal;
}
.debug_text {
        border: #BDBEBD;
        background-color: #EFEFEF;
        width : 100%;
        margin : 0px;
}
.clickable_option {
        cursor : default;
}
.listbox_lang {
        color: #000666;
        background-color: #000000;
        border: 1px solid #FFFFFF;
        font-size: 80%;
        font-family: Arial, Helvetica, sans-serif;
        vertical-align : middle;
}
#vanity a {
color: #000000;
background-color: #000000;
        display:block;
        width:57px;
        height:20px;
        margin: 3px 20px;
}
#vanity img {border:0}
#v_php {float:left;background-image:url(../../images/powered-php.gif);}ta
#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
#v_css {float:right;background-image:url(../../images/valid-css.gif);}
#v_css:hover{background-image:url(../../images/h_valid-css.gif);}
and your issues should go away.
Logged

atsite

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Water_Drop theme white border
« Reply #2 on: October 25, 2009, 03:45:02 pm »

Thank you so much, that fixed it  ;D Great job around here!
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.