Added CSS to combat breakage when used with a CSS Reset
Specifically modeled against Eric A. Meyer's CSS reset (Available here: http://meyerweb.com/eric/tools/css/reset/). Adds some styles to ensure the generated table looks good all the time.
This commit is contained in:
parent
65c3677d45
commit
bdd285748d
1 changed files with 10 additions and 4 deletions
14
dBug.php
14
dBug.php
|
@ -2,7 +2,7 @@
|
||||||
/*********************************************************************************************************************\
|
/*********************************************************************************************************************\
|
||||||
* LAST UPDATE
|
* LAST UPDATE
|
||||||
* ============
|
* ============
|
||||||
* August 2nd, 2012
|
* August 6th, 2012
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* AUTHOR
|
* AUTHOR
|
||||||
|
@ -483,9 +483,15 @@ class dBug {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
table.dBug_array,table.dBug_object,table.dBug_resource,table.dBug_resourceC,table.dBug_xml {
|
table.dBug_array,table.dBug_object,table.dBug_resource,table.dBug_resourceC,table.dBug_xml
|
||||||
font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:12px;
|
{ font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:12px; border-spacing:2px; display:table; border-collapse:separate; }
|
||||||
}
|
|
||||||
|
table.dBug_array td,
|
||||||
|
table.dBug_object td,
|
||||||
|
table.dBug_resource td,
|
||||||
|
table.dBug_resourceC td,
|
||||||
|
table.dBug_xml td
|
||||||
|
{ line-height:1.3; padding:3px; vertical-align:top; }
|
||||||
|
|
||||||
.dBug_arrayHeader,
|
.dBug_arrayHeader,
|
||||||
.dBug_objectHeader,
|
.dBug_objectHeader,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue