Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

maven site generation - How change the size (width, height) of the banner?

$
0
0
Hi,

I'm attempting to specify the width and height of the "banner" of my
generated site.
That is, in src/site/site.xml I specify the <width> and <height> elements
in <bannerLeft> thus:

<project>
<bannerLeft>
<name>Monty Hall simulation</name>
<src>images/my_400_by_419_pixels_image.png</src>
<width>40</width>
<height>42</height>
</bannerLeft>
<body>
...
</body>
</project>

However, this has no effect on the size of the image in the generated HTML.
I have also tried width <width>40px</width>, "<width>40 px</width>" and
"<width>10%</width>"
without success.

How should I make the image be shown as 40 pixels wide and 42 pixels high,
although the original image is 400 pixels wide and 419 pixels high?

/Mikko.

Viewing all articles
Browse latest Browse all 5648

Trending Articles