473,382 Members | 1,247 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

WP page error: Error Line : Unclosed element div

Greetings, first post and in need of some code error help.
I am ruff at html and .css skill wise. :)

Home Page
Good page w/ proper R-sidebar
Evil page w/ improper R-sidebar.

Error from WC3 checker for evil page:
<div id="wrapper" class="hfeed">
Expand|Select|Wrap|Line Numbers
  1. Error Line 138, Column 32: Unclosed element div.
  2. <div id="wrapper" class="hfeed">
I have tried to get Firefox plugin html val .9.1.0 to help me but it will not validate my page. I have installed and gone to the test page for that tool and it auto detects errors and shows in bottom right of status bar. But nothing shows on my page...

Thanks for any and all help!
Peace and Blessings
Rylos
Aug 30 '11 #1
4 8035
Rabbit
12,516 Expert Mod 8TB
What the error means is that you have a <div> that doesn't have a corresponding </div>
Aug 30 '11 #2
Doh, yea. Sorry, I am clear on that. But what I am not clear on is what I need to fix.

In looking at the code I do not see a missing </div> tag. I can not get the HTML Validate tool to work.

Expand|Select|Wrap|Line Numbers
  1. Line 138, Column 32: Unclosed element div. 
  2. <div id="wrapper" class="hfeed">
The only thing I can see is in Bold below and I can not find a corresponding </div id="wrapper" class="hfeed"> if there should be one? However, I don't see it on the other page that works? Looked at it in DreamWeaver as well, and not sure what I should do? Thanks

Expand|Select|Wrap|Line Numbers
  1. <div id="wrapper" class="hfeed">
  2.     <div id="header">
  3.         <div id="masthead">
  4.         <div id="ttw-site-logo"></div>
  5.         <div id="ttw-site-logo-link" onclick="location.href='http://www.timlist.net/ebooks/ccp/';" style="cursor:pointer;"></div>
  6.         <div id="site-title" style="display:none;">
  7.             <span>
  8.             <a href="http://www.timlist.net/ebooks/ccp/" title="Chalice Children's Books" rel="home">Chalice Children's Books</a>
  9.             </span>
  10.         </div>
  11.         <div id="site-description" style="display:none;">Reading to your Child's Immagination</div>
  12.         <div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
  13.  
  14.         <div id="branding" role="banner">
  15. <!-- Weaver Plus Header Insert -->
  16. <!-- Weaver Plus Custom Header Insert Page ID: 76; -->
  17.  
  18. <!-- Weaver Plus More Options Insert -->
  19.             <a href="http://www.timlist.net/ebooks/ccp/" title="Chalice Children's Books" rel="home">
  20.             <img src="http://www.timlist.net/ebooks/ccp/wp-content/uploads/2011/08/header-ccp-e011.png" width="940" height="90" alt="Chalice Children's Books" />
  21. </a>
  22.         </div><!-- #branding -->
  23.  
  24.     </div><!-- #masthead -->
  25.     </div><!-- #header -->
Aug 30 '11 #3
Niheel
2,460 Expert Mod 2GB
You are missing a closing div, it's at the very end.

Add </div> and it should validate. You have to close div's. That isn't an option.
Aug 30 '11 #4
Fixed. Thanks. I was unsure just what to insert? Did I need some </div Wrapper> or something? Now I see that those are just comments. I was not sure if I could just put in any old div close or what?

All working now.
Peace and Blessings!
Aug 31 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Mr. x | last post by:
Hello, I wrote a javascript, and when I open the html by the browser, I get the message : Error in page. It is about tousand lines, and I cannot figure out in a simple way, where is the...
9
by: Jacquie | last post by:
hello- I am hoping someone can help me solve this mystery. My pages always say Done with error on page on the bottom. They appear fine on my computer but other people can't all see it on their...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
2
by: tshad | last post by:
On a normal error message page that asp.net generates, you have the message, the stack trace and few lines of code where the error was generated: Line 172: <asp:TemplateColumn...
2
by: Jo | last post by:
Hi all, I've created a FileUpload in the footer of a Gridview. The only thing I want to do with this, is to pick a file with the Browse-button or to fill in a filename myself (without the...
1
by: incognito | last post by:
Hello I recently started up my own website and aquired an affiliates directory script. Where webmasters can add thier site to my directory and visitors can rate the sites listed. All has been going...
1
by: bagya | last post by:
please help me out the following is the small code i have <html> <head> <script type="text/javascript"> function validate() { if (document.abc.region.value==0)
4
by: rukkie | last post by:
Hi, I have some problems with a PHP reference in a <SCRIPTtag, but only with the Internet Explorer, which gives a "Error on page" message in the Status Bar. The code is as follows : <script>...
2
by: Siebbel | last post by:
I have the following problem: I am building a piece of software I made using jboss on a new server and try to run it, but it seems something is wrong with xml. I get the following error: The...
1
by: danny causer | last post by:
Hi, I am trying to make my first dynamic site using php. I am however getting the following error message on my first page: _______________________________________________________ My first Page...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.