Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > A horizontal scroll bar with IE!

Reply
Thread Tools

A horizontal scroll bar with IE!

 
 
vincent.marguerit@gmail.com
Guest
Posts: n/a
 
      07-27-2007
Hi,

I am making some test of a page using IE, and only with IE, a
horizontal scroll bar appears when there is a vertical scroll bar
inside an iframe:

This is the page:
http://boxfly.free.fr/test/test_iframe/index.html

The first iframe has a horizontal scroll bar but not the second one.
The difference betweens these 2 frames is the size of the content. As
soon as there is a vertical scroll bar, a horizontal scroll bar
appears. I don't see why at all.

In the code of the iframes there is:

..form-line-header-grey {
margin: 0; padding: 0; width: 100%; height: 49px;
background-color: #cccccc;
border-top: 1px solid #a5a5a5; border-bottom: 1px solid #a5a5a5;
}

..form-line-header-white {
margin: 0; padding: 0; width: 100%; height: 49px;
background-color: #f8f8f8;
}

Width are set at 100%, not at 105% ! I don't understand why a
horizontal scroll bar appears.

Iframe files are:
http://boxfly.free.fr/test/test_ifra...es/iframe.html
http://boxfly.free.fr/test/test_ifra...ase_iframe.css

If you have any idea, that would be great, I don't know what to do...

Thanks,
Vincent.

PS: I've tried this style in the body, but the result is the same:
<body style="overflow-x:hidden">

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get rid of horizontal scroll bar of pages in my website? J-T ASP .Net 7 09-22-2005 05:11 PM
auto scrolling horizontal scroll bar ray well ASP .Net 2 04-05-2005 04:00 PM
iFrame : suppress horizontal scroll bar RJN ASP .Net 1 03-05-2005 05:28 PM
Horizontal Scroll Bar for listbox Lloyd Sheen ASP .Net 2 11-01-2003 12:56 AM
horizontal scrollbar in a div causing another scroll bar to more. Jeremy Chapman ASP .Net 1 08-15-2003 10:01 PM



Advertisments