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. Interface irritation

Interface irritation

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdata-structureshelpquestion
8 Posts 5 Posters 1 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.
  • J Offline
    J Offline
    J Liang
    wrote on last edited by
    #1

    Hi, I am having a big problem with the interface and getting quite irritated about it. This is what I encountered: I have a table and I inserted two list box into one column which sits side by side of each other like this. [ListBox1] [ListBox2] Unfortunately when I open it in the web browser, the listboxes were in stack form like this. [Listbox1] [Listbox2] And when I try to adjust the size of the table column width, it just would not move/change. Did I miss out some settings or it's just how ASP.net works? Btw, I view it in IE7. J Liang

    C B D 3 Replies Last reply
    0
    • J J Liang

      Hi, I am having a big problem with the interface and getting quite irritated about it. This is what I encountered: I have a table and I inserted two list box into one column which sits side by side of each other like this. [ListBox1] [ListBox2] Unfortunately when I open it in the web browser, the listboxes were in stack form like this. [Listbox1] [Listbox2] And when I try to adjust the size of the table column width, it just would not move/change. Did I miss out some settings or it's just how ASP.net works? Btw, I view it in IE7. J Liang

      C Offline
      C Offline
      Chetan Ranpariya
      wrote on last edited by
      #2

      Hi, Why dont u put them in differennt column? and if u insist them to be diplayed to in single cell then u can further create a table with two columns inside the cell and put listboxex in those columns. I hope this will help you.

      Thanks and Regards, Chetan Ranpariya

      J 1 Reply Last reply
      0
      • J J Liang

        Hi, I am having a big problem with the interface and getting quite irritated about it. This is what I encountered: I have a table and I inserted two list box into one column which sits side by side of each other like this. [ListBox1] [ListBox2] Unfortunately when I open it in the web browser, the listboxes were in stack form like this. [Listbox1] [Listbox2] And when I try to adjust the size of the table column width, it just would not move/change. Did I miss out some settings or it's just how ASP.net works? Btw, I view it in IE7. J Liang

        B Offline
        B Offline
        badgrs
        wrote on last edited by
        #3

        Well, the simple answer is not to use tables for layout, in case you hadn't heard there a bit antiquated - check out CSS (although I won't lie about its learning curve). However, select elements aren't block level elements so I don't see why they would force a new line. There is obviously something else going on that you're not aware of, have a look at the generated markup to see whats there, and if the width you set for the column is getting set correctly.

        S 1 Reply Last reply
        0
        • B badgrs

          Well, the simple answer is not to use tables for layout, in case you hadn't heard there a bit antiquated - check out CSS (although I won't lie about its learning curve). However, select elements aren't block level elements so I don't see why they would force a new line. There is obviously something else going on that you're not aware of, have a look at the generated markup to see whats there, and if the width you set for the column is getting set correctly.

          S Offline
          S Offline
          sidbaruah
          wrote on last edited by
          #4

          Use vertical align in the columns of the table cells. It solved many a problems for me. Hope it does for you too.

          I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--

          J 1 Reply Last reply
          0
          • J J Liang

            Hi, I am having a big problem with the interface and getting quite irritated about it. This is what I encountered: I have a table and I inserted two list box into one column which sits side by side of each other like this. [ListBox1] [ListBox2] Unfortunately when I open it in the web browser, the listboxes were in stack form like this. [Listbox1] [Listbox2] And when I try to adjust the size of the table column width, it just would not move/change. Did I miss out some settings or it's just how ASP.net works? Btw, I view it in IE7. J Liang

            D Offline
            D Offline
            dekart_roo
            wrote on last edited by
            #5

            You might be able to solve this problem via CSS. Try creating a custom CSS class for the list views, with the property { display: inline }.

            J 1 Reply Last reply
            0
            • C Chetan Ranpariya

              Hi, Why dont u put them in differennt column? and if u insist them to be diplayed to in single cell then u can further create a table with two columns inside the cell and put listboxex in those columns. I hope this will help you.

              Thanks and Regards, Chetan Ranpariya

              J Offline
              J Offline
              J Liang
              wrote on last edited by
              #6

              Hi Chetan, Thanks, it works quite well for the mean time =) J Liang

              1 Reply Last reply
              0
              • S sidbaruah

                Use vertical align in the columns of the table cells. It solved many a problems for me. Hope it does for you too.

                I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--

                J Offline
                J Offline
                J Liang
                wrote on last edited by
                #7

                CSS...alright, shall consider that in my future development since I'd already doen most of my work here, hehe. Vertical align...shall try that too Thanks J Liang

                1 Reply Last reply
                0
                • D dekart_roo

                  You might be able to solve this problem via CSS. Try creating a custom CSS class for the list views, with the property { display: inline }.

                  J Offline
                  J Offline
                  J Liang
                  wrote on last edited by
                  #8

                  Ok, will consider that in the future, almost done on my website, hehe, that's why I start to pay attention to my interface ;P J Liang

                  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