diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gipfel2html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/gipfel2html b/examples/gipfel2html index 9fe3a1c..e8912d9 100755 --- a/examples/gipfel2html +++ b/examples/gipfel2html @@ -26,7 +26,7 @@ while read name height x y dist flags dummy; do thumb_w=`identify -format %w gipfelweb/thumbs/${name}` thumb_h=`identify -format %h gipfelweb/thumbs/${name}` - echo "#id_${i} {left:$((${x} - 20 / 2))px; top: $((${y} - 20 / 2))px; width: 20px; height: 20px;}" + echo "#id_${i} {left:$((${x} - 10 / 2))px; top: $((${y} - 6 / 2))px; width: 10px; height: 6px;}" echo "#id_${i}:hover {width: ${thumb_w}px; height: ${thumb_h}px; background: url(thumbs/${name});}" i=$((${i} + 1)) @@ -55,9 +55,9 @@ EOF echo "<h3>$TITLE</h3>" cat << EOF -<table border="0" cellpadding="0" cellspacing="1" width="542" bgcolor="black"> +<table border="0" cellpadding="0" cellspacing="1" bgcolor="black"> <tr><td> -<table border="0" cellpadding="10" cellspacing="0" width="542" bgcolor="white"> +<table border="0" cellpadding="10" cellspacing="0" bgcolor="white"> <tr><td> <div id="gipfel"> EOF |