ideas?
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
Then the code you are using is not valid for that doctype. Try using this:Uaintseenme wrote:Woa, that looks superb! Perhaps I will trade for that lol...
Yea, everytime I add a certain doctype my little grey bar next to my navigation bar dissapears, gah this is confusing.
Code: Select all
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
Code: Select all
navFrame {
border-right: #A9A9A9 20px solid;
width: 150px;
height: 900px;
margin: 0px 0px 0px 0px;
}
<iframe class='navFrame' src="nav.html" valign="top" hspace="0" vspace="0" frameborder="0" scrolling="yes"></iframe>
Last edited by bitWISE on Wed Jun 15, 2005 4:08 pm, edited 1 time in total.
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
bitWISE wrote:Then the code you are using is not valid for that doctype. Try using this:Uaintseenme wrote:Woa, that looks superb! Perhaps I will trade for that lol...
Yea, everytime I add a certain doctype my little grey bar next to my navigation bar dissapears, gah this is confusing.Ew, the way you're making that grey bar is ugly. Why not do this:Code: Select all
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
Code: Select all
navFrame { border-right: #A9A9A9 20px solid; width: 150px; height: 900px; margin: 0px 0px 0px 0px; } <iframe class='navFrame' src="nav.html" valign="top" hspace="0" vspace="0" frameborder="0" scrolling="yes"></iframe>
I added that doctype, then revalidated, got this as my first error:
Line 5, column 12: there is no attribute "XMLNS"
<html xmlns="http://www.w3.org/1999/xhtml">
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
--------------
Also added that code you suggested for my navbar, didn't do anything, unless I did it wrong, here;
Code: Select all
<head>
<style>
navFrame {
border-right: #A9A9A9 20px solid;
width: 150px;
height: 900px;
margin: 0px 0px 0px 0px;
}
</style>
</head>
<body>
<iframe class="navFrame" src="nav.html" valign="top" width="150" height="900" marginwidth="0" marginheight="0" hspace="0" vspace="0"
frameborder="0" scrolling="yes" bordercolor="#000000">
</iframe>
[img]http://www.v0dk4.com/images/uasm_stfu.gif[/img]
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
you need a '.' in front of 'navFrame' in the style declaration, eg: ".navFrame {".Uaintseenme wrote: Also added that code you suggested for my navbar, didn't do anything, unless I did it wrong, here;
Code: Select all
<head> <style> navFrame { border-right: #A9A9A9 20px solid; width: 150px; height: 900px; margin: 0px 0px 0px 0px; } </style> </head> <body> <iframe class="navFrame" src="nav.html" valign="top" width="150" height="900" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="yes" bordercolor="#000000"> </iframe>
-
- Posts: 22175
- Joined: Sun Oct 14, 2001 7:00 am
-
- Posts: 77
- Joined: Thu May 12, 2005 8:34 pm
-
- Posts: 1975
- Joined: Mon Jan 24, 2005 10:14 pm
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am
-
- Posts: 971
- Joined: Tue Apr 05, 2005 12:28 am