|
Posted by Martin Jay on 09/29/71 11:52
In message <1152473203.074616.212020@m79g2000cwm.googlegroups.com>,
aaron.reese@tiscali.co.uk writes
>I am trying to add rounded corners to my CSS containers (some of which
>are still tables - BOO!!!!)
>
>I dont want to use images becuase I need to update the both the
>foreground and background colours on a regular basis and as you know,
>only one colour of a gif can be transparent so either the foreground or
>background colour will be wrong...
"Nifty Corners" provides rounded corners without using any images. I
haven't explored the disadvantages of using this method, though. See:
<http://www.html.it/articoli/nifty/index.html>
>I am using php as a server side scripting language and was thinking of
>using <HR> in a loop and using Sine and Cosine calculations to
>determine the length of the <HR>.
Well, if you're using server side scripting you could make the rounded
corners on he hoof. One way is to create a large circle and reduce it
to the desired size - this will give you nice anti-aliasing. Then chop
the circle into quarters and you have your corners.
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124
Navigation:
[Reply to this message]
|