472,984 Members | 2,063 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,984 software developers and data experts.

frameset doctype and framespacing/border

Hi

If i use this doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

i can not use the attributes framespacing and border like this:

<frameset cols ="100%" rows ="20,419,*" framespacing="0" border="0">

But when i leave these, i get those ugly borders :(

Okay, don't use frames (i don't anymore), but i need to know how to
solve this (if at all).

Thanks!

Mark

Sep 14 '05 #1
3 5159
Mark <sc*****@xs4all.nl> wrote:
If i use this doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

i can not use the attributes framespacing and border like this:

<frameset cols ="100%" rows ="20,419,*" framespacing="0" border="0">
Sure you can, but it won't validate against the public DTD.
But when i leave these, i get those ugly borders :(

Okay, don't use frames (i don't anymore), but i need to know how to
solve this (if at all).


You've provided the best answer yourself.

Other alternatives are accepting the borders, accepting validation
errors against the public DTD, or using a custom DTD.

--
Spartanicus
Sep 14 '05 #2
Mark schreef:
Hi

If i use this doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

i can not use the attributes framespacing and border like this:

<frameset cols ="100%" rows ="20,419,*" framespacing="0" border="0">

But when i leave these, i get those ugly borders :(


Try adding frameborder="no" to the <frameset>-line

--
Niek
Sep 14 '05 #3
Hi Mark,
To validate your document you need to use a custom DTD. Framespacing and border are attributes specific of IE (although they also work fine with Firefox). I explain in an article how to create a custom DTD for that only purpose:
http://www.onemillionpound.net/Tools.../link_001.html
Mar 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Hans | last post by:
Hi There, I have a page that has links with some variables and I need to open the results set in a frameset. I have tried doing this in various different ways, but still cannot get the variable...
3
by: Jan Plastenjak | last post by:
This question is about html. I have this: <frameset rows="90%,10%" frameborder="NO" border="0" framespacing="0" cols="1"> <frame name="topFrame" noresize src="c:\bpp.xml"> <frame name="bottom" ...
1
by: Manu | last post by:
Hello, i don't arrive to find a alternative for no border between 2 frame ! with IE no problem i use : framespacing="0" but for W3C how do ? Here my sample code : <!DOCTYPE HTML PUBLIC...
13
by: Andrew C. | last post by:
Hello, I am in the process of trying to make some existing web pages comply with W3C's HTML 4.01 Recommendation ('strict' where possible, 'loose' where not -- i.e. when using framesets and,...
8
by: Frances Del Rio | last post by:
can u put JS code inside a frameset? I have this, and it's not working, even test alerts are ignored, in both browsers.. thank you.. Frances Del Rio <frameset rows="90,*" border=0...
0
by: Charles A. Lackman | last post by:
Hello, I have a frameset nested inside another frameset: <FRAMESET border="0" frameSpacing="0" rows="150,72%" frameBorder="No"> <FRAME name="header" marginWidth="0" marginHeight="0"...
1
Fuhrer
by: Fuhrer | last post by:
Hi all, i have an HTML page that is divided into 3 frames: ------------------------------------------------------------------------------------------------------------------- <!DOCTYPE html...
0
by: Giggle Girl | last post by:
Hello there, :) I need a frameset that will have the same look and behavior in Firefox 1.5+ as it does in IE 6+. Here is a URL for it: http://66.51.164.93/fs/default.htm In IE, the "seam"...
15
by: Giggle Girl | last post by:
Hello there, :) I need a frameset that will have the same look and behavior in Firefox 1.5+ as it does in IE 6+. Here is a URL for it: http://66.51.164.93/fs/default.htm In IE, the "seam"...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.