| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 35818 | 2003-07-22 09:48:00 | How do you make frames dissapear on a webpage? | mejobloggs (264) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 162031 | 2003-07-22 09:48:00 | Im trying to make a frames page split into a top bit, a left bit, and a main - bottom right bit. I am trying to get it to validate as XHTML. The only ways i can do it is by: <frameset cols="155,*" border="0" frameborder="0" framespacing="0"> using those three things. But when I use the validator at www.w3.org, not of those validate as XHTML. Is there another way of getting rid of the frames? I thought maybe CSS or something, but I cant work it out. |
mejobloggs (264) | ||
| 162032 | 2003-07-22 10:02:00 | try this: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "www.w3.org <html xmlns="www.w3.org <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <frameset cols="80,*" frameborder="no" border="0" framespacing="0"> <frame src="file:///C|/My%20Documents/My%20Webs/UntitledFrame-2" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" /> <frame src="file:///C|/My%20Documents/My%20Webs/Untitled-2" name="mainFrame" id="mainFrame" /> </frameset> <noframes><body> </body></noframes> </html> let me know how you get on :) |
stu140103 (137) | ||
| 162033 | 2003-07-22 10:17:00 | Are you trying to change how the frames are displayed or get rid of them altogether? | -=JM=- (16) | ||
| 162034 | 2003-07-23 05:43:00 | Just make it so you cant see them. None of that stuff validates as xhtml (the border, frameborder and framespacing). | mejobloggs (264) | ||
| 162035 | 2003-07-23 05:48:00 | > Just make it so you cant see them. None of that stuff > validates as xhtml (the border, frameborder and > framespacing). did you try my suggestion above???? |
stu140103 (137) | ||
| 162036 | 2003-07-23 06:55:00 | Yes, but None of that stuff validates as xhtml (the border, frameborder and framespacing). | mejobloggs (264) | ||
| 162037 | 2003-07-23 08:01:00 | I've had trouble with that as well mejobloggs. I tried to get it to work by using the guides at W3 Schools (http://www.w3schools.com). Gave up in the end and threw in some code which would work, even if it didn't validate. | -=JM=- (16) | ||
| 162038 | 2003-07-23 11:19:00 | yup. Same here. I seems rather odd to have a new version of HTML, not support that. Are they trying to kill of the frames with xhtml? I am pretty sure you cant do it in css either. Can you email W3 about problems like this, or will they just not bother? |
mejobloggs (264) | ||
| 162039 | 2003-07-23 11:29:00 | The problem occurs when browser coders have a differing idea of the standards to what w3c has. Then there is w3schools with false information as well. It can be hard at times.. and yeah, frames aren't the best IMO. |
-=JM=- (16) | ||
| 162040 | 2003-07-24 01:38:00 | You can replace frames using CSS, but there are no browsers available which support the CSS code that will do it! So, you could get you code to validate, but no browser would show it correctly. Alternatively you can use frames as you are and get browsers to view it correctly, but as you have found out, it won't validate. you could try following this (www.w3.org) to the letter, it may work. G P |
Graham Petrie (449) | ||
| 1 2 | |||||