R
rf
Most of the stuff I have seen regarding round corners using CSS instead of
tables has been poor. The simple ones break as soon as one changes ones font
size. The better ones are usually div soup, often using divs within divs
within divs to replicate tables.
The specs say it's easy. Just create a containing element and absolutely
position the corner images top/bottom left/right. Doesn't work in the real
world.
Following our recent discussions in the thread "Page not displaying
properly" by Advocated I dusted off some stuff I was fiddling with a year or
so ago.
Here is a concept page:
http://users.bigpond.net.au/rf/tricks/corners1_css.htm
There are lots of things in there to make the real world browsers work.
However, while there are three div's per section I think it's rather simple
and neat. It seems to be impervious to changes in font size and canvas size.
I've tested it with Mozilla 1.4 and IE6, both quirks mode and non-quirks
mode. There is still a little problem around the nav bar <ul> with Opera 6.
Mozilla at some font sizes, especially very small ones, puts white space
just above the .middle div.
Comments?
If you like it steal it. If you don't lets see if we can fix it to work
better. If it's been done before then I've just spent an hour re-inventing
some round wheels
Cheers
Richard.
tables has been poor. The simple ones break as soon as one changes ones font
size. The better ones are usually div soup, often using divs within divs
within divs to replicate tables.
The specs say it's easy. Just create a containing element and absolutely
position the corner images top/bottom left/right. Doesn't work in the real
world.
Following our recent discussions in the thread "Page not displaying
properly" by Advocated I dusted off some stuff I was fiddling with a year or
so ago.
Here is a concept page:
http://users.bigpond.net.au/rf/tricks/corners1_css.htm
There are lots of things in there to make the real world browsers work.
However, while there are three div's per section I think it's rather simple
and neat. It seems to be impervious to changes in font size and canvas size.
I've tested it with Mozilla 1.4 and IE6, both quirks mode and non-quirks
mode. There is still a little problem around the nav bar <ul> with Opera 6.
Mozilla at some font sizes, especially very small ones, puts white space
just above the .middle div.
Comments?
If you like it steal it. If you don't lets see if we can fix it to work
better. If it's been done before then I've just spent an hour re-inventing
some round wheels
Cheers
Richard.