homepage Welcome to WebmasterWorld Guest from 54.205.241.107
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Background Image making border disappear
Stuffie

10+ Year Member



 
Msg#: 641 posted 8:15 pm on Feb 19, 2003 (gmt 0)

I've got a div positioned in the upper right hand corner of my page, and borders on the left and bottom. Everything was working perfectly until I set an image for the div's background, and while the bottom border is fine, my border to the left has disappeared. I've tried fussing with a few of my settings, but to no avail. This is what I've got...

#rightcontent {
position:absolute;
top:0px;
right:0px;
width:66%;
background-color: #181c1b;
background-image:url('such and such here');
background-repeat:no-repeat;
background-position:top right;
background-attachment:scroll; [
border-left:3px double #ffffff;
border-bottom:3px double #ffffff;
margin-left:0px;
margin-right:0px;
padding-top:0px;
padding-bottom:0px;
}

Is the solution glaringly obvious? I have a tendancy to overlook that sometimes...

 

korkus2000

WebmasterWorld Senior Member korkus2000 us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 641 posted 8:22 pm on Feb 19, 2003 (gmt 0)

Have you tried it without the [ at the end of background-attachment?

#rightcontent {
position:absolute;
top:0px;
right:0px;
width:66%;
background-color: #181c1b;
background-image:url('such and such here');
background-repeat:no-repeat;
background-position:top right;
background-attachment:scroll; [
border-left:3px double #ffffff;
border-bottom:3px double #ffffff;
margin-left:0px;
margin-right:0px;
padding-top:0px;
padding-bottom:0px;
}

Stuffie

10+ Year Member



 
Msg#: 641 posted 8:47 pm on Feb 19, 2003 (gmt 0)

~Sighs~ Did I mention that I have a habit of overlooking the obvious? That did the trick. Despite my embarassment, I thank you.

korkus2000

WebmasterWorld Senior Member korkus2000 us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 641 posted 8:48 pm on Feb 19, 2003 (gmt 0)

No problem. I have the same problem of overlooking the obvious.

Welcome to WebmasterWorld Stuffie :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved