Firebug and colgroup tag

17 views
Skip to first unread message

Olivier Varrot

unread,
Jun 22, 2015, 5:21:41 AM6/22/15
to fir...@googlegroups.com

Hello,

Is it possible to see the css style computed on a cell table (td or th) width colgroup and col tags in table definition ?


<table>
<colgroup>
<col style="width:150px;" />
<col style="width:200px;font-weight:bold;" />
</colgroup>
<tr>
<th>Col1</th>
<th>Col2</th>
</tr>  
<tr>
<td>Content 1</td>
<td>Content 2</td></tr>
</table>

 
 
 
 

Sebastian Zartner

unread,
Jun 26, 2015, 5:58:14 PM6/26/15
to fir...@googlegroups.com
Firebug currently (2.0.x) doesn't offer a way to see this relation. One reason for this is that Firebug only displays the CSS rules, which are directly applied to the element or inherited from their parents within the Style and Computed side panel according to the style cascading rules.

Styles defined on <col> elements are a special case, because they do not follow those rules, because they are styling different elements.

You may suggest this for the DevTools, though.

Sebastian
Reply all
Reply to author
Forward
0 new messages