On Mar 27, 5:43 pm, Bergamot <berga...@visi.comwrote:
mynameisnobodyodyseea wrote:
search engines guidelines recommend to
avoid negative margins.
What do negative margins (or any CSS for that matter) have to do with
search engines? I'd like to know where you read such guidelines.
--
Berg
Google (and probably other search engines as well) does not
like hidden content, see
http://www.google.com/support/webmas...y?answer=66353
about CSS see the bit about not using CSS to hide text.
Negative margins can hide content,
content that could be in the source of a page but not
visible on a screen.
(Other style information that can hide content
are setting display:none, or setting the font size to 0,
or using similar-colour text and background, etc.....)
It depends on the content of the page of course.
Negative margins are used a lot for layout and they are
very good and useful in styling,
but the fact that sometimes they can be used to hide content
is something to consider,
maybe not to use negative margins if there are other solutions,
just in case.
There is no fixed rule about search engines and
negative margins,
but I thought it was better to mention that
there can be some doubts about the use of
negative margins in some cases.