Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 12-13-2010, 11:14 AM A:Visited Problem
NoeG's Avatar
Experienced Talker

Posts: 45
Name: Noe Garcia
Location: The great state of TEXAS we'll kick yer ***!
Trades: 0
I have this nagging problem with my links, it looks like only the visited links are effected and they inharet the reset styles even though I'm changing the id of the links that I want styled differently.

Heres my CSS

Code:
#archives ul{
list-style-type: square;
padding-left:10px
}
#archives li a:link,a:visited{
display:block;
color:#333;
font-size:11px;
text-decoration: none;
letter-spacing:2px;
margin:0;
}
The HTML:
Code:
<div id="archives">
<h4>Archives</h4>
<ul><?php wp_get_archives('type=monthly'); ?></ul>
<h4>Recent Posts</h4>
<ul><?php wp_get_archives('title_li=&type=postbypost&limit=5'); ?></ul>
<br />
</div>
the link is www.templafied.com click a link on the side bar or in the post and it'll take the styles from the top nav
__________________

Please login or register to view this content. Registration is FREE
|personal portfolio and blog
NoeG is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-13-2010, 12:23 PM Re: A:Visited Problem
NoeG's Avatar
Experienced Talker

Posts: 45
Name: Noe Garcia
Location: The great state of TEXAS we'll kick yer ***!
Trades: 0
resolved...added #archives ul li alink, #archives ul li a:visited and it worked...
I'm also have a problem getting my border to show on IE? anyone know if theirs a special hack or something to get borders to show up on IE?
__________________

Please login or register to view this content. Registration is FREE
|personal portfolio and blog
NoeG is offline
Reply With Quote
View Public Profile
 
Old 12-13-2010, 03:24 PM Re: A:Visited Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You don't need a hack...but sometimes in IE you have to be more specific, which is what you did with your visited links. Which border though? I'm not seeing any missing borders in ie7?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 12-13-2010 at 03:28 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-13-2010, 04:14 PM Re: A:Visited Problem
NoeG's Avatar
Experienced Talker

Posts: 45
Name: Noe Garcia
Location: The great state of TEXAS we'll kick yer ***!
Trades: 0
theres supposed to be a bottom border on the loop and a left border on the sidebar..I dont see it on IE8 but it shows on IE7?

I'm using the shorthand property border-bottom:1px solid #f7f7f7; and border-left:1px solid #f7f7f7 is there any more specific then that?
__________________

Please login or register to view this content. Registration is FREE
|personal portfolio and blog

Last edited by NoeG; 12-13-2010 at 04:17 PM..
NoeG is offline
Reply With Quote
View Public Profile
 
Old 12-13-2010, 11:55 PM Re: A:Visited Problem
Banned

Posts: 143
Name: maheshadodis
Location: USA
Trades: 0
Quote:
Originally Posted by NoeG View Post
I have this nagging problem with my links, it looks like only the visited links are effected and they inharet the reset styles even though I'm changing the id of the links that I want styled differently.

Heres my CSS

Code:
#archives ul{
list-style-type: square;
padding-left:10px
}
#archives li a:link,a:visited{
display:block;
color:#333;
font-size:11px;
text-decoration: none;
letter-spacing:2px;
margin:0;
}
The HTML:
Code:
<div id="archives">
<h4>Archives</h4>
<ul><?php wp_get_archives('type=monthly'); ?></ul>
<h4>Recent Posts</h4>
<ul><?php wp_get_archives('title_li=&type=postbypost&limit=5'); ?></ul>
<br />
</div>
the link is www.templafied.com click a link on the side bar or in the post and it'll take the styles from the top nav
take away a:link replace it with a and then normal as a:visited i have bolded error or this might not work properly so better to use as a
maheshadodis is offline
Reply With Quote
View Public Profile
 
Old 12-14-2010, 08:05 AM Re: A:Visited Problem
NoeG's Avatar
Experienced Talker

Posts: 45
Name: Noe Garcia
Location: The great state of TEXAS we'll kick yer ***!
Trades: 0
no I resolved that problem now I have a border problem..
__________________

Please login or register to view this content. Registration is FREE
|personal portfolio and blog
NoeG is offline
Reply With Quote
View Public Profile
 
Old 12-14-2010, 02:56 PM Re: A:Visited Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Actually, I can't SEE the sidebar border in Firefox either, but that's because it's just too light to see on the white bg.

I would also mention that some of your other light gray colors are far too light, the contrast is very poor for accessibility. Heaven help the color blind person, they may not see your links at all.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to A:Visited Problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28059 seconds with 12 queries