/    Sign up×
Community /Pin to ProfileBookmark

[CODE]<div id=”menu”>
<a href=”about.php”><div class=”about”></div></a>
<a href=”/store”><div class=”store”></div></a>
<a href=”/blog”><div class=”blog”></div></a>
<a href=”contact.php”><div class=”contact”></div></a>
</div>
[/CODE]

Yeah, so is this SEO compliant? I’m just starting out with this idea of SEO. I’ve seen tutorials using lists and spans but those wouldn’t work with my setup (I have two images, a normal and hover mode). The tuts always used one, but anyways, when I go over the nav link, the image does change, so in that regard everything works as it should. I just wanna know if crawlers will be okay with this setup.

to post a comment
SEO

4 Comments(s)

Copy linkTweet thisAlerts:
@FangNov 18.2010 — Crawlers prefer valid markup
Copy linkTweet thisAlerts:
@antaresauthorNov 18.2010 — what exactly would be a valid markup for a crawler?

edit

nvm i see, can't use a block in a line element... hmm so I do have to use a span. Damnit ? I can't seem to get the spans to keep their sizes or show a background image. But I guess I'll just keep working on it.
Copy linkTweet thisAlerts:
@FangNov 18.2010 — [CODE]<style type="text/css">
#menu a {
display:block;
width:10em;
height:1em;
}
</style>
[/CODE]
[CODE]<ul id="menu">
<li><a href="about.php" class="about"></a></li>
<li><a href="/store" class="store"></a></li>
<li><a href="/blog" class="blog"></a></li>
<li><a href="contact.php" class="contact"></a></li>
</ul>
[/CODE]
Content within the anchors would be preferable.
Copy linkTweet thisAlerts:
@antaresauthorNov 18.2010 — Hmm I've seen putting a text indent or something similar into the anchor style with a value of around -900&#37; so the text in the anchor would be "gone".
×

Success!

Help @antares spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...