By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,787 Members | 1,124 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,787 IT Pros & Developers. It's quick & easy.

circular div

P: 74
Hi,

is it possible to do a circular div? can anyone tell me how or direct me to a online resource on this? or does anyone know a way to get this effect?

cheer
philleep
Apr 25 '07 #1
Share this Question
Share on Google+
7 Replies


drhowarddrfine
Expert 5K+
P: 7,435
A div creates structure for html documents and has nothing to do with presentation. The best you can hope for is that there is some method to do this with CSS. Otherwise, you would need flash or javascript or SVG but definitely something else.
Apr 25 '07 #2

KevinADC
Expert 2.5K+
P: 4,059
Hi,

is it possible to do a circular div? can anyone tell me how or direct me to a online resource on this? or does anyone know a way to get this effect?

cheer
philleep

Best to just use an image of a circle s a background and layer your text over it.
Apr 25 '07 #3

P: 4
I know this is a very old thread, but you can now make circular divs using CSS3... A friend of mine wrote a blog post about it:
http://anvilstudios.co.za/blog/css/c...ible-browsers/
Aug 31 '10 #4

P: 2
This is very subjective. In the future, phrase this a "I think of IE as a horrible browser", (<link removed>)as your opinion does not necessarily have to reflect reality. I use IE for development and I have no problems whatsoever.
Aug 31 '10 #5

P: 2
A div creates structure for html documents and has nothing to do with presentation. The best you can hope for is that there is some method to do this with CSS. Otherwise, you would need flash or javascript or SVG but definitely something else.

<links removed>
Aug 31 '10 #6

drhowarddrfine
Expert 5K+
P: 7,435
@NeoGeo - actually, no. His div is still square but the borders are round.

In response to the banned user above:
This is very subjective.
It is not subjective at all and anyone who says such a thing doesn't have a clue as to how things work.
In the future, phrase this a "I think of IE as a horrible browser", as your opinion does not necessarily have to reflect reality.
If this poster wasn't banned, I'd provide plenty of info to show just how lousy IE is.
I use IE for development and I have no problems whatsoever.
More proof the poster hasn't a clue what he's talking about.
Sep 1 '10 #7

P: 4
@drhowarddrfine
I agree with what you say, in that the div is still in essence a square. But also as you mentioned earlier, a div is merely markup that points to a division on the page, and has nothing to do with presentation. Presentation is the job of CSS, and using CSS3 it is possible to present a single div as a circle. So it is possible to have a "visual" circular div.
Sep 1 '10 #8

Post your reply

Sign in to post your reply or Sign up for a free account.