need CSS pro for unwanted image border

Discussion in 'CSS' started by rgordon83, Dec 19, 2007.

  1. #1
    there is a border around my image/link in the sidebar and on the bottom of http://iwongamesforcash.com (the signup image)

    how can i remove this.

    here is the CSS from the template:

    /*
    Theme Name: Dipdolt V1
    Theme URI: http://www.darjanpanic.com
    Description: Dipdolt V1 Template v1 by Brian Green and Darjan Panic. Use it however you want, just please leave the links in the footer :) Now go out there and enjoy blogging.
    Version: 1.0
    Author: Brian Green and Darjan Panic
    */

    body {
    margin:0;
    font-family:"Trebuchet MS", Arial, Verdana;
    font-size:0.74em;
    color:#555555;
    background: url(images/bg.gif) repeat-y center;
    text-align:left;

    }

    input {
    background-color:#555555;
    padding:3px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#555555;
    border:1px solid #4D87CE;
    background-color:#0A71A7;
    margin-bottom:2px;
    }
    input[type=submit] {
    background-color:#555555;
    padding:3px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#666666;
    border:1px solid #4D87CE;
    margin-bottom:2px;
    }


    ol,ul {

    }

    li {
    list-style-image:url(images/li.gif);
    line-height:20px;
    text-align:left;
    }


    #header {
    text-align:left;
    width:550px;
    height:225px;
    padding-right:200px;
    }



    #warning {
    width: 560px;
    }
    #footer {
    font-size: 10px;
    text-align: center;
    padding-top: 30px;
    }
    #header h1 {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:30px;
    text-transform:uppercase;
    font-weight:normal;
    margin:0;
    padding:0;
    padding-top:5px;
    color:#736451;
    margin-bottom:10px;
    text-align:left;
    }
    #header h2 {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:15px;
    text-transform:uppercase;
    text-align:left;
    font-weight:normal;
    margin:0;
    padding:0;
    color:#000000;
    border-bottom:1px solid #eeeeee;
    }

    #content {
    width:750px;
    height:auto;
    margin:0 auto 0 auto;
    text-align:left;
    }


    .logo {
    margin-top:10px;
    }
    .clearer {
    clear:both;
    }

    #sidebar {
    width:150px;
    float:right;
    font-size:95%;
    color:#4f9eff;
    text-align:left;
    }

    #sidebar ol,ul {
    padding: 5px;
    margin: 5px;
    }

    #sidebar li {
    list-style:none;
    list-style-image:none;
    line-height:20px;
    text-align:left;

    }

    #sidebar h3 {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:20px;
    text-transform:uppercase;
    font-weight:normal;
    border-bottom:1px solid #4f9eff;
    color:#4f9eff;
    text-align:left;
    }

    #sidebar a:link{
    color: #555555;
    text-decoration: none;
    }

    #sidebar a:visited{
    color: #555555;
    text-decoration: none;
    }

    #sidebar a:hover{
    color: #555555;
    text-decoration: underline;
    }
    #meni a:link {
    color:#555555;
    text-decoration:none;
    padding: 3px;
    marging: 3px;

    }
    #meni a:visited {
    color:#555555;
    text-decoration:none;
    padding: 3px;
    marging: 3px;

    }

    #meni a:hover {
    /* border-bottom:1px solid #555555;
    border-left:1px solid #4D87CE;
    border-right:1px solid #7FD3EB;

    color:#000000;
    background-color:#555555;
    line-height: 14px; */

    text-decoration:underline;
    }


    #mainbar {
    margin-right:185px;
    padding-right:35px;
    background-position:top right;
    background-repeat:no-repeat;
    }
    #mainbar h1 {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:25px;
    text-transform:uppercase;
    font-weight:normal;
    border-bottom:1px solid #eeeeee;
    color:#4D87CE;
    }
    #mainbar h2 {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:25px;
    text-transform:uppercase;
    font-weight:normal;
    border-bottom:1px solid #eeeeee;
    color:#4D87CE;
    }



    #mainbar .articleimg {
    padding:5px;
    border:1px solid #eeeeee;

    }

    #mainbar a {
    color:#1C90B1;
    text-decoration:none;
    }
    #mainbar a:hover {
    color:#2a65ad;
    text-decoration:underline;
    }

    .style1 {color: #FF0033}
    .style2 {
    color: #555555;
    font-weight: bold;
    }
    .style3 {font-size: 2em}
    .green {color:#009900}
    .red {color:#FF0000}
    .orange {color:#FF9900}

    .pad {
    padding: 5px;
    }

    .bigtext {
    font-family:"trebuchet MS";
    font-size: 18px;
    color: #1C90B1;
    }
    .bigtext a:link{
    font-family:"trebuchet MS";
    font-size: 18px;
    color: #1C90B1;
    text-decoration: none;
    }
    .bigtext a:visited{
    font-family:"trebuchet MS";
    font-size: 18px;
    color: #1C90B1;
    text-decoration: none;
    }
    .bigtext a:hover{
    font-family:"trebuchet MS";
    font-size: 18px;
    color: #1C90B1;
    text-decoration: underline;
    }

    .warning {
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
    color: red;
    font-size:40px;
    font-weight:bold;
    }
    .warning2 {
    color: red;
    font-size:23px;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
    }
    .warning3 {
    color: red;
    }
    .will {
    color: green;
    font-size:40px;
    font-weight:bold;
    }
    .will2 {
    color: green;
    font-size:23px;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
    }
    .will3 {
    color: green;
    }

    .bigtext2 {
    font-family:"trebuchet MS";
    font-size: 18px;
    color: red;
    }
    .bigtext3 {
    font-family:"trebuchet MS";
    font-size: 18px;
    color: green;
    }

    .pagenav {
    margin: 0px;
    padding: 0px;
    }

    .titletop {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:30px;
    text-transform:uppercase;
    font-weight:normal;
    margin:0;
    padding:0;
    padding-top:5px;
    color:#736451;
    margin-bottom:10px;
    text-align:left;

    }

    .titletop a{
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:30px;
    text-transform:uppercase;
    font-weight:normal;
    margin:0;
    padding:0;
    padding-top:5px;
    color:#736451;
    margin-bottom:10px;
    text-align:left;
    text-decoration: none;
    }

    .titlesub {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:15px;
    text-transform:uppercase;
    text-align:left;
    font-weight:normal;
    margin:0;
    padding:0;
    color:#000000;
    border-bottom:1px solid #eeeeee;


    }

    .sidetitle {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:20px;
    text-transform:uppercase;
    font-weight:normal;
    border-bottom:1px solid #4f9eff;
    color:#4f9eff;
    text-align:left;

    }

    #meni h2 {
    font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
    font-size:20px;
    text-transform:uppercase;
    font-weight:normal;
    border-bottom:1px solid #4f9eff;
    color:#4f9eff;
    text-align:left;
    }

    blockquote {
    border-left: 5px solid #4D87CE;
    color: #4D87CE;
    }

    #feed {
    padding:5px;
    height: 40px;
    width: 140px;
    color: #4D87CE;
    background: #555555;
    }
     
    rgordon83, Dec 19, 2007 IP
  2. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #2
    img {
    border: 0;
    }


    PRO!
     
    live-cms_com, Dec 19, 2007 IP
  3. rgordon83

    rgordon83 Peon

    Messages:
    671
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #3
    nice! thanks. i didn't think it would be that easy. guess i should have tried. thanks!
     
    rgordon83, Dec 19, 2007 IP
  4. blacknet

    blacknet Active Member

    Messages:
    709
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    70
    #4
    if it's only on linked imaegs then be a little more specific:
    a img {
    border-width:0;
    border-style:none;
    }
    the two values ensures your rules get followed in all browsers.. :)
     
    blacknet, Dec 20, 2007 IP