Closed Bug 51754 Opened 24 years ago Closed 24 years ago

Simple BR tag doesn't work

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: taras.tielkes, Assigned: clayton)

Details

Attachments

(1 file)

This is probably some stupid error on my behalf, but I can't separate two
textfields using BR.
Attached file Simple testcase
In the testcase, the buttons are positioned side-by-side. Expected: vertical.

Using build 20000-90704.
The strict DTD ( http://www.w3.org/TR/html4/sgml/dtd.html ) only allows block 
element in a form. If you change the DOCTYPE to transitional the br element are 
recognized.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Marking verified invalid. Acoording the Strict DTD, BR elements can't be inside a 
form element.
Ok thanks for the quick check. So how am I supposed to layout form elements 
then when using a strict DTD? Thanks in advance.
With the Strict DTD, the idea is to use CSS for layout and not presentation 
elements like BR , Strike, or B (bold).
Status: RESOLVED → VERIFIED
Chris, thanks. What's the functional equivalent of BR in CSS?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: