CSS Coding

N

Not Bman

Guest
I have this code in place, for a popup box.

a.info:hover .infobox {
font-weight: normal;
display:block;
position:absolute;
top:20px;;
left:0;;
width:205px;
height:70px;
border: 1px solid #ccc;
background:#84be84 url(question.gif) no-repeat bottom right;
color:#000;
text-align:left;
font-size:0.7em;
padding-left:10px;
padding-top:10px;

how would I make it so the box was rounded off?
 
You could add an image to the top and bottom of it I suppose

make the backgroud transparent of course






sloppy ps work >.<
 

Attachments

  • top.gif
    top.gif
    7.1 KB · Views: 76
Last edited:
If you backgroud is black, then add the same color image to the top and end of the box, like this one...much smaller of course :)
 

Attachments

  • top.gif
    top.gif
    521 bytes · Views: 93
alright, I guess I can try that...is there a simpler way anyone?
 
Bman™ said:
alright, I guess I can try that...is there a simpler way anyone?

I tend to make things as complicated as I can :)
 
none of them work, even if I write down what they say, it dosent work...
 
I know why it wasen't working, that's for a box with rounded corners, I'm talking about a box that opens up when your mouse hovers over something, which right now is a square box, I want it rounded..
 
maybe ...

-moz-border-radius for firefox
border-radius for CSS3 supporting browsers.

no guarantees its going to work on tooltips though.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back