Forum Moderators: open

Message Too Old, No Replies

IE and frames - scrollbar always showing

using frames without scrollbars in IE

         

Nagypapi

5:05 pm on Jun 10, 2005 (gmt 0)



Hello!

I am using frames, because of the following:
I have created a page with everything placed on absolute coordinates
I want this page to always be in the middle of the browser window, so I created 4 frames:
1 on top(the header)
under the header 3 frames in 3 columns:
1 on the left taking 1* space - empty frame
1 in the middle taking 775 px space - the content page
1 on the right taking 1* space - empty frame
This way, the content page allways gets to be in the middle
(<FRAMESET rows="80,500" framespacing="0" border="0" frameborder="no">
<FRAME src="header.htm" frameborder="0" NORESIZE SCROLLING="no">

<FRAMESET cols="1*, 770, 1*" framespacing="0" border="0" frameborder="no">
<FRAME src="empty.htm" NORESIZE frameborder="0" scrolling="no">
<FRAME src="content.php" NORESIZE frameborder="0" scrolling="no">
<FRAME src="empty.htm" NORESIZE frameborder="0" scrolling="no">
</FRAMESET>
</FRAMESET>)

All frames are noresize and scrolling="no"
Firefox displays the page perfectly.
But IE6 shows a damn scrollbar both in the header frame and the content frame.
It seems, that whenever a frame contains a picture bigger than the space of the frame, IE shows the scrollbar independant of scrolling="no"

My questions:
-Is there a workaround against the scrollbars?
-Can I somehow accomplish this task (getting content with absolute positions) without frames?

Thank you!

John

treeline

11:46 pm on Jun 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd look into absolute positioning with CSS.

There is an entire CSS forum here, check out it's Library as a good place to start.

onionringofdoom

1:17 am on Jun 11, 2005 (gmt 0)

10+ Year Member



Also, if you're looking for an alternative way to insert a seperate page into another page, try the php include() function. Check out php.net for more info!