Welcome to WebmasterWorld Guest from 54.198.55.167

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Unclosed div tag

     
4:22 am on Sep 11, 2017 (gmt 0)

Full Member

Top Contributors Of The Month

joined:Mar 10, 2017
posts: 245
votes: 103


Hi,

My right hand side Adsense ads are now showing at the bottom of the page. From my searches, I have read that it's due to an unclosed div tag. So, I found a site and checked my code and it did show that I have an unclosed tag. Basically, the code looked like this (but a lot more)...

My question is, where is this code that I am meant to edit? I don't have a clue where to start.


<div id='wrap_all'>
|<div id='header_main' class='container_wrap container_wrap_logo'>
| |<div class='container av-logo-container'>
| | |<div class='inner-container'>
| | | |<div class="avia-menu av-main-nav-wrap av_menu_icon_beside">
| | | |</div>
| | |</div>
| |</div><!-- end container_wrap -->
|</div>
|<div class='header_bg'>
|</div><!-- end header -->
|<div id='main' class='all_colors' data-scroll-offset='88'>
| |<div class='stretch_full container_wrap alternate_color light_bg_color title_container'>
| | |<div class='container'>
| | | |<div class="breadcrumb breadcrumbs avia-breadcrumbs">
| | | | |<div class="breadcrumb-trail" xmlns:v="http://rdf.data-vocabulary.org/#">
| | | | |</div>
| | | |</div>
| | |</div>
| |</div>
| |<div class='container_wrap container_wrap_first main_color sidebar_right'>
| | |<div class='container template-blog template-single-blog '>
| | | |<div class="big-preview single-big">
| | | |</div>
| | | |<div class='blog-meta'>
| | | |</div>
5:30 am on Sept 11, 2017 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4005
votes: 245


The unclosed <div tag is not likely to be in the WP theme coding, more likely to be in the content of a page or post - or a sidebar widget or even a plugin. If it were in the theme it would have been apparent before adding any content.

To determine where the error is you can either view the source code and use a suitable text editor or take the URL to the w3 jigsaw HTML Validator [validator.w3.org] that will give you a clear indication of where it is.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members