Re: [css-d] Advertisement has unwanted link border around it

2009-11-08 Thread Theresa Mesa
Does giving #sideNavBar li a { } a rule of border:none help? Text- 
decoration has nothing to do with a border.

Theresa


On Nov 7, 2009, at 3:29 PM, Brian M. Curran wrote:

 Hi,
 In IE7 and Firefox the advertisement on my site 
 http://www.locallaw11of1998.com/ 
  has an unwanted border around it, because it is a link. The ad is a  
 CSS list as the code below shows. I tried a few ways of giving it  
 text-decoration: none; but that didn't work. Does anyone know how to  
 get rid of the border?

 #sideNavBar {
 padding: 0 10px;
 margin: 0;
 width: 140px;
 }
 #sideNavBar li {
 list-style: none;
 margin: 0;
 padding: 2px 0;
 }
 #sideNavBar li a {
 display: block;
 }
 #sideNavBar li img {
 vertical-align: bottom;
 }

 The home page HTML is:
 div id=contentIndex3
 h2Ads/h2
 hr/
 ul id=sideNavBar
 li id=t-ad1a href=http://www.brianmcurran.com;  
 target=_blankimg src=images/BrianMCurranAd.gif width=120  
 height=90 alt=BrianMCurranAd //a/li
 /ul
 /div

 Thanks,
 Brian
 __
 css-discuss [cs...@lists.css-discuss.org]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Advertisement has unwanted link border around it

2009-11-07 Thread Brian M. Curran
Hi,
In IE7 and Firefox the advertisement on my site 
http://www.locallaw11of1998.com/ has an unwanted border around it, because it 
is a link. The ad is a CSS list as the code below shows. I tried a few ways of 
giving it text-decoration: none; but that didn't work. Does anyone know how to 
get rid of the border? 

#sideNavBar {
 padding: 0 10px;
 margin: 0;
 width: 140px;
 }
#sideNavBar li {
 list-style: none;
 margin: 0;
 padding: 2px 0;
 }
#sideNavBar li a {
 display: block;
 }
#sideNavBar li img {
 vertical-align: bottom;
 }

The home page HTML is:
div id=contentIndex3
h2Ads/h2
hr/
ul id=sideNavBar
li id=t-ad1a href=http://www.brianmcurran.com; target=_blankimg 
src=images/BrianMCurranAd.gif width=120 height=90 alt=BrianMCurranAd 
//a/li
/ul
/div

Thanks,
Brian
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Advertisement has unwanted link border around it

2009-11-07 Thread Del Wegener



 Hi,
 In IE7 and Firefox the advertisement on my site 
 http://www.locallaw11of1998.com/ has an unwanted border around it, because 
 it is a link. The ad is a CSS list as the code below shows. I tried a few 
 ways of giving it text-decoration: none; but that didn't work. Does anyone 
 know how to get rid of the border?


 The home page HTML is:
 div id=contentIndex3
 h2Ads/h2
 hr/
 ul id=sideNavBar
 li id=t-ad1a href=http://www.brianmcurran.com; target=_blankimg 
 src=images/BrianMCurranAd.gif width=120 height=90 
 alt=BrianMCurranAd //a/li
 /ul
 /div

 Thanks,
 Brian


I think if you add border = 0 to the attributes  img, the border will go 
away.
Del 


__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Advertisement has unwanted link border around it

2009-11-07 Thread Philippe Wittenbergh

On Nov 8, 2009, at 10:22 AM, Del Wegener wrote:


 I think if you add border = 0 to the attributes  img, the border  
 will go

a img { border: none; }

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Advertisement has unwanted link border around it

2009-11-07 Thread Theresa Mesa
Thanks - I'm getting better. Enough to answer the occasional question  
and be close to correct. LOL!

Theresa



On Nov 7, 2009, at 5:29 PM, Brian M. Curran wrote:



 Theresa wrote:
 Does giving #sideNavBar li a { } a rule of border:none help? Text-  
 decoration has nothing to do with a border.

 Theresa


 On Nov 7, 2009, at 3:29 PM, Brian M. Curran wrote:




 Thanks Theresa, you basically got it. I applied border:none; to  
 #sideNavBar li img {} and it worked!

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Advertisement has unwanted link border around it

2009-11-07 Thread Brian M. Curran
Brian wrote:
 Hi,
 In IE7 and Firefox the advertisement on my site 
 http://www.locallaw11of1998.com/ has an unwanted border around it, 
 because it is a link. The ad is a  CSS list as the code below shows. I 
 tried a few ways of giving it  text-decoration: none; but that didn't 
 work. Does anyone know how to  get rid of the border?

 #sideNavBar {
 padding: 0 10px;
 margin: 0;
 width: 140px;
 }
 #sideNavBar li {
 list-style: none;
 margin: 0;
 padding: 2px 0;
 }
 #sideNavBar li a {
 display: block;
 }
 #sideNavBar li img {
 vertical-align: bottom;
 }

 The home page HTML is:
 div id=contentIndex3
 h2Ads/h2
 hr/
 ul id=sideNavBar
 li id=t-ad1a href=http://www.brianmcurran.com; 
 target=_blankimg src=images/BrianMCurranAd.gif width=120 
 height=90 alt=BrianMCurranAd //a/li
 /ul
 /div

 Thanks,
 Brian


Theresa wrote:
 Does giving #sideNavBar li a { } a rule of border:none help? Text- 
 decoration has nothing to do with a border.

 Theresa


 On Nov 7, 2009, at 3:29 PM, Brian M. Curran wrote:




Thanks Theresa, you basically got it. I applied border:none; to #sideNavBar 
li img {} and it worked! 

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/