Validation error on iframe from WFB

User 1738266 Photo


Registered User
52 posts

I just upgraded to WFB 2.9. I am using CC Editor 15.4.

I opened my .fb file and exported it to my manually configured server as usual.

I pasted in the generated html and submitted my html for validation. I got several instances of this error.
Error: Text not allowed in element iframe in this context.

I am using Foundation 6.3 (not from RFF.)
This is my entire html file:
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content=
"width=device-width, initial-scale=1.0">
<title>
Dummy
</title>
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"iibc-reg-online.php" + window.location.search + "\" width=\"100%\" height=\"1126\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E&lt;a href=\"iibc-reg-online.php\" title=\"iibc-reg-online\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</script>
<noscript>
<iframe height="1126" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="iibc-reg-online/iibc-reg-online.html">
<a href="iibc-reg-online.php" title="iibc-reg-online">Check out my CoffeeCup Form</a>
</iframe>
</noscript>
<!-- Begin necessary stuff at end -->
<script src="bower_components/jquery/dist/jquery.js">
</script> <script src=
"bower_components/what-input/dist/what-input.js">
</script> <script src=
"bower_components/foundation-sites/dist/js/foundation.js">
</script> <script src="js/app.js">
</script> <!-- End necessary stuf at end -->
</body>
</html>


User 187934 Photo


Senior Advisor
20,302 posts
Online Now

Hi Thomas,
If you can share a link it's a lot easier to see what your referring to.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1738266 Photo


Registered User
52 posts

Link to page in question.
It renders correctly (in Firefox), just fails validation.

http://www.otsiningo.com/iibc2017/iibc-reg-online.html
User 2699991 Photo


Registered User
5,588 posts
Online Now

<a href="iibc-reg-online.php" title="iibc-reg-online">Check out my CoffeeCup Form</a>

this is the cuprit
STUCK ON SOMETHING?
Learning by doing. Responsive Site Designer Tutorials

User 187934 Photo


Senior Advisor
20,302 posts
Online Now

Your missing some semicolons in your css
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1738266 Photo


Registered User
52 posts

Eric: The CSS shouldn't affect the html validation, should it? This is a project under development; there may be some glitches.

Wayan Jaya: What's wrong with that statement? It was generated by WFB.

User 2699991 Photo


Registered User
5,588 posts
Online Now

Thomas Elliott wrote:
Eric: The CSS shouldn't affect the html validation, should it? This is a project under development; there may be some glitches.

Wayan Jaya: What's wrong with that statement? It was generated by WFB.


I don't know I am not a validator,, all I know is when I do validation that is the line that they say isn't allowed in iframe.
STUCK ON SOMETHING?
Learning by doing. Responsive Site Designer Tutorials

User 2699991 Photo


Registered User
5,588 posts
Online Now

here is image of w3c error report
Attachments:
STUCK ON SOMETHING?
Learning by doing. Responsive Site Designer Tutorials

User 187934 Photo


Senior Advisor
20,302 posts
Online Now

Thomas Elliott wrote:
Eric: The CSS shouldn't affect the html validation, should it? This is a project under development; there may be some glitches.

Wayan Jaya: What's wrong with that statement? It was generated by WFB.


For valid CSS is does.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1738266 Photo


Registered User
52 posts

Wayan: I removed the offending statement and the html validated. It appears that the statement is not necessary. Thanks for your help.

Eric: Why is the offending statement included?

I submitted a query to the Foundation forum about the css validation errors. Am awaiting a resplonse.


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.