Forum Moderators: open

Message Too Old, No Replies

frameset giving bottom scroller

but there is loads of room..!?

         

natty

11:40 am on Apr 19, 2004 (gmt 0)

10+ Year Member



hi there,

ahh fraesets..

here is the frameset..


<frameset cols="150,*" rows="*" border="0" framespacing="0" frameborder="NO">
<frame src="menu.html" name="menu" scrolling="NO" frameborder="NO">
<frame src="test.html" frameborder="NO" name="main">
</frameset>

test.html code


<table width="450" border="0" cellpadding="2" cellspacing="2" style="margin-left:20px;">
<!-- stuff in here obviously -->
</table>

question is , why does me main frame have a bottom scroller.!? it is 450 px wide, and there is loads of spare room.. is this an IE bug?!?
or am i missing somethign obvious..

cheers,

nat

tedster

1:10 pm on Apr 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's a guess - try eliminating the rows="*" attribute. You only have one row so it's unneeded anyway.

sebbothebutcher

7:08 pm on Apr 19, 2004 (gmt 0)

10+ Year Member



try using

<frame ... scrolling="auto">

maybe it will eliminate the bottom scroller!

natty

12:08 pm on Apr 20, 2004 (gmt 0)

10+ Year Member



just to add..
this is only happening in IE (6.0.2800)
firefox is fine with it..

Alternative Future

12:31 pm on Apr 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried getting rid of all your border & cell padding/spacing settings for testing? i.e.

<table width="450" border="0" cellpadding="0" cellspacing="0" style="margin-left:0px;">
<!-- stuff in here obviously -->
</table>

And setting the <body rightmargin=0px leftmargin=0px> withing the html of the above code. This reduces everything to a width of 450 your padding spacing settings is forcing everything over 450 from the left of the browser.

-George

natty

12:51 pm on Apr 20, 2004 (gmt 0)

10+ Year Member



nope, sadly none of that seemed to do the trick..
i have had this problem more than once woth the version of IE im using.
the other time i had a table set to a percentage width in my main frame and got a bottom scroller there too. the % was set to 95%..
but once again , firefox happily rendered it as i was expecting, just IE being an arse.
percentages i can imagine may be a problem, but this time its a fixed width table, and the scroller bar, doesnt change its scrolliness, - sorry bad description, but the size of the scroll bar doesnt change. however i size the window, the actual scrolbar is abou 95% of the scrolly region.. sorry if that makes no sense whatsoever..

any more help would be much aprreciated.
.cheers again

nat

Alternative Future

12:59 pm on Apr 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Right perhaps am missing the point now but:
<frame src="test.html" frameborder="NO" scrolling="NO" name="main">

What happens if you put either scrolling="no" or "auto" into the frame containing test.html?

-George

natty

2:32 pm on Apr 20, 2004 (gmt 0)

10+ Year Member



hiya george, thanks for the continuing interest..
scrolling = no bins the up down scroller - so no good, and auto, puts that back in , but back comes the bottom one again..
pah.

natty

4:55 pm on Apr 20, 2004 (gmt 0)

10+ Year Member



seems also to be realted to the doctype


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

who knows.. certainly not me..

more additions..
but as my pages validated with that doctype.. what gives?!?!?!?!

tedster

6:32 pm on Apr 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Framesets have their own dedicated DTD!

And there's never any guarantee that valid code will also display the way you want - but you already found that out.

natty

1:43 pm on Apr 21, 2004 (gmt 0)

10+ Year Member



i thought that may also be a problem, so i changed the frameset to the valid XHTML one, but im still plauged with the bottom scroller..
surely other people have had framesets that work?

with a top banner, and then a nav frame on the left, and a main one in the remaining space.?!?!?!

to add, if i bin the doctype completely , all is well, i even tried changing to HTML 4.01 strict, but the same problem there too..
pah!

natty

2:42 pm on Apr 21, 2004 (gmt 0)

10+ Year Member



OK, ive spent far too much time ont his , and decided to forget about the XHTML , HTML strict pants, and just put <html>
and WOW! it works fine..

i dont see the point of spending all this time validating and writing correct (x)html when its still renders wrong..

waste of time..

yours, a bit miffed,

nat