Closed Bug 391103 Opened 17 years ago Closed 17 years ago

Invalid HTML on Firefox page (due to eBay-edition block)

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pascalc, Assigned: sgarrity)

Details

http://www.mozilla.com/en-US/firefox/ is no longer XHTML vadid because the "special edition" box is not correct HTML (inline level element <a> including a block-level <p> element).

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.mozilla.com%2Fen-US%2Ffirefox%2F

I have corrected the HTML on mozilla-europe (http://www.mozilla-europe.org/en/products/firefox/), here is the valid version:

<div id="specialeditions">
<h3>Special Editions</h3>
<p>
<a href="http://en-gb.www.mozilla.com/en-GB/add-ons/ebay/">
<img src="/img/firefox/feature-ebay-logo.png" alt="ebay logo" />
<span class="specialedition-title">Mozilla Firefox - eBay Edition</span>Be a better bidder. Download now.
</a>
</p>
</div> <!-- end #specialeditions -->

one CSS change :

#specialeditions p { display: block; margin: 0; }
Fixed in r5569. Tagged for production in r5572. Reed, can you push live?

Thanks for the code Pascal.
i'll file a bug to sync mozilla.com.
Assignee: nobody → steven
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.