darksoul
05-04-2003, 02:13 AM
i want to have the title image to be a link to the main page... but it moves when you have mouse over.. i want every other link to be like that but not this one. how can i fix this?
|
View Full Version : helllppp darksoul 05-04-2003, 02:13 AM i want to have the title image to be a link to the main page... but it moves when you have mouse over.. i want every other link to be like that but not this one. how can i fix this? Arc Angel 05-04-2003, 02:15 AM Could you please post your code? :) darksoul 05-04-2003, 02:18 AM This is the on hover stuff: <style type="text/css"> a:hover { color: <?php echo $l1?>; text-decoration: none; position:relative; left:1px; top:1px; } a:link { color: <?php echo $l?>; text-decoration: none; } a:visited { color: <?php echo $l?>; text-decoration: none; } a:visited:hover { color: <?php echo $l1?>; text-decoration: none; position:relative; left:1px; top:1px; } input { background-color: <?php echo $c2?>; font-family: Verdana, sans-serif; font-size: 10px; color: <?php echo $c?>; border: 1px solid <?php echo $b?> } </style> and this is the title stuff: <TABLE BGCOLOR=<?php echo $c1?> cellSpacing=0 cellPadding=0 width=504 align=center style="border: 2px solid <?php echo $b?>"> <TR><TD><a href="main.php?style=<?php echo $e?>"><img border="0" src="images/<?php echo $p?>"></a></TD></TR> </TABLE> look for yourself at this place (http://darksoul.kittenelle.net/main.php) Liz 05-04-2003, 01:40 PM Originally posted by darksoul i want to have the title image to be a link to the main page... but it moves when you have mouse over.. i want every other link to be like that but not this one. how can i fix this? I dont know what you mean it moves, it didnt move when I moused over it. MaGiCSuN 05-04-2003, 05:24 PM your style code isn't right. You forgot an A: in front of the hover use this: <style type="text/css"> a:hover { color: <?php echo $l1?>; text-decoration: none; position:relative; left:1px; top:1px; } a:link { color: <?php echo $l?>; text-decoration: none; } a:visited { color: <?php echo $l?>; text-decoration: none; } a:hover { color: <?php echo $l1?>; text-decoration: none; position:relative; left:1px; top:1px; } input { background-color: <?php echo $c2?>; font-family: Verdana, sans-serif; font-size: 10px; color: <?php echo $c?>; border: 1px solid <?php echo $b?> } </style> |