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. div expand in master page [modified]

div expand in master page [modified]

Scheduled Pinned Locked Moved ASP.NET
cssquestionhelp
4 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.
  • K Offline
    K Offline
    ksaw123
    wrote on last edited by
    #1

    I have a problem with using div in master page with a fixed CSS file. The div contains content panel. The content panel has a grid view or a data view or both. When they appear in the page, they go out of the page. I tried to make the height = inhernt and also height = auto, but both of them didn't work. How can I make the page expand to contain them/it as long as they expand? Regards,

    modified on Sunday, March 30, 2008 5:24 AM

    J 1 Reply Last reply
    0
    • K ksaw123

      I have a problem with using div in master page with a fixed CSS file. The div contains content panel. The content panel has a grid view or a data view or both. When they appear in the page, they go out of the page. I tried to make the height = inhernt and also height = auto, but both of them didn't work. How can I make the page expand to contain them/it as long as they expand? Regards,

      modified on Sunday, March 30, 2008 5:24 AM

      J Offline
      J Offline
      jonhbt
      wrote on last edited by
      #2

      try not to give any property of height in the css file.

      K 1 Reply Last reply
      0
      • J jonhbt

        try not to give any property of height in the css file.

        K Offline
        K Offline
        ksaw123
        wrote on last edited by
        #3

        I am not using CSS file. I am using inline code.

        M 1 Reply Last reply
        0
        • K ksaw123

          I am not using CSS file. I am using inline code.

          M Offline
          M Offline
          Mitch F
          wrote on last edited by
          #4

          You might want to try giving your DIV the CSS attribute of overflow:auto;. I hope this helps.

          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