[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15812777#comment-15812777
 ] 

Michael Osipov commented on DOXIASITETOOLS-172:
-----------------------------------------------

You just found a bug in the default skin CSS, please go ahead, file a ticket 
with a patch which removes the {{border: none}}. This style is pretty useless 
because we kill our own decoration model setting with that. It should be up to 
the user to decide about a border style.

> Width, height and border values not used for banner display
> -----------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-172
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-172
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>    Affects Versions: 1.7.4
>            Reporter: Michael Benz
>            Priority: Minor
>         Attachments: enable-width-height-border-doxia-sitetools.patch
>
>
> Similar to the issue MSKINS-16 that was fixed for the Fluido skin the Default 
> Skin ignores the width and height and border settings in the site descriptor.
> The changes in site.xml were introduced here:
> DOXIASITETOOLS-58
> {code}
> <bannerLeft>
>       <name>Name</name>
>       <src>Logo.svg</src>
>       <width>30</width>
>       <height>10</height>
>       <title>Logo Title</title>
>       <border>2</border>
> </bannerLeft>
> {code}
> Created HTML:
> {code}
> <img src="Logo.svg" alt="Name" title="Logo Title">
> {code}
> The CSS in maven-base.css would anyways not allow for a border around any 
> image - one would need to create a new skin for borders or remove the 
> border:none from the img tag.
> {code}
> /* from maven-base.css */
> img {
>   border:none;
> }
> /* (...) */
> #banner img {
>   border: none;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to