View Full Version : Frames in IE
magis
07-02-2005, 11:31 AM
I made a frameset based website! All looks fine in Netscape, Opera an in Firefox, but in IE, where in middle frame should be only a vertical scrollbar appears horizontal scrollbar!
Now to solve this problem???
Silmaril8n
07-05-2005, 02:59 PM
Do you have an image or table that is going beyond it's limits?
jemtman
07-05-2005, 03:10 PM
hmm,
sounds cryptic,
if you post the code i might be able to help you
~Jemtman
magis
07-06-2005, 05:27 AM
The main file (called index.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Magis staff</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
<meta name="title" content="Magis staff">
<meta name="author" content="magis">
<meta name="charset" content="windows-1257">
<meta name="robots" content="No Follow">
</head>
<!-- Level 1 -->
<frameset rows="21,*,21" frameborder="NO" border="0" framespacing="0">
<frame src="top.php" name="SearchBar" scrolling="NO" noresize marginwidth="0" marginheight="0">
<!-- Level 2 -->
<frameset cols="*,750,*" frameborder="NO" border="0" framespacing="0">
<frame src="left.php" name="LeftFrame" scrolling="NO" noresize marginwidth="0" marginheight="0">
<!-- Level 3 -->
<frameset rows="195,*" frameborder="NO" border="0" framespacing="0">
<frame src="navigation.html" name="Navigation" scrolling="NO" noresize marginwidth="0" marginheight="0">
<frame src="main.php" name="body" scrolling="AUTO" noresize marginwidth="0" marginheight="0">
</frameset>
<!-- //Level 3 -->
<frame src="right.php" name="mainFrame" scrolling="NO" noresize marginwidth="0" marginheight="0">
</frameset>
<!-- //Level 2 -->
<frame src="copyright.html" name="Copyright" scrolling="NO" noresize marginwidth="0" marginheight="0">
</frameset><noframes></noframes>
<!-- //Level 1 -->
</html>
The file main.php which has auto scrollong, has such a code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>main.php</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<br />Some kind of text!<br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br />Some kind of text!<br />
</body>
</html>
Tohuse <br /> I put there to test scrollbar!!!
Silmaril8n
07-06-2005, 01:04 PM
What's in the CSS?
Also, you could replace all the '<br />' with '<div style="padding-bottom:50em;"> </div>' or something like that. Might clean things up a bit.
magis
07-06-2005, 05:12 PM
CSS has only script about colors of scrollbars and font-family for body!
Ok! I`ll try out add thouse divs!
jemtman
07-06-2005, 07:05 PM
yeah, adding some content with those divs should help
~Jemtman
magis
07-07-2005, 05:18 PM
Unfortunatly divs doesn`t solve this problem!
Silmaril8n
07-07-2005, 05:24 PM
The <div> that I wrote wasn't to solve the issue. It was just a replacement for all the <br /> tags that you had. A shortcut if, you will, to adding vertical space to a page.
I believe your problem lies within:
<!-- Level 1 -->
<frameset rows="21,*,21" frameborder="NO" border="0" framespacing="0">
<frame src="top.php" name="SearchBar" scrolling="NO" noresize marginwidth="0" marginheight="0">
<!-- Level 2 -->
<frameset cols="*,750,*" frameborder="NO" border="0" framespacing="0">
<frame src="left.php" name="LeftFrame" scrolling="NO" noresize marginwidth="0" marginheight="0">
<!-- Level 3 -->
<frameset rows="195,*" frameborder="NO" border="0" framespacing="0">
<frame src="navigation.html" name="Navigation" scrolling="NO" noresize marginwidth="0" marginheight="0">
<frame src="main.php" name="body" scrolling="AUTO" noresize marginwidth="0" marginheight="0">
</frameset>
<!-- //Level 3 -->
<frame src="right.php" name="mainFrame" scrolling="NO" noresize marginwidth="0" marginheight="0">
</frameset>
<!-- //Level 2 -->
<frame src="copyright.html" name="Copyright" scrolling="NO" noresize marginwidth="0" marginheight="0">
</frameset><noframes></noframes>
<!-- //Level 1 -->
I don't use frames anymore myself but thats the most confusing framset that I've ever seen! I would guess that the "*,750,*" declaration is the culprit.
jemtman
07-09-2005, 11:34 PM
wow, i rarely use frames too. i'd really like to see what that looks like when it's finished\
~Jemtman
magis
07-16-2005, 05:48 AM
that *, 750, * makes all to appear in middle of page!!! I guess u know that Silmaril8n!
This frameset makes scrollbar to appear in that place where I want it, it wount appear in left side of browser!!! It will be somewhere in middle where I want it to be!
An example u can see here: http://www.ramsons.co.jp/
magis
07-20-2005, 01:10 PM
Enaugh, I gave up this frameset!!!
Thanx for ur help!!!
Silmaril8n
07-20-2005, 03:36 PM
If you like that other layout then why don't you just use that one???
<frameset cols="*,630,*" frameborder="0" framespacing="0" border=0>
<frame name="lft_blank" src="blank.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
<frameset rows="*,400,*" frameborder="0" framespacing="0" border=0>
<frame name="top_blank" src="blank.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
<frameset rows="104,*,87" frameborder="0" framespacing="0" border=0>
<frame name="masthead" src="masthead.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
<frameset cols="6,*,6" frameborder="0" framespacing="0" border=0>
<frame name="lft" src="lft.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
<frame name="main" src="index2.html" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0">
<frame name="rht" src="rht.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
</frameset>
<frame name="footer" src="footer.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
</frameset>
<frame name="bot_blank" src="blank.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
</frameset>
<frame name="rht_blank" src="blank.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
</frameset>
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.