Having a problem targeting certain div’s…

So I’m trying to design my first website, I’m looking to add social icons to my site like twitter and facebook. But having a problem targeting these div’s. I was able to target the twitter icon fine, but than when I tried to make a div for the facebook icon no values seem to be working at all.

I basically have one div targeting the twitter icon like this with the margin values to put it exactly where I want it. Than have another div for facebook but that doesn’t do anything.

Html

<div id="twitter">
<li><a href="#"><span><img src="http://tycoontalk.freelancer.com/images/twitter-bird.png" /></span></a></li>
</div>

css

#twitter {

float:left;
position: absolute;
margin: -508 60 50 1025;

}

But than my facebook div isn’t doing anything.

html

<div id="facebook">
<h3<<li><a href="#"><span><img src="http://tycoontalk.freelancer.com/images/facebook-icon.png" /></span></a></li>
</div>

css

#facebook {

float:left;
position: absolute;
margin: -708 160 50 1125;

}

Why can I not target this div like I did with the twitter div?

View full post on Tycoon Talk

, , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved