Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-13 10:04:27

roelof
Member
Registered: 2005-03-27
Posts: 647

images without a border

hello,

I have a funny problem.
on http://www.tamarawobben.nl/test, you can see a image with a purple border.

But in my css everywhere i write border : none except for my contact form.

my css file looks like this :

body
{ background-color: #F9D7F8; color: #000000; font-family: Verdana, “Lucida Grande”, Tahoma, Helvetica; font-size: 13px; line-height: normal
}

p
{ font-family: Verdana, “Lucida Grande”, Tahoma, Helvetica; font-size: 13px; text-align: left; padding-left: 10px; padding-right: 10px; }

a { color: #000000; text-decoration: none; outline: none; }

a:hover { color: #00000; text-decoration: none; }

#sidebar-1 a
{ font-size: 13px; text-align:left ; margin: 0 1em 0 1em; }

#head
{ text-align: center; background: #F9D7F8 url(‘/images/5.jpg’) no-repeat top center; height: 497px; padding: 0; margin: 0;
}

#container
{ width: 800px; \width: 810px; w\idth: 800px; margin: 10px; margin-left: auto; margin-right: auto; padding: 0; background:#F9D7F8 url(‘/images/4.jpg’) repeat-y top center;
}

#sidebar-1
{ float: left; width: 170px; \width: 170px; w\idth: 170px; margin: 10px; margin-left: auto; margin-right: auto; /*margin-left: 20px;*/ /*margin-right: 5px;*/ padding-top: 100px;
}

#content
{ margin-left: 195px; margin-right: 20px; padding-top: 10px; text-align: center;
}
#wrapper { width: 700px; \width: 710px; w\idth: 700px; margin: 10px; margin-left: auto; margin-right: auto; text-align: left; display: block;

}
#foot
{ clear: both; margin-top: 5px; text-align: right; height: 153px; background: #F9D7F8 url(‘/images/3.jpg’) no-repeat top center; font-size: 10px; padding-right: 100px; padding-top: 60px;
}

#sidebar-1 a
{ border: 0px; color: #C00;
}

h1
{ font-weight: normal; text-decoration:none; font-family: Georgia, Times, Serif; font-size: 3em;
}

h2
{ font-weight: normal; font-family: Georgia, Times, Serif; font-size: 1em; font-style: italic; text-indent: 20px;
}

h3
{ font-weight: normal; font-family: georgia, times new roman, serif; font-size: 33px; line-height: 38px; padding-left: 10px; margin: 0; margin-top: 20px; text-align: left;
}

h3 a
{ border: 0px; font-weight: normal; font-family: Georgia, Times, Serif; font-size: 1.5em;
}

h1 a, h2 a
{ border: 0px;
}

input { border: 1px solid #696969; padding: 2px; background-color ::#ffffff ; font-size: 11px; color: #000000; font-family: verdana; }

textarea { border: 1px solid #696969; padding: 2px; font-size: 11px; color: #000000; background-color :#ffffff ; font-family: verdana; width: 300px; }

.rssMonth {

list-style-type : none;
text-indent : 23px;
text-decoration : none;}
}

.rssDay {

list-style-type : none;
text-indent : 35px;
text-decoration : none;}
}

fieldset,label{
border:0;
}

legend {
display : none ;
}

#zemContactForm { width:200px; padding:10px; top:100px; background-color:#F9D7F8; z-index:1; }

/* ———————————— =Comments Form
———————————— */

#commentinput { width:200px; padding:10px; position:fixed; top:100px; background-color:#ffffff ; z-index:1; }
  • html #commentinput { position:relative; float:left; top:10px; }
    #txpCommentInputForm {
    width:200px; padding:10px; position:fixed; top:100px; background-color:#F9D7F8; z-index:1;
}

#commentinput label { text-transform:uppercase; font-size:.8em; }
#name, #email, #web, #message { margin:3px 0 10px 0; padding:3px 0; border:1px solid #999; font-family:verdana; font-size:.9em; background-color:#ffffff ; }
#name {width:120px;}
#remember, #forget {margin-right:3px;}
#email, #web, #message {width:200px;}
#message { font-size:.9em; height:90px; }

#textilehelp { margin-top:10px; font-size:1em; }
#textilehelp h4 { font:1em verdana, arial, helvetica, sans-serif; padding-top:6px; font-weight:bold; clear:both; }
#textilehelp ul { clear:both; }
#textilehelp li { list-style:none; text-indent:0; float:left; padding-left:10px; }

#guestcomment { text-align: left; list-style-type: none;
}

#guestcomment ol { text-indent : -30px ; }

.image
{ float: right ; margin: 20px; border : none ;
}

#lightbox{ position: absolute; top: 40px; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; }

#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }

#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background: transparent url(/images/blank.gif) no-repeat; /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; }

#imageData{ padding:0 10px; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; }

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; filter:alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; }

.clearfix:after { content: “.”; display: block; height: 0; clear: both; visibility: hidden; }

  • html>body .clearfix { display: inline-block; width: 100%; }
  • html .clearfix { /* Hides from IE-mac \*/ height: 1%; /* End hide from IE-mac */ }

who knows how can get rid of the purple border.

please help.

Roelof

Offline

#2 2006-07-13 11:15:46

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: images without a border

Try to add border: none; to your anchor point link definition.

Last edited by Skubidu (2006-07-13 11:53:20)

Offline

#3 2006-07-13 11:21:15

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: images without a border

oke,
Thank you

But what is a anchor point i can use.
I don’t fully understand the anchor child story.

Roelof

Offline

#4 2006-07-13 11:54:03

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: images without a border

just add

a {
  border: none;
}

Offline

#5 2006-07-13 12:12:23

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: images without a border

I’ve also used <code>img {border:none;}</code> to get rid of that border. Using this in your css will remove those borders for all images.


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#6 2006-07-13 12:29:49

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: images without a border

creativesplash

Thank you, your tip did the trick.

Roelof

Offline

Board footer

Powered by FluxBB