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
Customising non-scroll headers
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
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:
and change the "2" for the colspan attribute to "3". That should fix it.
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>
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.