Simple BR tag doesn't work

VERIFIED INVALID

Status

()

Core
Layout
P3
normal
VERIFIED INVALID
18 years ago
18 years ago

People

(Reporter: Taras Tielkes, Assigned: clayton)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

18 years ago
This is probably some stupid error on my behalf, but I can't separate two
textfields using BR.
(Reporter)

Comment 1

18 years ago
Created attachment 14201 [details]
Simple testcase
(Reporter)

Comment 2

18 years ago
In the testcase, the buttons are positioned side-by-side. Expected: vertical.

Using build 20000-90704.

Comment 3

18 years ago
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.

Updated

18 years ago
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 4

18 years ago
Marking verified invalid. Acoording the Strict DTD, BR elements can't be inside a 
form element.
(Reporter)

Comment 5

18 years ago
Ok thanks for the quick check. So how am I supposed to layout form elements 
then when using a strict DTD? Thanks in advance.

Comment 6

18 years ago
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
(Reporter)

Comment 7

18 years ago
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.