• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Horizontal Scroll Bar

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using a Mshtml editor with an htc as an replacement to Textarea to provide rich text features. My problem is i am getting an horizontal scroll bar.
My div code in htc file is

div id=editBox align=left color="white" style="height:98px;width=740px; font-family:Arial; padding:2;border:2 inset #dfdfdf ;background-color:white;text-wrap;word-wrap: break-word;overflow-x :"hidden";"
div
In the place where i call the editor in do this way

TD class="Fld_Vl" colspan="3"

ed:mailEditor id="idBrfDesc" content='Desc' edit='true' onchange="javascript:funChange()" style="height:200; width=750;text-wrap;word-wrap: break-word;"
TD

I dont get a horizontal scroll and it wraps properly, If height exceeds and a vertical scroll bar comes up, horizontal scroll bar comes up automatically. Could any one suggest how to avoid horizontal scroll bar coming up.
Thanks in advance.
Regards,
Arul.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
overflow-x hidden is IE only at the moment, but should be made part of the standard.

Have you tried:

overflow:hidden OR overflow:visible

Eric
 
I'm so happy! And I wish to make this tiny ad happy too:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic