Jump to content

[SOLVED] divs and spans...


tbare

Recommended Posts

ok.. here's the deal: i've got a div "footer" containing:

#footer {
padding-top: 20px;
text-align: center;
clear: both;
width: 560px;
margin-left: 163px;
cursor: default;
}

#footer a{
color: #808080;
text-decoration: underline;
}

#footer a:hover{
color: #808080;
text-decoration: underline overline;
}

#footer a:visited{
color: #808080;
text-decoration: underline;
}

 

works fine, except there's one URL in that div that i want to have different properties:

#footer.linkage a{
color: #000;
text-decoration: none;
cursor: default;
}

#footer.linkage a:hover{
color: #000;
text-decoration: none;
cursor: default;
}

#footer.linkage a:visited{
color: #000;
text-decoration: none;
cursor: default;
}

 

above code included and used here:

<div id="footer"><span class="linkage"><a href="http://www.wannafork.com/files/goods/" target=_blank>©</a></span>2007 wannafork?com   |   design by <a href='http://www.tbare.com' target=_blank>TBare</a></div>

 

i've tried everything i can think of (above was the last try...)

 

if i make 'linkage' it's own div (#linkage), it puts a line break on the page, which i don't want.. (i want it all in one line...)

 

any ideas would be much appreciated... thanks!

Link to comment
Share on other sites

solved it by doing it manually:

 

<div id="footer"><a style="text-decoration: none; color: #000; cursor: default;" href="http://www.wannafork.com/files/goods/" target=_blank>©</a>2008 wannafork?com   |   design by <a href='http://www.tbare.com' target=_blank>TBare</a></div>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.