/    Sign up×
Community /Pin to ProfileBookmark

Need Help with borderless Frames

Ok, I have this website that I am working on, its composed of an image that I split into various parts, like a table, but to be used in frame form so that one of the “frames” will be able to scroll, providing a long list of thumbnails (this is a portfolio site for my art stuff.). If there is a way to scroll with tables, Id be MUCH happier doing that, but for the time being im using borderless frames.

Anyways, the problem im having is that the frames are filling the whole screen, rather than consolodating into the center of the screen in a group. My page is 800×600, and needs to be compressed into that 800×600 block. I have the frames setup with no margin width or height, along with having no scrolling on all but the one, and also the no border tag. Ill post up the site and source when I get home but I am at work right now. Anyways, the problem is the frames dont form to the size of the images in them, even witout any margin, or padding. Even if they did, they are all over on the left side, even though the whole of the frameset is in “center” tags.

Now, I think my prob is you cant have a block of frames in the middle of a page, without making the outermost ones stretch to the edges of the screen. So, should I put my frameset block that I currently have inside a table in the middle of the screen, one that is just centered and only one cell large (with the size that I want my total page to be)? Is there another way to go about this? I dont know, ill have to check it out when I get back home. Please, give me any input if you can.

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@JonaMay 26.2003 — [i]Originally posted by MrPunkin [/i]

[B]If there is a way to scroll with tables, Id be MUCH happier doing that, but for the time being im using borderless frames.[/b][/quote]


[b][font=arial][color=maroon]Actually, you can make DIVs scroll (never tried with tables). Just put your content in this:[/color][/font][/b]

[font=courier new]

<!--Table is an example -->

<table width="50%">

<tr><th>Heading</th></tr>

<tr><td width="100%"><div style="overflow:auto;">Text

Put enough in here to make it scroll</div></td></tr>

</table>

<!--You can also try taking out the DIV and adding the CSS (style) to the TD element, but I've never tried that so I don't know if it will work. More info on this [url=http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow]here[/url] -->

[/font]

[i]Originally posted by MrPunkin[/i]

[b]Now, I think my prob is you cant have a block of frames in the middle of a page[/B][/QUOTE]


[b][font=arial][color=maroon]Hmmmm... You can't? You should take a look at [url=http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME]IFrames[/url].[/color][/font][/b]
Copy linkTweet thisAlerts:
@MrPunkinauthorMay 27.2003 — haha, sorry, I was actually speaking without an IFrame. I just meant you cant have a block of standard frames floating in the middle of the page.
Copy linkTweet thisAlerts:
@JonaMay 27.2003 — [b][font=arial][color=maroon]Oh, I see. That makes more sense. ?[/color][/font][/b]
Copy linkTweet thisAlerts:
@misspMay 27.2003 — I just went through a similar dilemma, having created a very tight (window sized) site and wanted to have the right div scroll as needed.

The scrolling layer set-ups I tried (several dreamweaver extensions) were rough at best ... don't work in Netscape 4 and caused great frustration. IFrames are not supported in Netscape so that was not even an option. Bummer. I ended up going with a framed site, although I prefer to avoid frames whenever possible (too many flaws and handicaps).

If anyone has a foolproof, cross-browser solution I'd be thrilled to hear it ?
Copy linkTweet thisAlerts:
@MrPunkinauthorMay 27.2003 — well IFrames are 4.01 compliant, but I understand that older netscapes wont support it. I got mine working, linke is [url="http://home.attbi.com/~mrpunkin/website/index.html"]Here[/url]. I think ill be switching to tables though and create my own scrolling solution rather than standard scrolling, or I dont know. Either way, it wont have that huge crappy scroller, and will probably not be frames.

New question though!!! - I used IFrame to put my frameset.html into a 800x600 box in the middle of the index page... now, currently all the html pages are in one folder on my server, how can I change this and link out to another folder for the frameset, say "frames/frameset.html". No matter how I try it just breaks the link to my frameset.html page from within the index.html's IFrame.

Thanks ahead of time.
Copy linkTweet thisAlerts:
@JonaMay 27.2003 — [b][font=arial][color=maroon]IFrames do not work in Netscape 4, but they do work in Netscape 6 or higher. If it didn't, it wouldn't be considered, "valid HTML."



MrPunkin, I don't quite understand your question here. Are you saying that you moved the files into a folder, "frames/" and none of the links worked? If that is the problem, you have to change the links to work within the set folder, not at top-level. [/color]
[/font][/b]
×

Success!

Help @MrPunkin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.30,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...