|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Quote:
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. |
|
#4
|
||||
|
||||
|
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! |
|
#5
|
||||
|
||||
|
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. |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Which nesting is worse |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|