IBM developerWorks
           Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 9th, 2005, 03:58 AM
KeesSelect KeesSelect is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Amsterdam
Posts: 53 KeesSelect User rank is Private First Class (20 - 50 Reputation Level)KeesSelect User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m
Reputation Power: 4
Which nesting is worse

Hi Everyone,

I'm trying to build nice looking boxes, but i'm worried about the crawlability. Will spiders index texts that are nested 9 divs deep?
What will be ranked higher:
Code:
<h2><div><div><div><div><div><div><div><div>Title</div></div></div></div></div></div></div></div></h2>

or
Code:
<div><div><div><div><div><div><div><div><h2>Title</h2></div></div></div></div></div></div></div></div>

or
Code:
<img src="nice_title_img.gif" alt="title" border="0">


I'd really appreciate any help.

Reply With Quote
  #2  
Old December 9th, 2005, 08:13 AM
ran_dizolph's Avatar
ran_dizolph ran_dizolph is offline
from the lab...
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2004
Location: the land of wind and ghosts
Posts: 1,524 ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 29 m 44 sec
Reputation Power: 120
why do you have nine div tags? couldn't you just make the style in a seperate css document, and then have one div tag?
__________________
if i've been helpful, please add to my reputation.
http://www.gpwebsolutions.com
my band's myspace site

Reply With Quote
  #3  
Old December 9th, 2005, 08:34 AM
KeesSelect KeesSelect is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Amsterdam
Posts: 53 KeesSelect User rank is Private First Class (20 - 50 Reputation Level)KeesSelect User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m
Reputation Power: 4
Quote:
Originally Posted by ran_dizolph
why do you have nine div tags? couldn't you just make the style in a seperate css document, and then have one div tag?


I want to create a frame with rounded corners with a title bar. The title must have a dropshadow. The title bar and the text beneath should have different background colors, which are different from the border color.
The content should be freely scalable and the title and text should be dynamic. Furthermore it should work in all major browsers. Its all working great, but it takes a lot of divs.

Because css3 is not yet fully supported, I can use only one background image per div. And the content should be within for scaling purposes.

Reply With Quote
  #4  
Old December 9th, 2005, 03:49 PM
ran_dizolph's Avatar
ran_dizolph ran_dizolph is offline
from the lab...
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2004
Location: the land of wind and ghosts
Posts: 1,524 ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 29 m 44 sec
Reputation Power: 120
hmm...well, from the sounds of things, creating an image would be easier due to the fact that there's not really any content going on anyways.

you could also work it out so that the header will be scalable (which i only know how to do using table-based layouts) using images, and not as many divs...may wanna check the CSS forum for that.

hope that helps!

Reply With Quote
  #5  
Old December 12th, 2005, 12:47 AM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 347 Catacaustic User rank is Sergeant Major (2000 - 5000 Reputation Level)Catacaustic User rank is Sergeant Major (2000 - 5000 Reputation Level)Catacaustic User rank is Sergeant Major (2000 - 5000 Reputation Level)Catacaustic User rank is Sergeant Major (2000 - 5000 Reputation Level)Catacaustic User rank is Sergeant Major (2000 - 5000 Reputation Level)Catacaustic User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 4 Days 6 h 43 m 13 sec
Reputation Power: 45
My personal opinion is that using a single image with the proper ALT tags will be better in that instance - for SE's AND for users.

The SE robots will be able to get the SEO value from the image title and ALT tag, so make sure that they are there and you'll be fine.

As far as having to use 9 separate DIV tags to display a title like that... it's a whole lot less work to load all those seperate images then one single image. When you add to that the fact that each DIV tag is going to have to be labled with a class ID at very leart, using a single image is going to cut down the size of yoru code as well, which is also going to be a good thing as far as loading times, and spiders, are concerned.

Reply With Quote
  #6  
Old December 12th, 2005, 02:34 AM
KeesSelect KeesSelect is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Amsterdam
Posts: 53 KeesSelect User rank is Private First Class (20 - 50 Reputation Level)KeesSelect User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m
Reputation Power: 4
Using the div approach to round cornered boxes has some advantage. This link illustrates the use: http://www.sovavsiti.cz/css/corners.html#benefits

It's all working beatifully, but they don't mention any possible SEO advantages and disadvantages to this approach.

Reply With Quote
  #7  
Old December 12th, 2005, 08:24 AM
ran_dizolph's Avatar
ran_dizolph ran_dizolph is offline
from the lab...
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2004
Location: the land of wind and ghosts
Posts: 1,524 ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 14 h 29 m 44 sec
Reputation Power: 120
To be honest, it sounds like you're really over-thinking the SEO thing...you're just talking about your title here. All having nine <div> tags would mean to an SE, is having that much more code to dig thru to get to ur content. Just make your title as clear and consise as you can, and don't so much worry about that portion from and SEO standpoint...the worry comes in your navigation and content.

Good luck.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Which nesting is worse


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway