The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Another CSS conundrum, Fieldset widths not equal
CharlesEF
post 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
Attached File  main.html ( 3.93k ) Number of downloads: 210
Attached File  maini.html ( 1.17k ) Number of downloads: 220
Attached File  main.css ( 2.49k ) Number of downloads: 218
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
CharlesEF
post 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
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 05:41 AM