circular div

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • philleep
    New Member
    • Mar 2007
    • 74

    #1

    circular div

    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
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #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.

    Comment

    • KevinADC
      Recognized Expert Specialist
      • Jan 2007
      • 4092

      #3
      Originally posted by philleep
      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.

      Comment

      • NeoGeo
        New Member
        • May 2007
        • 4

        #4
        CSS3 can do it

        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:

        Comment

        • 7528620xs
          Banned
          New Member
          • Aug 2010
          • 2

          #5
          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.
          Last edited by Frinavale; Aug 31 '10, 01:30 PM. Reason: Do not use this forum as a means to advertise spam.

          Comment

          • 7528620xs
            Banned
            New Member
            • Aug 2010
            • 2

            #6
            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>
            Last edited by Frinavale; Aug 31 '10, 01:28 PM. Reason: Removed spam links from message.

            Comment

            • drhowarddrfine
              Recognized Expert Expert
              • Sep 2006
              • 7434

              #7
              @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.

              Comment

              • NeoGeo
                New Member
                • May 2007
                • 4

                #8
                Jes and no

                @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.

                Comment

                Working...