Forum Moderators: open
One possible advantage is that with "divs," you can use position:absolute to strategically disperse your content.
Even though you may have a "left-hand menu" and a sizeable "header," you can still have your important body text appear at the top of your body/content (in your page code) allowing your "keyword-rich" copy preferrential placement.
Thanks for asking me personally... but you will find all regular visitors to WebmasterWorld are pretty knowledgeable about most every topic... just ask any of us! Will all swear it's true! ;)
Egos? We don't need no stinking egos!
Come on over to the Search Engine Forums to learn more regarding "hidden" text. Try the Google forum - It's a great place to start!
[webmasterworld.com...]
The goal should be "clarity." Convey the meaning of your page without muddying the waters. Too much clutter and your message is lost. Too many variations of your topic, and your "point" is lost.
Keep each page contained to a particular topic, item or concept and you will never even need to consider tactics that will bring you nothing but grief.
Here is the link to Brett's classic: Successful Site in 12 Months. [webmasterworld.com...]
Read it, study it, follow it. It's how it all begins!
Here is a link to an earlier discussion regarding HIDDEN TEXT: [webmasterworld.com...]
Do a site search (top of the page) for many more threads regarding this topic.
The answers will not leave you guessing... Hidden text is bad.
But what about the joys of cross-browser rendering?
Setting the height of my (rendered) target table cell extra tall can account for the 20px or so vertical difference I see between MSIE 5.5 or NN6.1 Vs NN6.0. But NN4+ just renders the text between my div tags at its true position right under the body tag, messing up my whole page layout. I REALLY don't want to have to get into browser sniffing.
Any ideas?
And BTW, I don't know a method to run more than one MSIE version on my Win2K Pro production system for reviewing pages. Does the semi-mythical web site where you can try pages in all major browsers for free actually exist?
Sure learning a lot of hot stuff here!
Many thanks to everyone...
Netscape 4 is pretty good with CSS positioning. I've created several different positioned layouts that work in NN4, as long as I stay away from the value "right". "Float" is also a bit dicey.
One big problem - turn off JavaScript in NN4 and styles vanish as well.
I should have been more specific. The problem is with Netscape 4.07. Which just renders the layer text at it's actual page position, instead of where my code tells it to go.
Any idea what's wrong anyone?
My layer inline code (just below the body tag) is like:
-----------
<div id="LayerName" style="position:absolute; width:360px; height:1-px; z-index:1; left:200px; top:1200px"><h1><b>Keyword1</b> other text</h1></div>
------------
The layer rendering position IS a long way down the page (last content above an "included" contact/copyright table).
The H1 tag is defined in an external CSS file.
This works fine in MSIE 5.5, NN 6.0 and NN6.1.
Thanks...
The text IS supposed to render near page bottom, so 1200px IS correct. What I was saying [or meaning ;)] was that this large vertical distance from the top-of-page was probably why there is a 20+ px vertical difference between NN6.0 and NN6.1.
My REAL problem is dealing with NN4 ("Communicator 4.07 Standard Edition" is my test version). As I posted above, NN4 renders the text where the code is, not at the pixel position in the code. Actually, since I changed the "1px" to "30px", NN4 just locks up - but I haven't checked THAT out yet).
Anybody know of a way to keep the layer code away from NN4 and other old browsers (without duplicate pages and browser sniffing)? Like some kind of inline "filter" code?
I tried putting the Div tags inside HTML comment tags and that just turns it off - which is good to know.
Anyone?