Reply
Old April 6th, 2006 Top | #1
 
Bman's Avatar
OSNN Designer
Joined: July 2002
Location: Ottawa, Ontario
Posts: 8,722
Blog Entries: 106
Reputation: 1386
Power: 221

Default CSS Coding

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?
Bman is offline   Reply With Quote
Old April 6th, 2006 Top | #2

OSNN Folding Team  
zeke_mo's Avatar
(value not set)
Joined: August 2004
Location: Placerville, CA
Posts: 1,965
Reputation: 1290
Power: 126

Default Re: CSS Coding

You could add an image to the top and bottom of it I suppose

make the backgroud transparent of course






sloppy ps work >.<
Attached Thumbnails
CSS Coding-top.gif  

"My Mind is a swirling miasma of scintillating thoughts and turgid ideas" ~Sam

Zeitgeist Money as Debt,
educate yourself.
zeke_mo is offline   Reply With Quote
Old April 6th, 2006 Top | #3
 
Bman's Avatar
OSNN Designer
Joined: July 2002
Location: Ottawa, Ontario
Posts: 8,722
Blog Entries: 106
Reputation: 1386
Power: 221

Default Re: CSS Coding

what do you mean, remember I'm new at this...
Bman is offline   Reply With Quote
Old April 6th, 2006 Top | #4

OSNN Folding Team  
zeke_mo's Avatar
(value not set)
Joined: August 2004
Location: Placerville, CA
Posts: 1,965
Reputation: 1290
Power: 126

Default Re: CSS Coding

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
Attached Thumbnails
CSS Coding-top.gif  

"My Mind is a swirling miasma of scintillating thoughts and turgid ideas" ~Sam

Zeitgeist Money as Debt,
educate yourself.
zeke_mo is offline   Reply With Quote
Old April 6th, 2006 Top | #5
 
Bman's Avatar
OSNN Designer
Joined: July 2002
Location: Ottawa, Ontario
Posts: 8,722
Blog Entries: 106
Reputation: 1386
Power: 221

Default Re: CSS Coding

alright, I guess I can try that...is there a simpler way anyone?
Bman is offline   Reply With Quote
Old April 6th, 2006 Top | #6

OSNN Folding Team  
zeke_mo's Avatar
(value not set)
Joined: August 2004
Location: Placerville, CA
Posts: 1,965
Reputation: 1290
Power: 126

Default Re: CSS Coding

Originally Posted by Bman™
alright, I guess I can try that...is there a simpler way anyone?
I tend to make things as complicated as I can

"My Mind is a swirling miasma of scintillating thoughts and turgid ideas" ~Sam

Zeitgeist Money as Debt,
educate yourself.
zeke_mo is offline   Reply With Quote
Old April 6th, 2006 Top | #7

OSNN Folding Team  
zeke_mo's Avatar
(value not set)
Joined: August 2004
Location: Placerville, CA
Posts: 1,965
Reputation: 1290
Power: 126

Default Re: CSS Coding

Found this on google just a few mins ago
http://www.neuroticweb.com/recursos/css-rounded-box/
but you still need to make images

"My Mind is a swirling miasma of scintillating thoughts and turgid ideas" ~Sam

Zeitgeist Money as Debt,
educate yourself.
zeke_mo is offline   Reply With Quote
Old April 6th, 2006 Top | #8
 
Bman's Avatar
OSNN Designer
Joined: July 2002
Location: Ottawa, Ontario
Posts: 8,722
Blog Entries: 106
Reputation: 1386
Power: 221

Default Re: CSS Coding

none of them work, even if I write down what they say, it dosent work...
Bman is offline   Reply With Quote
Old April 6th, 2006 Top | #9
 
Bman's Avatar
OSNN Designer
Joined: July 2002
Location: Ottawa, Ontario
Posts: 8,722
Blog Entries: 106
Reputation: 1386
Power: 221

Default Re: CSS Coding

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..
Bman is offline   Reply With Quote
Old April 7th, 2006 Top | #10
 
Bman's Avatar
OSNN Designer
Joined: July 2002
Location: Ottawa, Ontario
Posts: 8,722
Blog Entries: 106
Reputation: 1386
Power: 221

Default Re: CSS Coding

no ideas?
Bman is offline   Reply With Quote
Old April 9th, 2006 Top | #11

OSNN Folding Team  
Geffy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: United Kingdom
Posts: 7,805
Reputation: 1490
Power: 217

Default Re: CSS Coding

maybe ...

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

no guarantees its going to work on tooltips though.


blogtumbloglastfmflickr#rubyonrails@twitter
"I could be replaced with a very small shell script"
Geffy is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
need some help with coding.... daraptor Web Design & Coding 4 December 9th, 2006 3:05pm
Coding sticky? Sazar Site Problems & Feedback 2 May 31st, 2006 2:24pm
Need some help with page coding penguin Web Design & Coding 2 January 26th, 2005 12:37am
Newbie Coding Help Jewelzz Web Design & Coding 8 January 3rd, 2005 12:43pm
coding music Geffy Web Design & Coding 20 November 1st, 2004 10:06am