Topic: Another custom CSS corners question |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-03-2004 08:24
While I'm waiting for a link from Skaarjj re: his custom borders and corners question, I thought I'd post my own question here. It's more of a theoretical question (kind of). Let's say you have a box, and you want to add custom corners to it. However, you don't really need a custom border--a simple 1 or 2 px CSS border will suffice. Is there any way to actually pull this off? The way I see it, if you give the box a border, any corners you try to add will appear inside the border, no? |
Paranoid (IV) Mad Scientist From: KC, KS |
posted 04-04-2004 21:06
Couldn't you stack two divs on top of each other with the top one being 2px wider than the bottom one? |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-05-2004 02:40
The problem is that the divs need to be the same size (length), and the only way to do that is to put one inside the other (so it expands as the parent div expands). If I knew the exact dimensions of the area, yeah, it would work, but I don't... |