Log In · Register

 
 
Closed TopicStart new topic
Borders on an image
Amor14
post May 29 2007, 12:08 AM
Post #1


Member
**

Group: Member
Posts: 12
Joined: Aug 2006
Member No: 453,022



Alrighty.. I'm working on a layout for myspace and I have a div inside a div inside a div...

So three DIVs in total.

On the second one, I have borders, and it gives the third one borders as well. Since the third div is an image, I can't have the borders on there.. stubborn.gif
I've been trying for like the last 30 minutes to get the borders off the last div and..... the most I've gotten is a border on the left and bottom.. the borders on the right and top are gone.


I can't take the third div out of the second one, because i need it to stay relative to the second DIV because the seocnd div contains text which may become shorter or longer with time.

Here's a screenshot for those who might need it:ScreenShot


So basically my question is.. How can I get rid of the borders??

I've already tried giving that div a class that had no borders.. Same for a class with black borders... I've put straight into the img code 'border="none"' when I was trying to use the img code. I thought that making the image the background-image when I was editting the style sheet that it'd get rid of it.. but I was wrong.. lol
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: