trouble with nav "borders" trouble with nav "borders"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

trouble with nav "borders"

Started by jmc, February 20, 2004, 02:07:56 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jmc

OK - after a couple of hours, I admit defeat.
I'm playing around with the WaterDrop theme to create an on-line car Forecourt for a client. You can see it here http://80.6.216.175/cpg2 After editing the template to put the (cut-down) main and admin navs into a left table cell, then replacing the text links with nice shiny buttons, I get purple borders around the gifs! And the borders sometimes change to blue, almost as if they are acting like text links!
I've obviously missed something somewhere... but I'm beat... and it's way past midnight. Any suggestions for tomorrow morning, anyone???
Oh, and by the way, the last couple of hours have been spent scouring the css, template and theme files for clues... without any luck!
Thanks for any help,
John Mc
I'm trying hard... at least!

bit bit spears

<img src="http://80.6.216.175/cpg2/themes/water_drop/images/home.gif">

Ok, add this into the img src code.

style="border: none"

To make:


<img style="border: none" src="http://80.6.216.175/cpg2/themes/water_drop/images/home.gif">

Joachim Müller

<img>-tags should always have the following attributes set: border, width, height, alt, like this:
Quote<img src="http://80.6.216.175/cpg2/themes/water_drop/images/home.gif" border="0" width="40" height="16" alt="Home" />
(you'll have to modify the stuff in red to the actual properties of your image).

GauGau

jmc

Yep! That did the trick!
The answer came to me (almost!) while at work today. I was following the format of the existing water_drop menu theme, where the "orange_carret" gif does not have attributes set as suggested here. You confirmed my suspicions, and it works a dream. Still curious where it got those border colours from, though!
Thanks for the support... I've added you both to my Xmas card list!
John Mc
I'm trying hard... at least!