1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Inline CSS and bots

Discussion in 'HTML & Website Design' started by Percept, Nov 17, 2004.

  1. #1
    Hi,

    does anyone know if google indexes links which are located in a div which is set to invisible with INLINE css, like this:

    <div style="VISIBILITY:hidden;"><a href="link">link</a></div>
    Code (markup):
    I read google ignores EXTERNAL CSS but since this is inline I'm not sure.

    This is part of a javascript menu and I need to be sure the links get indexed.
     
    Percept, Nov 17, 2004 IP
  2. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could have a sitemap and an alternative (plain links) menu at the bottom of your pages to make sure all links get indexed. As far as your question goes, I'm not sure.
     
    exam, Nov 17, 2004 IP
  3. Percept

    Percept Peon

    Messages:
    143
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is a sitemap allready but that's an extra level I would like to avoid.
    All the links at the bottom would be a little much (that's why they are using javascript dropdowns)
     
    Percept, Nov 17, 2004 IP
  4. I. Brian

    I. Brian Business consultant

    Messages:
    810
    Likes Received:
    59
    Best Answers:
    1
    Trophy Points:
    145
    #4
    You really want *all* your CSS style elements out of the page and all on an external file - Google won't parse the CSS, so it'll read the link - but it wouldn't at all be difficult for *any* bot to spot "hidden" attributes within page code itself.
     
    I. Brian, Nov 17, 2004 IP
  5. Percept

    Percept Peon

    Messages:
    143
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Actually the site I'm talking about is using a CMS which has generated a 3 mile long javascript before the content ( total filesize = 45k and about 80% is javascript ).

    If they read the links it's ok, alltough it's probably only a matter of time before bots start to ignore hidden parts altogether. This is not going to be funny to change all this.
     
    Percept, Nov 17, 2004 IP
  6. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #6
    What CMS are you using, just for future reference?
     
    exam, Nov 17, 2004 IP
  7. Percept

    Percept Peon

    Messages:
    143
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    CMS -> TYPO3
     
    Percept, Nov 17, 2004 IP
  8. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #8
    I have an experiment on Flash Simulation and if you look through the page (click on the links) you'll see some hidden keywords. Search on Google for them and you'll see they are the only result.

    So...
    * Google has indexed the hidden divs
    * Google won't take the user to the right point on the page so the user may be confused about why they've ended up there

    Sarah
     
    sarahk, Nov 17, 2004 IP
  9. darksat

    darksat Guest

    Messages:
    1,239
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #9
    just give the div a name and set the hidden attribute with external CSS
     
    darksat, Nov 18, 2004 IP