Another CSS conundrum, Fieldset widths not equal |
Another CSS conundrum, Fieldset widths not equal |
CharlesEF |
Oct 19 2020, 09:22 PM
Post
#1
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Hi All,
Hate to bug you all so soon but I can't figure this out. Attached are 3 pages to show exactly what the problem is. Just place them in the same directory and load 'main.html'. Once loaded scroll to the very bottom and look at 'Sub Fieldset 2 (Iframe)'. The width of this fieldset is not the same as the fieldset above it. Why? It is not because of box-sizing, margin or padding. Is it because it is loaded in an 'iframe'? For extra credit, does anyone know why there is an 1 1/2 inch of white space between the last fieldset and the close of the main fieldset? I don't have this problem on my production page but it showed up here. Thanks for any and all help, Charles main.html ( 3.93k ) Number of downloads: 213 maini.html ( 1.17k ) Number of downloads: 225 main.css ( 2.49k ) Number of downloads: 225 |
CharlesEF |
Oct 20 2020, 05:16 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Turns out I only needed to change 1 page in the production code, 'maini.html' (different name in production). I added 'style="margin: 0;"' to the div/form element. Production code had the needed white space between fieldsets so I set everything to 0.
Lucky I needed to add white space in the example page or I would have never figured this out. Thank you, everyone, for the help, Charles |
Lo-Fi Version | Time is now: 28th April 2024 - 07:20 AM |