Closed Bug 93543 Opened 25 years ago Closed 25 years ago

<code> and CSS-problems

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: edwin, Assigned: asa)

References

()

Details

When I try with CSS to give <code> a nice black border, it does not work: <style type="text/css"> CODE { border: 1px solid black; display: block; } </style> <code> Some text 1 <ul> <li>Some text 2 </ul> </code> Only "Some text 1" has a border.
<code> is an inline element. <ul> is a block element. Block elements aren't allowed inside inline elements. Please check test cases with http://validator.w3.org/ Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.