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

tag

Scheduled Pinned Locked Moved ASP.NET
questionhelp
3 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.
  • U Offline
    U Offline
    Uma Kameswari
    wrote on last edited by
    #1

    Hi, I am using

    tag in one of my pages to display text entered into a text box. The problem is I don't want horizontal scroll bar. How do I achieve this? If I am using style="OVERFLOW: auto;height=150;width=125" I am getting both the scroll bars. But I want the behaviour similar to wrap text property. Regards, Uma

    P R 2 Replies Last reply
    0
    • U Uma Kameswari

      Hi, I am using

      tag in one of my pages to display text entered into a text box. The problem is I don't want horizontal scroll bar. How do I achieve this? If I am using style="OVERFLOW: auto;height=150;width=125" I am getting both the scroll bars. But I want the behaviour similar to wrap text property. Regards, Uma

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      style attribute overflow: hidden

      Keep Smiling !!! Parwej Ahamad g_parwez@rediffmail.com

      1 Reply Last reply
      0
      • U Uma Kameswari

        Hi, I am using

        tag in one of my pages to display text entered into a text box. The problem is I don't want horizontal scroll bar. How do I achieve this? If I am using style="OVERFLOW: auto;height=150;width=125" I am getting both the scroll bars. But I want the behaviour similar to wrap text property. Regards, Uma

        R Offline
        R Offline
        RichardGrimmer
        wrote on last edited by
        #3

        There are two attributes - overflow-x and overflow-y, which control the scrollbars independently, so to hide one and show the other, use something like...

        "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

        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