Closed Bug 293699 Opened 20 years ago Closed 20 years ago

<span> with custom class does not display correctly

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: sean, Unassigned)

References

()

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 In the page at http://www.spencerskuse.com the text at the top of the page, to the right of the logo should be formatted according to the style specified in the head of the document: most noticeably both the title and the sub title should be Times New Roman, with 5px of padding to the left; in Firefox they do not have the correct padding and are not the correct font. The page validates for both HTML and CSS. Reproducible: Always Steps to Reproduce: 1.Visit http://www.spencerskuse.com 2.Look at the title and subtitle 3. They should be in Times New Roman and should have padding-left: 5px Actual Results: Title and Subtitle next to the logo displayed in a default sans font, without the correct padding Expected Results: displayed the text correctly
Look at the code: .toparea.title{ .toparea.subtitle{ Since the title and subtitle don't use the toparea class the selectors never match. The author probably meant to write: .toparea .title{ .toparea .subtitle{ That way the title and subtitle would only need to be inside a toparea rather than be a toparea themselves. ->INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.