Is there a simple CSS to eliminate/change iFrame borders?
Thanks.is it going to run in netscape 4.x?why couldn't you just use the html attribute. Border="0".Originally posted by PeOfEo
why couldn't you just use the html attribute. Border="0". Because the IFRAME element doesn't have a "border" attribute. It does, however, have a "frameborder" attribute. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME">http://www.w3.org/TR/html4/present/fram ... def-IFRAME</a><!-- m -->.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example</title>
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3.org/" frameborder="0"><a href="http://www.w3.org/">http://www.w3.org/</a></iframe>Thanks all.
...and no, I no longer keep compatibility with netscape 4.x.Originally posted by Charles
Because the IFRAME element doesn't have a "border" attribute. It does, however, have a "frameborder" attribute. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME">http://www.w3.org/TR/html4/present/fram ... def-IFRAME</a><!-- m -->.
Awww you know what I mean.Originally posted by PeOfEo
Awww you know what I mean. How would he? border and frameborder are two very different things...well when hes refering to an iframe, that only has frameborder. There is no border attribute, I just was not thinking. But because their is no border attribut but rather frame border, one shoudl probably assume thats what I meant.
Thanks.is it going to run in netscape 4.x?why couldn't you just use the html attribute. Border="0".Originally posted by PeOfEo
why couldn't you just use the html attribute. Border="0". Because the IFRAME element doesn't have a "border" attribute. It does, however, have a "frameborder" attribute. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME">http://www.w3.org/TR/html4/present/fram ... def-IFRAME</a><!-- m -->.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example</title>
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3.org/" frameborder="0"><a href="http://www.w3.org/">http://www.w3.org/</a></iframe>Thanks all.
...and no, I no longer keep compatibility with netscape 4.x.Originally posted by Charles
Because the IFRAME element doesn't have a "border" attribute. It does, however, have a "frameborder" attribute. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME">http://www.w3.org/TR/html4/present/fram ... def-IFRAME</a><!-- m -->.
Awww you know what I mean.Originally posted by PeOfEo
Awww you know what I mean. How would he? border and frameborder are two very different things...well when hes refering to an iframe, that only has frameborder. There is no border attribute, I just was not thinking. But because their is no border attribut but rather frame border, one shoudl probably assume thats what I meant.