|
#1
|
||||
|
||||
|
Logo of my new Slideshow template is displaced
This is the logo code of my image_template.html.
http://www.derlitograph.de/index.php HTML Code:
<div id="image_wrapper" style="width:<IMAGE_WIDTH>px;"> <div id="header" style="width:100%;left:-21px;"> <!--BEGIN logo--> <div id="logo" align="left"> <div id="title"> <a title="click for home" href="index.php"><img src="templates/delicious_v1/images/derlitograph.gif" alt="derLitograph" border="0" /></a> </div> <div id="logo_sub"> <a title="click for home" href="index.php"><SITE_TITLE></a> </div> </div> <div id="logo" style="width:<IMAGE_WIDTH>px;"> <!-- logo_sub --> </div> <!-- logo --> http://derlitograph.de/templates/del..._template.jpeg Something is wrong with it. Who knows? Manuel Last edited by derlitograph; 11-29-2007 at 10:24 AM. |
|
#2
|
||||
|
||||
|
I guess it is this line:
<div id="image_wrapper" style="width:<IMAGE_WIDTH>px;"> I am afraid that the slideshow template doesn't know anything about an image width, does it? (check the source code of slidesho page for that). Better you set a fixed width for the wrapper here but without seeing the life page it is hard to tell :-) |
|
#3
|
||||
|
||||
|
fix width
I tried to set 533px as width but then everything went a littlebit to the right side.
HTML is a strange language to learn. |
|
#4
|
||||
|
||||
|
The 533px does not work and I ask myself:
"Why does the SLIDESHOW-TEMPLATE not know about the IMAGE WIDTH?" How to integrate that? |
|
#5
|
||||
|
||||
|
most Pixelpost tags are only available in the original templates. To make them available in other templates you simple have to do the replacement function in the addon script which makes use of the template.
I have bothered about that fact very often too. Although I can hack any file or rewrite whole Pixelpost from scratch it would be much more comfortable to have no restrictions in using Tags. Perhaps in Pixelpost 2.0 there will be a solution... |
|
#6
|
||||
|
||||
|
Hmm, okay... well no problem.
I will not die because of it. Pixelpost is really great and I love it. Good work and thanks to you! |
| Post Reply |
| Thread Tools | |
|
|