Customising non-scroll headers

This is the place to share H&M templates and utilities with other users. Topic templates can be posted as text attachments (*.txt) or in the posting itself between [code] and [/code] tags. Print manual templates (*.mnl) are digital and can only be posted as attachments. Utilities and multiple files can be posted in ZIP archives. Please include plenty of comments so that users understand what you're doing! Registration is required to access this forum.

Moderators: Alexander Halser, Tim Green

Customising non-scroll headers

Unread postby Davem » Mon Nov 27, 2006 6:53 pm

I downloaded the latest H&M style non-scroll headers template and I'm working through the process of adding the minor customisations I'd done to the older version, before importing it into all my existing projects.
Its mostly working now, but when I add the following line to insert the company logo to the left of the topic header, the previous/next buttons section grows vertically very slightly and gains a sharp edge projecting below the rest of the sections to its left.
The code I've added (from my earlier mod) is:-
<td align="center" valign="center" width="150"><img src="mylogo.jpg"></td>
I'd be grateful for any advice on where I should add this in the non-scroll template, or any other modification needed, as my current guess produces the result described.
Thanks
Dave
Davem
 
Posts: 106
Joined: Thu Oct 13, 2005 12:07 pm
Location: Hemel Hempstead UK

Unread postby Tim Green » Mon Nov 27, 2006 7:33 pm

Dave,

The problem with adding additional table cells to this template is that it has a special column-spanning cell for the shadow effect. Locate this piece of code:

Code: Select all
<tr><td colspan="2" style="height: 3px; background: url(header_bg_shadow.gif)"></td></tr>

and change the "2" for the colspan attribute to "3". That should fix it. :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 21053
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Templates & Utilities

Who is online

Users browsing this forum: No registered users and 1 guest

cron