User Name
Password

Go Back   Planetarion Forums > Non Planetarion Discussions > Programming and Discussion
Register FAQ Members List Calendar Arcade Today's Posts

Reply
Thread Tools Display Modes
Unread 24 Oct 2003, 17:48   #1
Obliterate
:cool:
 
Obliterate's Avatar
 
Join Date: Jul 2001
Location: Here, there and everywhere
Posts: 791
Obliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant future
HTML - Framesets

I am using framesets in HTML. Currently, my page looks as it is supposed to on all the browsers i've tested it on (IE 5.2, Safari 1.0, Mozilla 1.5 and Opera 6.03). Here is the code:

Code:
<frameset rows="141,*" cols="*" frameborder="NO" border="0" framespacing="0">
  <frameset rows="*,35" cols="*" framespacing="0" frameborder="NO" border="0">
    <frame src="topframe.html" name="topFrame" scrolling="NO" noresize >
    <frame src="linksframe.html" name="bottomFrame" scrolling="NO" noresize>
  </frameset>
  <frameset rows="*" cols="163,*" framespacing="0" frameborder="no" border="0">
    <frame src="leftframe.html" name="leftFrame" scrolling="NO" noresize>
    <frame src="mainframe.html" name="mainFrame">
  </frameset>
</frameset>
However, when I put the code through a validator I get the following errors:

Line 6, column 44: there is no attribute "FRAMEBORDER" (explain...).
Line 6, column 56: there is no attribute "BORDER" (explain...).
Line 6, column 73: there is no attribute "FRAMESPACING" (explain...).

So, I remove the offending code and it validates fine, but when I test the page it only looks like it's supposed to in IE. In Mozilla, Opera and Safari - the edges of the frames could be seen on the page. (As can be seen in these screenshots).

So, basically what I'm asking is what is the correct code to make the page appear like it does in IE - or should I not worry too much about perfect code, and leave the "offending attributes" in there?
__________________
Danger gleams like sunshine to a brave man's eyes.
Obliterate is offline   Reply With Quote
Unread 24 Oct 2003, 19:05   #2
pablissimo
Henry Kelly
 
pablissimo's Avatar
 
Join Date: Apr 2000
Posts: 7,374
pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

Are you validating it as HTML 4.01 Frameset, or just Transitional or Strict or what?
__________________
You're now playing ketchup
pablissimo is offline   Reply With Quote
Unread 24 Oct 2003, 19:16   #3
Obliterate
:cool:
 
Obliterate's Avatar
 
Join Date: Jul 2001
Location: Here, there and everywhere
Posts: 791
Obliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant future
Re: HTML - Framesets

Quote:
Originally Posted by pablissimo
Are you validating it as HTML 4.01 Frameset, or just Transitional or Strict or what?
Sorry, yeah I'm validating it as HTML 4.01 Frameset
__________________
Danger gleams like sunshine to a brave man's eyes.
Obliterate is offline   Reply With Quote
Unread 24 Oct 2003, 20:11   #4
pablissimo
Henry Kelly
 
pablissimo's Avatar
 
Join Date: Apr 2000
Posts: 7,374
pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

Well for a start the HTML4.01 specs say that you can't have a FRAMEBORDER attribute in anything but a FRAME tag, whereas you've got it in a FRAMESET tag.

Also, the HTML4.01 Frameset specs make no mention at all of attributes called BORDER or FRAMESPACING.
__________________
You're now playing ketchup
pablissimo is offline   Reply With Quote
Unread 24 Oct 2003, 20:22   #5
Obliterate
:cool:
 
Obliterate's Avatar
 
Join Date: Jul 2001
Location: Here, there and everywhere
Posts: 791
Obliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant future
Re: HTML - Framesets

Quote:
Originally Posted by pablissimo
Well for a start the HTML4.01 specs say that you can't have a FRAMEBORDER attribute in anything but a FRAME tag, whereas you've got it in a FRAMESET tag.

Also, the HTML4.01 Frameset specs make no mention at all of attributes called BORDER or FRAMESPACING.
Yeah I'm aware it's not valid HTML

What I'm asking is how can I make my page look the same as when I use the invalid HTML, but by using valid HTML
__________________
Danger gleams like sunshine to a brave man's eyes.
Obliterate is offline   Reply With Quote
Unread 24 Oct 2003, 20:30   #6
pablissimo
Henry Kelly
 
pablissimo's Avatar
 
Join Date: Apr 2000
Posts: 7,374
pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

I should have read the whole post =((
Edit: try

body {
border: 0px;
}

in the CSS file of 'something' if you're allowed it
__________________
You're now playing ketchup
pablissimo is offline   Reply With Quote
Unread 24 Oct 2003, 20:46   #7
Obliterate
:cool:
 
Obliterate's Avatar
 
Join Date: Jul 2001
Location: Here, there and everywhere
Posts: 791
Obliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant future
Re: HTML - Framesets

Quote:
Originally Posted by pablissimo
I should have read the whole post =((
Edit: try

body {
border: 0px;
}

in the CSS file of 'something' if you're allowed it
nope, that didn't work

I'm using CSS for the dotted line border in the left frame anyway, and the frame border appears slightly to the right of that.
__________________
Danger gleams like sunshine to a brave man's eyes.
Obliterate is offline   Reply With Quote
Unread 24 Oct 2003, 20:57   #8
pablissimo
Henry Kelly
 
pablissimo's Avatar
 
Join Date: Apr 2000
Posts: 7,374
pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.pablissimo has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

Move the FRAMEBORDER attributes into the FRAME tags?

Though tbh if it renders in all the major browsers I'd leave it.
__________________
You're now playing ketchup
pablissimo is offline   Reply With Quote
Unread 24 Oct 2003, 21:02   #9
Obliterate
:cool:
 
Obliterate's Avatar
 
Join Date: Jul 2001
Location: Here, there and everywhere
Posts: 791
Obliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant futureObliterate has a brilliant future
Re: HTML - Framesets

Quote:
Originally Posted by pablissimo
Move the FRAMEBORDER attributes into the FRAME tags?

Though tbh if it renders in all the major browsers I'd leave it.
Just tried that - the frameborders changed to white lines

I think i'll just leave it now, don't think any browser will have trouble rendering it tbh.
__________________
Danger gleams like sunshine to a brave man's eyes.
Obliterate is offline   Reply With Quote
Unread 25 Oct 2003, 00:33   #10
Leshy
Mr. Blobby
 
Leshy's Avatar
 
Join Date: Nov 2000
Location: Belgium
Posts: 8,271
Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

Frames are crappy for a variety of reasons (inability to link to specific pages, people arriving on a sub-page and being unable to navigate, etc.) If you can in any way switch to a frameless layout, do so. If you do have a specific need for frames whatsoever that you simply can't get around, use <iframe> instead.

Edit: Decided to have a looksie anyway. It appears that all attributes other than 'rows' and 'cols' are deprecated for <frameset>, so there is no way to get a frameset without any border using valid (X)HTML. So if you do want to use frames without borders in between, you're going to have to be naughty and do this (also, there's no need for nesting in two framesets).

Code:
<frameset rows='141,35,*' border='0'>
  <frame src='topframe.html' name='topFrame' scrolling='no' noresize='noresize'>
  <frame src='linksframe.html' name='bottomFrame' scrolling='no'>
  <frameset cols='163,*'>
    <frame src='leftframe.html' name='leftFrame' scrolling='no' noresize='noresize'>
    <frame src='mainframe.html' name='mainFrame'>
  </frameset>
</frameset>
__________________
http://www.leshy.net

Last edited by Leshy; 25 Oct 2003 at 01:51.
Leshy is offline   Reply With Quote
Unread 25 Oct 2003, 17:52   #11
mbushell
Registered User
 
mbushell's Avatar
 
Join Date: Jul 2000
Location: :noitacoL
Posts: 1,200
mbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus would
Re: HTML - Framesets

Quote:
Originally Posted by Leshy
Code:
<frameset rows="141,35,*" border="0">
  <frame src="topframe.html" name="topFrame" scrolling="no" noresize="noresize">
  <frame src="linksframe.html" name="bottomFrame" scrolling="no">
  <frameset cols="163,*">
    <frame src="leftframe.html" name="leftFrame" scrolling="no" noresize="noresize">
    <frame src="mainframe.html" name="mainFrame">
  </frameset>
</frameset>
fixed
mbushell is offline   Reply With Quote
Unread 25 Oct 2003, 18:37   #12
Leshy
Mr. Blobby
 
Leshy's Avatar
 
Join Date: Nov 2000
Location: Belgium
Posts: 8,271
Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

Quote:
Originally Posted by mbushell
fixed
Both " and ' are allowed and work equally well. I prefer '.
__________________
http://www.leshy.net
Leshy is offline   Reply With Quote
Unread 26 Oct 2003, 10:14   #13
mbushell
Registered User
 
mbushell's Avatar
 
Join Date: Jul 2000
Location: :noitacoL
Posts: 1,200
mbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus wouldmbushell spreads love and joy to the forum in the same way Jesus would
Re: HTML - Framesets

single quotes look ugly in html i reckon
mbushell is offline   Reply With Quote
Unread 26 Oct 2003, 10:17   #14
Gayle29uk
Bitch
 
Join Date: Jun 2002
Location: North Yorkshire
Posts: 3,848
Gayle29uk is just really niceGayle29uk is just really niceGayle29uk is just really niceGayle29uk is just really nice
Re: HTML - Framesets

Frames are evil and should be banned. Not as banned as <blink> though!
__________________
ACHTUNG!!!
Das machine is nicht fur gefingerpoken und mittengrabben. Ist easy
schnappen der springenwerk, blowenfusen und corkenpoppen mit
spitzensparken. Ist nicht fur gewerken by das dummkopfen. Das
rubbernecken sightseeren keepen hands in das pockets. Relaxen und vatch
das blinkenlights!!!
Gayle29uk is offline   Reply With Quote
Unread 26 Oct 2003, 13:24   #15
Leshy
Mr. Blobby
 
Leshy's Avatar
 
Join Date: Nov 2000
Location: Belgium
Posts: 8,271
Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: HTML - Framesets

Quote:
Originally Posted by mbushell
single quotes look ugly in html i reckon
Personally, I feel single quotes look less intrusive. Especially when working with PHP it's more convenient to use single quote for HTML and double quotes for PHP values.
Quote:
Originally Posted by Gayle29uk
Frames are evil and should be banned. Not as banned as <blink> though!
Both <blink> and <marquee>. For some reason they've been added to Opera as well now
__________________
http://www.leshy.net

Last edited by Leshy; 26 Oct 2003 at 13:29.
Leshy is offline   Reply With Quote
Reply



Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Emails Ragnarak Programming and Discussion 2 30 Aug 2003 12:59
HTML Layout pablissimo Programming and Discussion 6 21 May 2003 14:56
Word HTML Mong Programming and Discussion 22 30 Apr 2003 12:40
WANTED: HTML & GFX dude for Car website hinch Programming and Discussion 16 11 Mar 2003 16:42
delphi using HTML MrLobster Programming and Discussion 1 27 Feb 2003 17:28


All times are GMT +1. The time now is 13:18.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018