Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Remove horizontal scrollbar on frames
Old 07-01-2005, 06:15 AM Remove horizontal scrollbar on frames
Super Talker

Posts: 148
Trades: 0
I have this problem where i cant get rid of the horizontal scrollbar in frames. Is there anyway i can get rid of it manually? But i still do need vertical scrollbar for my mainframe.
shaoen01 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-01-2005, 10:22 AM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
The only way I have found to get rid of the horizontal scrollbar is to ensure that the content of the affected frame is no wider than the frame it is to be viewed in. Of course, when judging the width of the content you have to take into account the 16 or so pixels that the vertical scrollbar consumes. This, of course, only works if you statically limit the frameset so that it's size cannot be altered by the user when or if they resize their browser window.

I hope that's of some help.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-01-2005, 10:37 AM
Super Talker

Posts: 148
Trades: 0
Yeah i know i have to restrict the size of the frame. But somehow it still gets a horizontal scrollbar and looks unsightly. Do you by any chance know how i can centralize the left frame consistently with the top and mainframe?

I have been having trouble with that and causing the horizontal scrollbar to come out.
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-01-2005, 11:10 AM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
It would help if I could see the code behind the page. If you can let me have the URL I will take a look and see if I can sort this for you.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-01-2005, 06:57 PM Html files uploaded
Super Talker

Posts: 148
Trades: 0
Hi,

Here are the 3 html files that i wish to put inside the frames. 1 top, left and main frame. I want to align them all in the centre of the page, i dont want the tables to be 100% and fit into the whole page. You know what i mean? Anyway, thanks a lot for your help.
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-01-2005, 09:05 PM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
I have had a quick play tonight and this appears to be an IE specific problem as I cannot emulate the problme in Firefox (I have checked it in IE and sure enough there is a horizontal scroll bar).

I will do some more playing over the next couple of days and get back to you.

Incidentally, at the bottom of the page that you want as the main frame you have a very curious arrangement of a <td> folloed by a <div align="center"> and then <center>, this last one having been deprecated some time ago. This can all be reduced to <td align=center>. Oh, and on the subject of deprecated tags - HTML 4 deprecated the use of the <font> tag. You have a large amount of in line styles that would be much better put into a CSS file.

Anyway, I will get back to you in the next couple of days once I have had a play around with the code and come up with a fix for you.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-01-2005, 10:07 PM
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
Trades: 0
Quote:
Originally Posted by shaoen01
I have this problem where i cant get rid of the horizontal scrollbar in frames. Is there anyway i can get rid of it manually? But i still do need vertical scrollbar for my mainframe.
Simple really (when you know how ) if you know that your iFrame content will be larger than the iFrame just set scrolling="yes"
e.g.
HTML Code:
<iframe src="content.html" name="maincontent" width="400" height="500" scrolling="yes" frameborder="0"></iframe>
Hope that helps...

EDIT: Oh wait you said frames ..sorry it is 3:08 in the morning
__________________
Yes, indeed...

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
Old 07-02-2005, 03:51 AM
Super Talker

Posts: 148
Trades: 0
Thanks for all the reply and help. I want to get rid of the horizontal scrollbar on my mainframe and you want me to insert scrolling="yes"? I dont understand why i should do that ... ?
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-02-2005, 07:23 AM
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
Trades: 0
no sorry I thought you wanted it removed on an iFrame. I didnt read your post properly. If you are using iFrames just put tht html in and it should work as it l;ets the iframe know that there will be vertical scrolling so it omits the horizontal bar ...or summin.

But im not sure how to remove it on a normal frame....
__________________
Yes, indeed...

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
Old 07-02-2005, 07:38 AM
Super Talker

Posts: 148
Trades: 0
Oh okay ... Can you tell me more about iframes? Can you let me see a website using iframes? Is it compatible with Dreamweaver? Thanks
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-02-2005, 11:01 AM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
Ok, I've had a good poke around with the code, and the problem seems to be IE specific. In Firefox the frame simply shows a vertical scrollbar, but IE insists that if you have one, you need both. This seems to be true even if the frame is full screen width and the table within it is only 20 pixels wide. I will keep on poking around over the weekend to see what I can come up with. There is a solution there somewhere, I just know it, but it eludes me at the moment.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-02-2005, 08:37 PM
Super Talker

Posts: 148
Trades: 0
Really? Its just an IE problem? Thanks a lot for helping me, really appreciate it. =)
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-02-2005, 08:57 PM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
Seems to be, but there has to be an IE fix and I'll find it ... not having that little ******* beat me lol
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-02-2005, 10:32 PM
Skilled Talker

Posts: 80
Trades: 0
I have the same problem. There's a horizntal scroll bar in my frame in ie but not fire fox.
TBLTK is offline
Reply With Quote
View Public Profile
 
Old 07-04-2005, 09:48 PM
Super Talker

Posts: 148
Trades: 0
hey ... i found out how to get rid of the horizontal scrollbar in IE. You insert scrolling = "yes" in the mainframe. Here is a sample code:

<frame src="home.html" name="mainFrame" scrolling="yes">

I just tried brokensoul2271 has said, dont know why i did it but i did. So it works for me, let me know if it works for you guys too. Thanks for help all!
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-05-2005, 01:18 PM
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
Trades: 0
__________________
Yes, indeed...

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
Old 07-05-2005, 08:54 PM
Super Talker

Posts: 148
Trades: 0
Cheers man! =)
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 10-05-2006, 04:18 PM Re: Remove horizontal scrollbar on frames
Experienced Talker

Posts: 35
Location: Norway
Trades: 0
Is there anyway to get rid of the scrollbar track when there´s nothing to scroll?
Some of my pages need to scroll because of the amount of text, but other pages are carefully design to be within the hight/widht of the iFrame. In those cases the faded scrollbar track really don´t look good.

By the way. I´m trying to alter the look of the scrollbar by adding this to the css file:
Code:
BODY 
{scrollbar-face-color: #FFFFFF; scrollbar-shadow-color: #999999; 
scrollbar-highlight-color: #999999; scrollbar-3dlight-color: #999999; 
scrollbar-darkshadow-color: #999999; scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #FF9933}
No luck. anybody know why?
__________________
Best wishes
Ronny

Last edited by Ronny; 10-06-2006 at 04:05 AM.. Reason: Another problem regarding scrollbars
Ronny is offline
Reply With Quote
View Public Profile
 
Old 10-06-2006, 06:26 PM Re: Remove horizontal scrollbar on frames
liljon28's Avatar
Experienced Talker

Posts: 41
Name: johnny
Trades: 0
hey thx i needed this as well aweosme thx alot for the thread
liljon28 is offline
Reply With Quote
View Public Profile
 
Old 11-19-2006, 05:21 AM Re: Remove horizontal scrollbar on frames
feganmeister's Avatar
Junior Talker

Posts: 1
Name: Paddy
Location: Stoke-on-Trent
Trades: 0
Just wanted to add a reply to say a huge thank you for this thread! I had the exact same problem and this fixed it for me!
feganmeister is offline
Reply With Quote
View Public Profile Visit feganmeister's homepage!
 
Reply     « Reply to Remove horizontal scrollbar on frames

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.65435 seconds with 11 queries