Closed Bug 4378 Opened 26 years ago Closed 26 years ago

Contents of DIV exceeding the

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: kberk.spamaway, Assigned: troy)

References

()

Details

The following DIV is being rendered with the image (the second row in the table) below the bottom of the DIV. The DIV has a partial border which makes it easy to see this. Apprunner and Viewer -- 99032823 (according to apprunner). Windows NT 4.0 SP4 with IE5 desktop update. This is the part of the document rendering badly: <DIV CLASS="header"> <H1>Kevin Berkheiser's Homepage</H1> <!-- SMARTCLICKS BANNER START:1 --> <TABLE CELLPADDING="0" CELLSPACING="0"> <TR> <TD> <A HREF="http://ads.smartclicks.com/1/B124517/smartsite"> <IMG SRC="http://ads.smartclicks.com/1/B124517/smartbanner" WIDTH="468" HEIGHT="60" ISMAP="ISMAP" ALT="Add"></A></TD> </TR> <TR> <TD> <A HREF="http://ads.smartclicks.com/1/XC4/B124517/clickbar"> <IMG SRC="http://ads.smartclicks.com/1/XC4/B124517/smartbar" WIDTH="468" HEIGHT="16" ISMAP="ISMAP" ALT="Add"></A></TD> </TR> </TABLE> <!-- SMARTCLICKS BANNER END:1 --> </DIV> The following is the CSS in Question: .header { height: 100px; margin-top: 0pt; margin-left: 0pt; margin-right: 0pt; margin-bottom: 10pt; padding-top: 0pt; padding-left: 0pt; padding-right: 0pt; padding-bottom: 0pt; color: red; background-color: #FFFFD5; border-top: 0pt none; text-align: center; border-right: none; border-bottom: 1mm blue ridge; border-left: 1mm blue ridge; }
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Summary: Contents of DIV exceeding the → Contents of DIV exceeding the
That's what is supposed to happen. You have a DIV element with a fixed height of 100px. If it's content overflows its box, then the 'overflow' property determines what happens. Because the default value is 'visible', the content that overflows if displayed _outside_ of the DIV's box
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.