You are viewing the archives for the ‘HTML’ category

Removing iframe Horizontal Scrollbar

Author’s Note (AN): Since I have been getting almost day-to-day hits on this post, I would like to hear from you guys if the simple trick you are about to read works for you. If so, I would highly appreciate it if you leave a comment. Otherwise, you might find the links generated by Google below more helpful than this.

Oh c’mon! A few days ago, I was already about to die trying to remove the freakin’ horizontal scrollbar of the iframe in this fanlisting. The problem is only associated with Internet Explorer. :devil: The last resort I could do was to compare it line after line with another code that does not show the said scrollbar. So how did it turn out? Well, it turns out, in my case, the only thing that was missing was a line before the DTD (document type declaration). I then remembered that the same thing holds true for the scrollbar colors that are not supported in Firefox. I used to do it before. So anyway, for instance, the first line of the code should not be

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

but instead,

<!–remove freakin’ iframe horizontal scrollbar anything goes here (perhaps even a blank line)–>

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

Whew, glad I did it. And oh, please bear with the title of this post. :sweat:

Lately…