Hi All
Have a issue with website the footer see attached image, this has just started to happen and I've made no changes to website.
It looks ok in Firefox but not in IE7.
Any ideas.
Roger
Hi All
Have a issue with website the footer see attached image, this has just started to happen and I've made no changes to website.
It looks ok in Firefox but not in IE7.
Any ideas.
Roger
Fish4Carp Links Directory|Fish4Pike Links Directory|Fish4Venues Carp Venues |Links4Bedfordshire - Powered by Indexu 5.4
Either you have never noticed the above or you made a change, even if inadvertent, that caused it.
look for missing DIV(s) or /DIV(s).
e.g., the following:
<div> <---DIV #1 - I'd say you added this DIV
<div class="content_2"> <---DIV #2 - added by INDEXU
<div class="search_field"> <---DIV #3 - added by INDEXU
<!-- Google CSE Search Box Begins -->
<form action="http://www.fish4carp.co.uk/gsearch.php"
id="searchbox_009691959962705109733:yohjl78uj4q">
<input type="hidden" name="cx"
value="009691959962705109733:yohjl78uj4q" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="text" name="q" size="25" />
<input type="submit" name="sa" value="Search" class="button" />
</form>
<script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=searchbox_009691959962705109733%3Ayohjl 78uj4q"></script>
<!-- Google CSE Search Box Ends -->
</div> <---/DIV #1 - I'd say you added this DIV - but this actually closes DIV #3, the search_field DIV
Here is the actually indentation so you can see that the last DIV aligns with the first DIV and not the last
Code:<div> <div class="content_2"> <div class="search_field"> <!-- Google CSE Search Box Begins --> <form action="http://www.fish4carp.co.uk/gsearch.php" id="searchbox_009691959962705109733:yohjl78uj4q"> <input type="hidden" name="cx" value="009691959962705109733:yohjl78uj4q" /> <input type="hidden" name="cof" value="FORID:11" /> <input type="text" name="q" size="25" /> <input type="submit" name="sa" value="Search" class="button" /> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_009691959962705109733%3Ayohjl78uj4q"></script> <!-- Google CSE Search Box Ends --> </div>
Others may be lurking about, so keep searching.
Death to Tables, Long Live DIVs
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
i fixed this for you a while back, its a div tag missing, i think its in the footer.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Hi inspireme
Can you remember where the missing div tag was as I haven't changed anything on my site and it just started to do this again.
Cheers
Roger
Fish4Carp Links Directory|Fish4Pike Links Directory|Fish4Venues Carp Venues |Links4Bedfordshire - Powered by Indexu 5.4
hmm yeah, i think you add </div>
to end of header ... looking at the picture, but i cant remember exactly
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Hi
Had a look at header and there is a div tag there, site was ok the other day made no changes and have problem again, very odd.
Roger
Fish4Carp Links Directory|Fish4Pike Links Directory|Fish4Venues Carp Venues |Links4Bedfordshire - Powered by Indexu 5.4
you need to add another one, the arent balanced, you will have loads of div tags all over the place.
To be honest, if your not sure how layouts with div tags work it will be hard to identify where the problem is coming from, your best bet is to add </div> to end of header and upload... fi that doesn't work try the start of the footer file, if that doesnt work then youll need someone to take a look at it and work out where exactly the div tag needs to be.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Hi inspireme
Tried all that but still no joy this is driving me "nuts" site was ok the other day now this problem again AHHHHHHHHHHHHHH.
Roger
Fish4Carp Links Directory|Fish4Pike Links Directory|Fish4Venues Carp Venues |Links4Bedfordshire - Powered by Indexu 5.4
yep, lots of DIVs
One technique I use is to work from the "middle out." Find a pair of matching DIV and /DIV. Delete the code in between. I generally leave the DIVs there.
for example
<div class="list_dot">
<ul><li><a href="http://www.fish4carp.co.uk/detail/537/the-fishing-bag.html" name="link_537"><b>The Fishing Bag</b></a>
<br />
<div class="small">We are a small family-run business and our aim is to provide a fast and efficient mail order service to the carp angler. PVA Bags, Leads, Leadcore plus much more.
<br />
<table cellpadding="0" cellspacing="0">
<tr>
<td valign="top">Category: </td>
<td valign="top">
<a href="http://www.fish4carp.co.uk/tackle-shops-online/" name="cat_49" style="font-size: 11px; color: #666; ">Tackle Shops Online</a> > <a href="http://www.fish4carp.co.uk/tackle-shops-online/uk/" name="cat_50" style="font-size: 11px; color: #666; ">UK</a>
<table width="100%" border="0" cellspacing="0" cellpadding="2" style="background-color: #edf9fc; color: #FFFFFF; border: 1px solid #ffcc33; text-align: left;">
<tr bgcolor="#85bdd8">
<td>Rankings</td>
<td>Backlinks</td>
<td>Indexed Pages</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" style="background-color: #edf9fc; color: #000000; border: 1px solid #85bdd8;">
<tr>
<td width="16"><img src="seostats/google.gif" width="16" height="16" alt="Google PR" title="Google PR" /></td>
<td>1/10</td>
<td width="16"><img src="seostats/alexa.gif" width="16" height="16" alt="Alexa Rank" title="Alexa Rank" /></td>
<td>1,341</td>
</tr>
</table></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" style="background-color: #edf9fc; color: #000000; border: 1px solid #85bdd8;">
<tr>
<td width="16"><img src="seostats/google.gif" width="16" height="16" alt="Google Backlinks" title="Google Backlinks" /></td>
<td>0</td>
<td width="16"><img src="seostats/yahoo.gif" width="16" height="16" alt="Yahoo Backlinks" title="Yahoo Backlinks" /></td>
<td>1,676</td>
</tr>
</table></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" style="background-color: #edf9fc; color: #000000; border: 1px solid #85bdd8;">
<tr>
<td width="16"><img src="seostats/google.gif" width="16" height="16" alt="Google Indexed Pages" title="Google Indexed Pages" /></td>
<td>0</td>
<td width="16"><img src="seostats/yahoo.gif" width="16" height="16" alt="Yahoo Indexed Pages" title="Yahoo Indexed Pages" /></td>
<td>0</td>
<td width="16"><img src="seostats/msn.gif" width="16" height="16" alt="MSN Indexed Pages" title="MSN Indexed Pages" /></td>
<td>1,050</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</li></ul>
</div>
which becomes:
<div class="list_dot">
<ul><li><a href="http://www.fish4carp.co.uk/detail/537/the-fishing-bag.html" name="link_537"><b>The Fishing Bag</b></a>
<br />
<div class="small"></div>
</li></ul>
</div>
which becomes:
which becomes:<div class="list_dot"><div class="small">
</div></div>
It's tedious and you still have to be careful<div class="list_dot">
<div class="small"></div>
</div>
Sometimes TIDY can help, but it will often put the missing </DIV> in the wrong place.
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
As a note - HTML doesn't just remove itself. Users remove it, edit it, kill it, restore old backups, restore incorrect files and so on. If you didn't alter it, then someone else did.
Hey Roger,
Try this below and see if it works, at the bottom of your search form, insert the DIV tags and BR. It has worked for me in the past.
*** Remember to clear your cache when done****
----------------------------------------------------------
<div class="content_2">
<div class="search_field">
<!-- Google CSE Search Box Begins -->
<form action="http://www.fish4carp.co.uk/gsearch.php"
id="searchbox_009691959962705109733:yohjl78uj4q">
<input type="hidden" name="cx"
value="009691959962705109733:yohjl78uj4q" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="text" name="q" size="25" />
<input type="submit" name="sa" value="Search" class="button" />
</form>
</div>
</div>
<br />
Last edited by inrated; 05-14-2008 at 02:01 AM.
Hi inrated
Thanks tried your solution but no luck still have same issue, this is driving me mad.
Roger![]()
Fish4Carp Links Directory|Fish4Pike Links Directory|Fish4Venues Carp Venues |Links4Bedfordshire - Powered by Indexu 5.4
i just downloaded your page... and to me it looks like you have exactly the same amount of div and /divs (92 according to me.... maybe wrong though)
If i was taking a guess id say you need to re-arrange your footer file.....thats where you see to have alot of /divs and i think you need to close some of them off before you put the actual footer code.... it doesnt seem ordered to me....
Hope this helps...
Send me ftp details if you want me to look at it.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )