7 Replies - 672 Views - Last Post: 17 April 2011 - 01:23 PM

#1 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

How to remove Scroll bars from text?

Posted 16 April 2011 - 04:51 PM

I have these pesky scroll bars to the right of my text because not all of it is shown.. now these only show in browsers other than firefox.. I have no idea why they are there but I would love to know how to get rid of them? Thank you!!
Is This A Good Question/Topic? 0
  • +

Replies To: How to remove Scroll bars from text?

#2 Macjohn  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 80
  • View blog
  • Posts: 407
  • Joined: 10-April 09

Re: How to remove Scroll bars from text?

Posted 16 April 2011 - 05:14 PM

Are you using a textbox?
Was This Post Helpful? 0
  • +
  • -

#3 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: How to remove Scroll bars from text?

Posted 16 April 2011 - 05:53 PM

No.. they are predetermined links and text.. its somewhat weird.
Was This Post Helpful? 0
  • +
  • -

#4 marinus  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 135
  • View blog
  • Posts: 575
  • Joined: 14-April 10

Re: How to remove Scroll bars from text?

Posted 16 April 2011 - 05:55 PM

Have you taken a look at Overflow property

This post has been edited by marinus: 16 April 2011 - 05:56 PM

Was This Post Helpful? 0
  • +
  • -

#5 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: How to remove Scroll bars from text?

Posted 17 April 2011 - 07:21 AM

I have used that quite a bit actually.. That will have an effect? and what will the implications be if I remove the overflow property?
Was This Post Helpful? 0
  • +
  • -

#6 marinus  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 135
  • View blog
  • Posts: 575
  • Joined: 14-April 10

Re: How to remove Scroll bars from text?

Posted 17 April 2011 - 08:31 AM

Well i a div is 30px high and there is more text that that div can handle , setting overflow:hidden; will not show scrollbars for div or any other tag.If there is more content in it that it can handle

This post has been edited by marinus: 17 April 2011 - 08:36 AM

Was This Post Helpful? 0
  • +
  • -

#7 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: How to remove Scroll bars from text?

Posted 17 April 2011 - 11:43 AM

Okay so if I add the overflow attribute then the scroll bars won't show on any browser?.. and btw not that you dont already think this being a developer and all.. but why can't every browser be like firefox lol
Was This Post Helpful? 0
  • +
  • -

#8 marinus  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 135
  • View blog
  • Posts: 575
  • Joined: 14-April 10

Re: How to remove Scroll bars from text?

Posted 17 April 2011 - 01:23 PM

Just try overflow:hidden;


Quote

but why can't every browser be like firefox lol


All browser is perfect except IE , even being a developer , IE gives you problems , mostly with Javascript .

If the code works on chrome and FF , then sometimes its an EPIC fail in IE

This is just the thing with web developement , the same goes for software ,

A C++ app works on Windows, but not on Linux . . you need to change bit and pieces.

This is just the live of a programmer :)

This post has been edited by marinus: 17 April 2011 - 01:24 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1