Re: [css-d] A little border dispute
On Thu, 20 Dec 2007 14:26:27 + Andrew Frazier wrote: > On Thu, 20 Dec 2007 13:21:03 -, Trevor Nicholls > <[EMAIL PROTECTED]> wrote: > > > > What I want is to see a single pale line above the copyright block, > > but the > > black border from a normal "table" appears to be trumping the colour > > > > setting > > I have applied to a ".copyright table". > > > > > > If I insert a "border: none;" in the ".copyright table" style ahead > > of the > > border-top (hoping that this will kill the black border) I still see > > a black > > top border. > > > > What is going on? Can some kind person explain what I obviously > > don't understand about inheritance here? > > > > Change > .copyright table { >border-top: 1px solid "#aa"; > > > To > .copyright table { >border-top: 1px solid #aa; > > ie remove the quotes around the colour. > And with a colour like that remember you can use the shorthand "#aaa;" -- Michael All shall be well, and all shall be well, and all manner of things shall be well - Julian of Norwich 1342 - 1416 __ css-discuss [EMAIL PROTECTED] 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] A little border dispute
On Thu, 20 Dec 2007 13:21:03 -, Trevor Nicholls <[EMAIL PROTECTED]> wrote: > What I want is to see a single pale line above the copyright block, but > the > black border from a normal "table" appears to be trumping the colour > setting > I have applied to a ".copyright table". > > > If I insert a "border: none;" in the ".copyright table" style ahead of > the > border-top (hoping that this will kill the black border) I still see a > black > top border. > > What is going on? Can some kind person explain what I obviously don't > understand about inheritance here? > Change .copyright table { border-top: 1px solid "#aa"; To .copyright table { border-top: 1px solid #aa; ie remove the quotes around the colour. -- Andrew Frazier http://www.kidderminsterharriers.com ICQ: 77914158 Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ __ css-discuss [EMAIL PROTECTED] 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] A little border dispute
I am having problems formatting a copyright footer on my pages. A minimal page and CSS file may be seen at http://trevor.freehomepage.com/copy.html and http://trevor.freehomepage.com/test.css The browser is IE as my pages are delivered through an IE component inside another application. What I want is to see a single pale line above the copyright block, but the black border from a normal "table" appears to be trumping the colour setting I have applied to a ".copyright table". The "copyleft" block appears as I would expect; the border: 2px solid green is applied correctly. The ordinary "table" border colour is not being carried through in this case. If I insert a "border: none;" in the ".copyright table" style ahead of the border-top (hoping that this will kill the black border) I still see a black top border. What is going on? Can some kind person explain what I obviously don't understand about inheritance here? --- These are the CSS rules applied to the table with the top black border: .copyright table { border-bottom:medium none; border-left:medium none; border-right:medium none; } table { border:thin solid black; border-collapse:collapse; margin-bottom:0.5em; margin-top:0.5em; } table { font-size:1em; } None of them override the black border applied by the "table" declaration Adding border-color:#AA; to the first declaration will solve the problem. The Firebug extension to Firefox is very useful when it comes to troubleshooting this kind of problem Mark __ css-discuss [EMAIL PROTECTED] 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] A little border dispute
Hi I am having problems formatting a copyright footer on my pages. A minimal page and CSS file may be seen at http://trevor.freehomepage.com/copy.html and http://trevor.freehomepage.com/test.css (sorry about the advertising). The browser is IE as my pages are delivered through an IE component inside another application. What I want is to see a single pale line above the copyright block, but the black border from a normal "table" appears to be trumping the colour setting I have applied to a ".copyright table". The "copyleft" block appears as I would expect; the border: 2px solid green is applied correctly. The ordinary "table" border colour is not being carried through in this case. If I insert a "border: none;" in the ".copyright table" style ahead of the border-top (hoping that this will kill the black border) I still see a black top border. What is going on? Can some kind person explain what I obviously don't understand about inheritance here? Thanks Cheers Trevor Trevor Nicholls Casting the Void __ css-discuss [EMAIL PROTECTED] 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/