-
Type:
Suggestion
-
Resolution: Timed out
-
Component/s: None
-
Environment:hosted by adaptavist
NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.
The HTML that confluence produces needs to be tidied up, made more css accessible and be generally xhtml 1.0 compliant.
as an example... putting an image on a page with a caption (and floating it right) results in the following html being generated...
<div class='navmenu' style='float:right; background:white; margin:3px; padding:3px'><img src="/download/attachments/131088/fred.gif" align="absmiddle" border="0" width="200" />
<br clear="all" /><span class="smalltext">caption goes here</span></div>
so the class name to control this through css is "navmenu"? that isnt intuitive. Much of the rest of the display/style information is all hardcoded, and therefore css cannot overwrite it. it would be better to leave all this stuff open, and then have a default css entry provide default display.
obviously if i had specified background colour and margin then they should be included, but if i havent, then dont include it. there should be id and alt text tags on that image.
- is related to
-
CONFSERVER-10676 generated HTML is not css friendly and not XHTML 1.0 compliant.
- Closed