Forum Moderators: phranque
a few weeks back I noticed something odd regarding my own div content in google.
Here's an example of what I noticed:
<div>sentance one</div>
<div>sentance two</div>
seemed to be getting indexed like this:
sentance onesentance two
so natural spaces were honored and everthing else ran together.
Code for div's on powerwaves
<div id="Somerley" style="position:absolute; left:246px; top:320px; width:118px; height:267px; z-index:1; background-color: #D02038; border: 1px none #000000; visibility: hidden;"><img src="images/ourvenuestitle01.gif" width="118" height="21"><br>
<img src="images/somerleypic01.jpg" width="118" height="100"><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="maincopywhite01" id="highlight01">SOMERLEY<br>
<span class="maincopy03">This privately owned estate is situated in 7000 acres of meadows, hills and rolling parkland on the edge of the New Forest. Its the perfect location for a number of different occasions.</span></td>
</tr>
</table>
</div>
get a popped up div container appear with an image and text inside
Is it already in the source code, but hidden by display:none or visibility: hidden? Does the rollover send a query back to the server so it serves a new page with the new div, or does the rollover trigger a JS script that produces/injects/adds the div and it's content?
If it's already in the source, you're fine, except there is some evidence that G doesn't index content hidden with display: none (spiders see what users see). If it's a newly served page, you're fine. G will see that as a whole new page of content and index it accordingly. If it's added/created dynamically by javaScript, don't count on G indexing it. I don't think the spiders are able to see anything created via client side scripts (but I could be wrong on this).