Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to display panels and their content side by side instead of vertically down

How to display panels and their content side by side instead of vertically down

Scheduled Pinned Locked Moved ASP.NET
tutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tina P
    wrote on last edited by
    #1

    I'm assuming there has to be some property that needs to be set in order to display lets say to panels or divs right next to each other as oppose to vertically down. I'm using a style sheet but I can also do it in the page itself. If someone knows can you please tell me how to set this up in both of these cases! I'd appreciate it :) Tina

    N F 2 Replies Last reply
    0
    • T Tina P

      I'm assuming there has to be some property that needs to be set in order to display lets say to panels or divs right next to each other as oppose to vertically down. I'm using a style sheet but I can also do it in the page itself. If someone knows can you please tell me how to set this up in both of these cases! I'd appreciate it :) Tina

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Use the float CSS property, i.e. float:left and float:right


      only two letters away from being an asset

      T 1 Reply Last reply
      0
      • N Not Active

        Use the float CSS property, i.e. float:left and float:right


        only two letters away from being an asset

        T Offline
        T Offline
        Tina P
        wrote on last edited by
        #3

        Hello Mark, I tried floats but it didn't quite work...what would I do inline. Also how do I move the entire panel away frmo the left margin of the page. I'm assuming the margin property should work, but apparently its not. Can you please perhaps give an example? I'd really appreciate it! Tina

        N 1 Reply Last reply
        0
        • T Tina P

          Hello Mark, I tried floats but it didn't quite work...what would I do inline. Also how do I move the entire panel away frmo the left margin of the page. I'm assuming the margin property should work, but apparently its not. Can you please perhaps give an example? I'd really appreciate it! Tina

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          You'll find plenty of examples here[^] float[^] margin[^]


          only two letters away from being an asset

          1 Reply Last reply
          0
          • T Tina P

            I'm assuming there has to be some property that needs to be set in order to display lets say to panels or divs right next to each other as oppose to vertically down. I'm using a style sheet but I can also do it in the page itself. If someone knows can you please tell me how to set this up in both of these cases! I'd appreciate it :) Tina

            F Offline
            F Offline
            Frauke
            wrote on last edited by
            #5

            Alternatively you could put the panels inside a table. (Don't shoot me, I know about the drawbacks of using tables, but sometimes it's just easier IMHO)

            Frauke Nonnenmacher Creative Cats

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups