/    Sign up×
Community /Pin to ProfileBookmark

fighting the frames

Hey there,

I’m building a website using frames.
Everything looks just fine, excepts for the frame border.
When I use frameborder=”1″, I get a nice border. When I use frameborder=”0″, I don’t get a 3D border, but a white space between the frames which doesn’t want to go away.
I tried some things with colored borders, framespacing and so on, but I can’t make the white space go away.

I posted the frameset below. I’m using both FF 2.0 and IE7. In IE7 the white space is smaller, but it’s still there.

What am I doing wrong?

René

[code]
<frameset rows=”150px,*,50px”>
<frame name=”Header” src=”Html_bestanden/header.htm” frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″>
<frameset cols=”10%,*”>
<frame name=”Menu” src=”Html_bestanden/menu.htm” frameborder=”0″ marginheight=”0″ marginwidth=”0″>
<frame name=”Main” src=”Html_bestanden/main.htm” frameborder=”0″ marginheight=”0″ marginwidth=”0″>
</frameset>
<frame name=”footer” src=”Html_bestanden/footer.htm” frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″>
</frameset>
[/code]

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ryanbutlerMar 18.2007 — Can you post a page URL?
Copy linkTweet thisAlerts:
@netbuddyMar 18.2007 — remove the px as the numbers are pixels in anycase.

Should be something like this...

<frameset rows="150,*,150" cols="*" frameborder="no" border="0">

<frame src="Html_bestanden/header.htm" noresize scrolling="no" >

<frameset cols="10%,*">

....


scrolling="no" can be scrolling="auto" as well as scrolling="yes"

frameborder in your frame tags should be in the frameset tag, the border option should be in the frame tag...

see if that cures the problem.
Copy linkTweet thisAlerts:
@renevanhauthorMar 18.2007 — I've put the site online for testing purposes. It's not finished at all, and I'm not happy with the menu buttons yet, but it's enough the see what I mean with the white space between the frames.

The url: http://reynearts.awardspace.com/BASS/index.htm


scrolling="no" can be scrolling="auto" as well as scrolling="yes"
[/quote]

I know, but since I don't want the scrollbars in these frames, I used scrolling="no".


frameborder in your frame tags should be in the frameset tag, the border option should be in the frame tag...
[/QUOTE]


The border option is not valid in HTML 4.01 and has been replaced with the frameborder parameter.

See W3C schools for exact information.
×

Success!

Help @renevanh 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 5.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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