PDA

View Full Version : .css yucky placeholders - removal


bazz
04-09-2003, 12:06 PM
I am using the following script in an external StyleSheet. PLease can you tell me why the image might be surrounded by a horrible border similar to a placeholder? Better than that, how can I either remove it or change the colour of it from a horrible purple to a dark green (color#004040). The placholder is only there when the img is a hyperlink but it doesnt change color with rollover.


.sponsorimg {position: absolute; z-index: 3; top: 190px; left: 680px; height: 68px; width: 99px; border: none;
}

Thanks guys.

PauletteB
04-09-2003, 03:25 PM
Try
border-width: 0;
or
border: 0;

Catman
04-09-2003, 03:49 PM
border : none; should do the trick, so there must be some other part of the markup causing the problem. Perhaps a link to the website would help us track it down.

bazz
04-09-2003, 04:51 PM
A link to the site would be good, especially coz I havent uploaded it to my server yet. :D

I'll finish off the last few bits and put it up for you to see; that is, unless I sort it out before then.

Thanx for your replies.

pardicity3
04-09-2003, 09:27 PM
Just the stylesheet might be nice as well. Perhaps you are missing a semicolon [;] or an end curly brace [}] somewhere that is causeing things to get messed up. That seems to be the usual problem with me! :D

bazz
04-10-2003, 01:40 AM
Thanks pardicity3.

i'll double check for that and see. It probably is something as straightforward as that.

bazz
04-11-2003, 12:28 AM
seems that I got it sorted. I used border: 0; in the css and it didnt work. The i put it in line on the html page and it does work.

I dont understand why but at least its sorted.