The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Delete the horizontal scrolbar of frame
yunfanny
post Oct 3 2006, 03:14 AM
Post #1





Group: Members
Posts: 2
Joined: 3-October 06
Member No.: 312



Hi,
I have a page as attached.

The code is as followed:
CODE



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
</head>

<frameset rows="56,*" cols="*" framespacing="0" frameborder="NO" border="0">
  <frame src="UntitledFrame-2.htm" name="topFrame" scrolling="NO" noresize>
  <frameset rows="*" cols="201,*" framespacing="0" frameborder="NO" border="0">
        <frame src="UntitledFrame-3.htm" name="leftFrame" scrolling="NO" noresize>
        <frame src="Untitled-1.htm" name="mainFrame" >
        
    </frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>


I would like to get rid of the horizonatl scroling of the frame of "frame src="Untitled-1.htm". How ? huh.gif

P.S.: I am using IE and my PC has the wide screen.

Thank you



Attached thumbnail(s)
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 3 2006, 06:30 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



Try

CODE
<frame src="Untitled-1.htm" name="mainFrame" scrolling="yes">


or possibly

CODE
<frame src="Untitled-1.htm" name="mainFrame" scrolling="auto">


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
yunfanny
post Oct 3 2006, 08:05 AM
Post #3





Group: Members
Posts: 2
Joined: 3-October 06
Member No.: 312



Hi, Christian J,

The code :
<frame src="Untitled-1.htm" name="mainFrame" scrolling="yes">

works. Thanks a lot tongue.gif


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 3 2006, 08:18 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



But that will give you a scollbar in other browers, won't it? IE has the same bug with IFRAME. There is another solution, only I can't remember it now. huh.gif

A solution that always works without messing with other browsers is to put IE6 in Quirks Mode.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 3 2006, 08:44 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Ha! I remembered. Feed this to IE6 for the framed page.

CODE
html { overflow-x:  hidden }


If you can without messing something else up, of course.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 03:05 AM