HighDots Forums  

Diagnostic CSS snippet

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Diagnostic CSS snippet in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
KiwiBrian
 
Posts: n/a

Default Diagnostic CSS snippet - 06-22-2004 , 10:38 PM






I have a snippet of a few CSS rules that I insert in a page as a diagnostic
tool
It places borders around specified tags.
However I have been unable to get it to display borders on table rows.
Is there any way of doing this.
Has anyone got a favorite diagnostic snippet?

Here is the snippet, which I activate by removing the leading /

/*
* {
border: 1px solid red;
}
table {
border: 3px solid green;
}
*/

Brian Tozer



Reply With Quote
  #2  
Old   
Neal
 
Posts: n/a

Default Re: Diagnostic CSS snippet - 06-22-2004 , 10:56 PM






On Wed, 23 Jun 2004 15:38:32 +1200, KiwiBrian <briantoz (AT) ihug (DOT) co.nz> wrote:

Quote:
I have a snippet of a few CSS rules that I insert in a page as a
diagnostic
tool
It places borders around specified tags.
However I have been unable to get it to display borders on table rows.
Is there any way of doing this.
Er... tr {border:1px red dotted}?


Reply With Quote
  #3  
Old   
Neal
 
Posts: n/a

Default Re: Diagnostic CSS snippet - 06-22-2004 , 11:42 PM



On Wed, 23 Jun 2004 16:28:43 +1200, KiwiBrian <briantoz (AT) ihug (DOT) co.nz> wrote:

Quote:
"Neal" wrote
KiwiBrian wrote:

I have a snippet of a few CSS rules that I insert in a page as a
diagnostic
tool
It places borders around specified tags.
However I have been unable to get it to display borders on table rows.
Is there any way of doing this.

Er... tr {border:1px red dotted}?

Not in IE6 in XP Pro in a PC.
Just tried the following, with narry a row border in sight.
Perhaps it is overlaooed by the other borders. Try just the tr rule, with
no others.


Reply With Quote
  #4  
Old   
Phil Evans
 
Posts: n/a

Default Re: Diagnostic CSS snippet - 06-23-2004 , 03:04 AM



KiwiBrian wrote:
Quote:
Has anyone got a favorite diagnostic snippet?
Not as such, but Firefox's Developer Toolbar allows you to outline
arbitrary elements, all block level elements, tables, or whatever . . .

Couldn't live without it now

P


Reply With Quote
  #5  
Old   
AT
 
Posts: n/a

Default Re: Diagnostic CSS snippet - 06-23-2004 , 06:07 AM



"KiwiBrian" <briantoz (AT) ihug (DOT) co.nz> wrote:

Quote:
I have a snippet of a few CSS rules that I insert in a page as a diagnostic
tool
It places borders around specified tags.
However I have been unable to get it to display borders on table rows.
Is there any way of doing this.
Add "border-collapse: collapse;" - TR doesn't take borders when
border-collapse is "separate", "apart" or whatever the default is
called.


Quote:
Has anyone got a favorite diagnostic snippet?
h1, h2, h3, h4, h5, h6 {
text-decoration: blink
}
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
text-decoration: none
}

--
"You have to reverse the polarity, of course."


Reply With Quote
  #6  
Old   
brauneberger
 
Posts: n/a

Default Re: Diagnostic CSS snippet - 06-25-2004 , 04:29 AM



Quote:
Has anyone got a favorite diagnostic snippet?
Yes. The Web Developers Toolbar by Chris Pederick.
http://www.chrispederick.com/work/firefox/webdeveloper/


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.