Forum Moderators: open
If I change to Transitional my div that holds my columns change to be smaller then it was before and I tried to adjust its with value and then it looked fine in IE 6 but not in NN7 (I have some other problems with NN as well but That has to be another post :-).
[edited by: Marcia at 11:59 pm (utc) on July 5, 2003]
[edit reason] No individual sites, please. [/edit]
Please review the Terms of Service [webmasterworld.com].
If the only thing you add is the target attribute, then there is surely something else that is wrong.
Are you using a full doctype declaration? Are you using the XML prologue?
But now I have ended up with another problem. I thought that I had a very good solution for accessability with the following code:
<script type="text/javascript">document.write
("<a href=\"javascript:\" onclick=\"window.open('../../popup/attaknop.html','','scrollbars=yes,
resizable=yes,width=300,height=550');\">Open up a popup with info</a>");</script>
<noscript>
<a href="../../popup/attaknop.html" target="_blank">
script not available, use an ordinary window</a>
</noscript>
But it failed the validation :-(
Line 189, column 90: an attribute value must be a literal unless it contains only name characters
(explain...).
.../javascript">document.write("<a href=\"javascript:\" onclick=\"window.open('.
Line 189, column 114: an attribute value must be a
literal unless it contains only name characters (explain...).
...ite("<a href=\"javascript:\" onclick=\"window.open('../../popup/rabandsknop.h
Line 189, column 215: document type does not allow element "a" here (explain...).
...sizable=yes,width=300,height=550');\">
råbandsknop</a>");</script>
So now I have to choose, validate that page XHTML
or go for a better acessability.
If no one here knows a better solution, sometimes my
middle of the night solutions are quite bad :-) Maybe I just escaped the characters in the wrong way or something like that?
Ps. Thank you for welcoming me, I hav been a reader of teh forum for quite a while know and I think there is a lot of knowledge among the users. Hopefully I will be able to contribute as an answerer as well.
[edited by: Marcia at 12:04 am (utc) on July 6, 2003]
[edit reason] Line breaks for side scrolling. [/edit]
The <noscript> tags may then end up duplicating some of the material, but the page ends up looking the way you want.
[hixie.ch...]
Title: Sending XHTML as text/html Considered Harmful
Enjoy :) Sure was an eye opener to me and made me remove my xhtml, and downgraded an netire site to html 4.01 and revalidate all the pages.
SN