Border om Image weg...?

Status
Niet open voor verdere reacties.

Rawox

Gebruiker
Lid geworden
11 jun 2008
Berichten
94
Hey

Uit mijn vorige topic heb ik een antwoord gevonden, toen het was gelukt kwam ik met een andere probleem... Ik zal het eventjes uitleggen

Ik heb een portfolio op http://rawox.freehostia.com. Op de 'art' pagina wil ik allemaal links plaatsen met bijvoorbeeld 'brushes' en 'posters'. Nu heb ik deze twee al afgemaakt. Heb daar een rollover image van gemaakt maar er zit nu nog een border omheen, en als je er met je muis overheen gaat komt er een groen lijntje onder. Ik vind die grijze border en het groene lijntje niet zo mooi, hoe ik dit weghalen?

Je kunt zien wat ik bedoel op: http://rawox.freehostia.com/links/art.html..

Wie, o wie kan mij helpen??
 
Als je naar: http://rawox.freehostia.com/links/art.html gaat dan zie je daar twee links staan... Eentje met Brushes en eentje met Posters. Daar staat een grijze lijn omheen en die wil ik weghebben.

En als je dan je muis over een afbeelding doet komt er een groen stippellijntje onder...
 
Laatst bewerkt:
[edit]
in je css (images/UrbanArtist.css) staat ergens bij /* Links */ deze regel:
PHP:
//css
border-bottom: 1px dotted #438800;
haal deze dan eens weg.
Bij /* Images */ staat dit:
PHP:
//css
img {
	background: #1B1B1B;
   border: 1px solid #1B1B1B;
	padding: 6px;
}
Haal de 'border: ....' en 'padding: ...' regels weg, en het zou moeten werken.
[/edit]
 
Laatst bewerkt:
Dat van HTML had ik al geprobeerd, waar moet ik dat stukje in CSS invoegen?

Dit is het CSS bestand

HTML:
/* ----------------------------------------------
	Template Name : UrbanArtist
	Template Code : S-0025
	Version : 1.0   
	Author : Erwin Aligam
	Author URI : http://www.styleshout.com/       
	Last Date Modified : June 30, 2008	
 ------------------------------------------------ */
 
/* ----------------------------------------------
   HTML ELEMENTS
------------------------------------------------- */ 

/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }

html { background: #010000 url(bg.gif) repeat-x; }

body {
	font: 11px/165% 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif;
	color: #5E5E5E;
	margin: 0; 	padding: 0; 
	background: #010000 url(bg2.jpg) no-repeat center top;
	text-align: center;
}

/* Links */
a, a:visited {
	text-decoration: none;
	color: #BEBEBE;	
}
a:hover {
	color: #fff;
	border-bottom: 1px dotted #438800;
}

/* headers */
h1, h2, h3 {
	font-family: 'Trebuchet MS', Helvetica, Tahoma, Arial, Sans-serif;
	color: #FAFAFA;
}
h1 {
	font-size: 3.1em;	
	letter-spacing: -2px;
	padding: 15px 10px 5px 10px;	
}
h2 {
	font-size: 2em;
	color: #895F30;
	padding: 20px 10px 5px 10px;	
}
h3 {
	font-size: 1.7em;	
	font-weight: normal;
	padding: 20px 10px 5px 10px;		
}

p, dl { padding: 10px; margin: 0; }

ul, ol {
	margin: 10px 20px;
	padding: 0 20px;
}
ul { list-style: none; }

dt {
  font-weight: bold;
  color: #FAFAFA;
}
dd {
  padding-left: 25px; 
}

/* images */
img {
	background: #1B1B1B;
   border: 1px solid #1B1B1B;
	padding: 6px;
}
img.float-right {
  	margin: 5px 0px 10px 10px;  
}
img.float-left {
  	margin: 5px 10px 10px 0px;
}

code {
  	margin: 5px 0;
  	padding: 15px;
  	text-align: left;
  	display: block;
  	overflow: auto;  
  	font: 500 1em/1.5em 'Lucida Console', 'Courier New', Monospace ;
  	/* white-space: pre; */
  	background: #070707;
	border: 1px solid #111;   
}
acronym {
  	cursor: help;
  	border-bottom: 1px dotted #5B5B5B;
}
blockquote {
	margin: 15px 10px;
 	padding: 10px 10px 10px 35px;  
   background: #070707 url(quote.gif) no-repeat 10px 10px;
	border: 1px solid #111; 
	font-weight: normal;
	font-size: 17px;
	line-height: 1.6em;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', Times, serif;	
	color: #808080;	
}

/* start - table */
table {
	margin: 15px 10px; 
	border-collapse: collapse;			
}
th {
	background: #000;
	color: #FAFAFA;
	height: 38px;
	padding-left: 12px;
	padding-right: 12px;	
	text-align: left;
	border-left: 1px solid #211E20;
	border-right: 1px solid #211E20;
	border-bottom: 1px solid #211E20; 
	border-top: 1px solid #48780E;
}
tr {
	color: #5b5b5b;
	height: 34px;		
}
td {
	padding-left: 12px;
	padding-right: 12px;
	border: 1px solid #111;	
	background: #070707; 
}
/* end - table */


/* form elements */
form {
	margin: 20px 10px; 
	padding: 15px 25px 25px 20px; 
	background: #070707; 	
	border: 1px solid #111;	
}
form p {
	border-bottom: 1px solid #101010;
	padding: 12px 0 5px 0;	margin: 0;	
}
label {
	font-weight: bold;	
	color: #FAFAFA;
}
input, select, textarea {
	margin: 5px 0;
	padding: 5px;
	font: normal 1em Verdana, Tahoma, sans-serif;
	color: #6A6969;
	background: #0C0C0C;  
	border: 1px solid #1C1C1C;
}
option { padding-right: 0.5em; } 

#name, #email, #message{
	width: 480px;
}
input.button { 
	font: bold 12px Arial, Verdana, Sans-serif; 
	height: 30px;
	padding: 2px 3px; 
	margin-top: 8px;
	color: #48780E;
	background: #000;
	border-width: 1px;
  	border-style: solid;
  	border-color: #1B1B1B;
}


/* ------------------------------------------
   LAYOUT
------------------------------------------- */ 
#wrap {
	width: 950px;	
	margin: 0 auto;
	text-align: left;		
}
#content-wrap {
	clear: both;
	width: 950px;	
	float: left;	
	padding-top: 15px;
	padding-bottom: 50px;	
	background: url(midline.gif) repeat-y 600px 0;	
	border-top: 1px solid #121212;
	border-bottom: 1px solid #121212;
}
#header {
	position: relative;
	width: 950px;	
	height: 370px;	
	margin: 0; padding: 0;			
}
#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 65px 'Trebuchet MS', Tahoma, Helvetica, Arial, Sans-serif;
	letter-spacing: -1.5px;
	color: #F8F8F8;
	text-decoration: none;
	text-transform: none;
		
	/* change the values of top and left to adjust the position of the logo*/
	top: 123px; left: 30px;	
}
#header h1#logo-text a:hover {
	background: none;	border: none;
}
#header p#intro {
	position: absolute;
	margin: 0; padding: 0;
	font-family: 'Trebuchet MS', Tahoma, Helvetica, Arial, Sans-serif;
	font-weight: bold;
	font-size: 16px;
	line-height: 1.5em;
	font-style: normal;
	text-transform: none;
	color: #6D7D2D;
	width: 400px;
	
	/* change the values of top and left to adjust the position */
	top: 205px; left: 30px;		
}

/*  Navigation  */
#nav {
	position: absolute;
	margin: 0;
	padding: 0;
	height: 50px;
	left: 27px;
	top: 32px;
	width: 756px;
}
#nav ul {
	float: left;
	list-style: none;
	height: 50px;
	margin: 0 0 0 5px; padding: 0;	
	display: inline;
}
#nav ul li {
	display: inline;
	margin: 0; padding: 0;
}
#nav ul li a {
	float: left;
	margin: 0;	padding: 0 12px;
	font: bold 15px/50px 'Trebuchet MS', Helvetica, Arial, Geneva, sans-serif;
	text-decoration: none;	
	color: #c95723;	
	text-transform: uppercase;
}
#nav ul li a:hover, 
#nav ul li a:active {
	color: #eee;
	background: none;
	border: none;
}
#nav ul li#current a {	
	color: #D33972;	
}

/* Main Column */
#main {
	float: left;
	width: 565px;
	padding: 0; margin: 0 0 0 10px;
	display: inline;		
}
#main h2 {
	padding: 5px 12px;
	margin: 15px 5px 10px 5px;
	font: bold 2.4em 'Trebuchet MS', Helvetica, Arial, sans-serif;				
	color: #45D5E6;
	border-bottom: 1px solid #121212; 
	background-image: url(pattern.gif);	
}
#main h2 a {
	color: #45D5E6;
	text-decoration: none;		
	border: none;		
}
#main ul li {
	list-style-image: url(bullet.gif);
}

/* Sidebar */	
#sidebar {
	float: right;
	width: 300px;
	padding: 0; margin: 0px 18px 0 0;		
	display: inline;	
}	
#sidebar h3 {
	padding: 5px 12px;
	margin: 15px 5px 10px 0;
	font: bold 2.4em 'Trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;				
	color: #45D5E6;
	border-bottom: 1px solid #121212; 
	background-image: url(pattern.gif);		
}
#sidebar ul.sidemenu {
	text-align: left;
	margin: 20px 5px 20px 0px; 
	padding: 0;		
	border-top: 1px solid #111;		
}
#sidebar ul.sidemenu li {
	list-style: none;
	padding: 8px 10px;
	margin: 0;		
	border-bottom: 1px solid #111;
}
* html body #sidebar ul.sidemenu li {
	height: 1%;
}
#sidebar ul.sidemenu li a {
	text-decoration: none;	
	border: none;
	color: #666666;
	font-weight: bold;		
	font-family: 'Trebuchet MS', Tahoma, Helvetica, Arial, Sans-serif;
	font-size: 14px;		
}
#sidebar ul.sidemenu li a span {
	color: #444;	
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 11px;
}
#sidebar ul.sidemenu li a:hover,
#sidebar ul.sidemenu li a:hover span {	
	color: #fff;	
}
#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.sidemenu ul li { border: none; }

/* header quick search */
#sidebar form#quick-search {
	padding: 0; margin: 20px 0 35px 0;
	border: none;
	width: 290px; height: 33px;
	background: url(header-search.gif) no-repeat;		
}
#sidebar form#quick-search p {
	margin: 0; padding: 0;		
}
#sidebar form#quick-search input {
	float: left;
	border: none;
	background: transparent;
	color: #4E4E4E;	
	margin: 0;
}
#sidebar form#quick-search .tbox {
	margin: 5px 0 0 5px; 
	width: 240px;	
	display: inline;	
}
#search form#quick-search .btn{
	width: 24px; height: 24px;			
}
#sidebar form#quick-search label {
	display: none;
}

/* footer */
#footer {
	clear: both;
	padding: 1em 0 2.5em 0;
	background: #010000;
	color: #4E4E4E;
	width: 100%;
	float: left;		
	border-bottom: 60px solid #010000;	
}
#footer a {	
	color: #0E909C;
	border: none;
}
#footer a:hover {
	color: #fafafa;
}
#footer .rssfeed {
	background: url(rss.gif) no-repeat left 1px;
	padding-left: 17px;
}
#footer-left {
	float: left;
	width: 70%;
}
#footer-right {
	float: right;
	width: 25%;
}

/* postmeta */
.postmeta {	
	padding: 7px 5px; margin: 20px 10px 30px 10px;	
	font-size: 1em;	
	color: #545454;
	border: 1px solid #111; 
	background: #070707; 
}
.postmeta .date{ margin: 0 10px 0 5px;	}
.postmeta a.comments { margin: 0 10px 0 5px;	}
.postmeta a.readmore { margin: 0 10px 0 5px;	}

.post-info { font-size: .95em; padding-top: 3px; margin-left: 5px; color: #444;	}
.post-info a, .post-info a:visited { color: #AE275A; }

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.no-border { border: none; }
.clearer { clear: both; }
.clear {	display:inline-block; }
.clear:after {
	display:block; 
	visibility:hidden; 
	clear:both; 
	height:0; 
	content: "."; 
}


Gevonden: ik heb dit stukje:

HTML:
/* images */
img {
	background: #1B1B1B;
   border: 1px solid #1B1B1B;
	padding: 6px;

veranderd, de 1 in een 0 en de 6 in een 0
 
Laatst bewerkt:
zie mijn vorrige post, heb die ge-edit. (bijde oplossingen)

:thumb:

[edit]
Ohja, handig. Wat je moet doen is het niet weghalen, maar er dit van maken:
PHP:
a:hover {
	color: #fff;
	border-bottom: 1px dotted #438800;
}
// veranderen in //
a:hover {
	color: #fff;
	border-bottom: 0px dotted #438800;
}
en
PHP:
img {
	background: #1B1B1B;
   border: 1px solid #1B1B1B;
	padding: 6px;
}
// veranderen in //
img {
	background: #1B1B1B;
   border: 0px solid #1B1B1B;
	padding: 0px;
}
dan krijg je nl. ook geen blauwe rand :thumb:
[/edit]
 
Laatst bewerkt:
Ok tnx bedankt....


Weet je misschien ook hoe ik een favicon moet toevoegen?
 
Cas wrm doe je moeilijk

HTML:
<img border="0" (...)/>

Zie je op school ;)

PS
Weet niet zeker of dit werkt maar weet het bijna zeker ;)
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan