Closed
Bug 57167
Opened 24 years ago
Closed 24 years ago
CSS1 <body> borders don't work
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: gcarnes, Assigned: pierre)
Details
I have a number of pages (right now, unpublished, not available to public) that
I want a border around parts or all of the page. The border style used on <body>
tag is not working properly in Mozilla/Netscape Milestone 18 and I've reproduced
over and over. For example, if I use <body style="border: 1px solid #ffffff">,
and if there is nothing between the <body></body> tags, the borders all appear
at top, forming a solid box, the width of the visible page. If I add a single
character to the page, for example, the bottom border ends up just below that
character, not at the bottom of the window. The browser window or frame window
dimensions are not part of the equation when rendering. I've had to resort to
inserting tables with width 100% and height 100% in order to get proper borders
around the window edges. If I only want the border at the bottom, it appears at
the top unless I use the table workaround. I just encountered a problem with a
right border showing on the left, but I'm still researching as to why.
I could not find this documented anywhere else so forgive me if I overlooked it.
Comment 1•24 years ago
|
||
This is actually correct behaviour according to CSS1. For now, the only way
to get the behaviour you want is using tables. :-(
Very soon you'll be able to use fixed positioning to do it. :-)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•