Who can help me with a problem that i'm having with frames? I have created frames with a header, a body and a footer. The body has also frames with right, main and left frame.
Now everything seems to work, but in frame main I get an horizontal scrollbar as well as a vertical scrollbar when opening a new webpage into this frame. The vertical scrollbar is OK, but I don't want to have the horizontal one. Who can help me?
However, I don't know if framesets are supposed to be nested like this. Anyone?
Can't actually open the page properly- it jumps out of it's frameset
EDITED: It works now
Last edited by DaveSW; 05-21-2003 at 07:43 AM.
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
"And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.
There doesn't appear to be an easy solution according to the microsoft link.
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
"And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.
sScrolling String that specifies or receives one of the following values.auto Default. Browser determines whether scroll bars are necessary.
no Frame cannot be scrolled.
yes Frame can be scrolled.
The property is read/write. The property has a default value of auto.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Standards Information
This property is defined in HTML 4.0 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
IFRAME
Platform Version
Win16: 3.02
Win32: 3.02
WinCE: 4.0
Unix: 4.0
Mac: 3.02
Version data is listed when the mouse hovers over a link, or the link has focus.
FRAME, IFRAME
Move the mouse pointer over an element in the Applies To list to display availability information for the listed platforms.
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
"And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.
Slightly different approach but yeah I guess. CSS to save the day LOL. But there's still no easy way in Coffee Cup's web page creator unless you are slightly familiar with the code!
Should that css be applied to the frame, rather than the body?
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
"And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.
The width of frame "main" is causing a problem with IE's calculated width. You have hspace, marginwidth and frameset column width. If you set the <body style="width:758px" ...> ie. 800 - 2x hspace - 2x marginwidth -2 (calculation error Doh!) the hor. scrollbar disapears. Try and simplify the margins - do them in the documents not the frameset(s).
Are your framesets correct? This is what you are trying to do:
<frameset rows="95,*,50" ... >
<frame name="head" ... >
<frameset cols="*,800,*" ... >
<frame name="left" ... />
<frame name="main" ... >
<frame name="right" ... >
</frameset>
<frame name="foot" ... >
</frameset>
OK, everybody thanx sofar for their input. Although I'm not quite sure how to proceed...
Fang wrote that I should take the next code: <body style="width:758px">, Should that be in all the pages that are ment to be put into frame main or... ?
Bookmarks