Table width precedence

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
AlanKearns
Sr. Propeller Head
Posts: 103
Joined: Thu Sep 11, 2014 2:06 am

Table width precedence

Post by AlanKearns »

Why would a table with an inline style setting of 100% width (and which has a 1em margin on all sides in its table style), do the following, when there's 1em of right padding on the body style:

* Have its right border right up against the right-side window edge, and
* Have its right border outside the edge of a dropdown body (i.e. hidden, presumably at the window edge), when the dropdown body has no right padding set.

....when the Dropdown itself (and tables inside lists) respect the body's right 1em margin.

It seems to me that the 100% should be 100% of the container it's in, whether the body or the dropdown. So that a table in the body should be 1em in on the right from the window, and a table in a dropdown should be 1em in from the right side of the dropdown. Especially since the left padding is being applied.
Nita Beck
Senior Propellus Maximus
Posts: 3667
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Table width precedence

Post by Nita Beck »

Short answer is "I dunno." I suggest using your browser's inspect tools to determine just where in the CSS the effect is coming from.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Post Reply