Page 1 of 1

problem with <a> tag in FF

Posted: Sat Nov 15, 2008 5:49 am
by orninyo
hi
is there a known problem with <a> tag in FF?

i try to do somthing like this:

Code: Select all

div#most
{
    position:absolute;
    margin-top:155px;
    background-position:right;
    min-height:205px;
    *min-height:225px;
     padding:5px;
    font-size:small;
    
}
<div id='most'>
<?php
     echo "<a href='index.php'>aaa</a>";
?>
</div
 
and the html output was a "aaa" with underline ,looks like a regular link, but the problem that this isnt a link,
only a regular text , the link doesnt work.
this problem happens only in firefox.
i noticed that when i delete this rows:
margin-top:155px;
min-height:205px;
*min-height:225px;
it works fine, but this rows are necessary..

Re: problem with <a> tag in FF

Posted: Sat Nov 15, 2008 5:59 am
by aceconcepts
Double quotes and single quotes are actually totally different - as you can see.

Try:

Code: Select all

echo '<a href="index.php">aaa</a>';

Re: problem with <a> tag in FF

Posted: Sat Nov 15, 2008 6:06 am
by orninyo
allready tried this, same output.
i tried numerous of quotes combinations

Re: problem with <a> tag in FF

Posted: Sat Nov 15, 2008 6:28 am
by aceconcepts
Have you ended you styles?

From your post it looks like there is no </style> tag.

Re: problem with <a> tag in FF

Posted: Sat Nov 15, 2008 6:43 am
by orninyo
the css options is in a seperated css file , the style options are working fine
i only added the relevant part of the code

Re: problem with <a> tag in FF

Posted: Sat Nov 15, 2008 6:51 am
by orninyo
problem solved.
there was another div who covered the current div and somehow it coused this problem.

thx.

Re: problem with <a> tag in FF

Posted: Sat Nov 15, 2008 6:52 am
by Eran
The link works fine for me using this markup. The problem might be with the rest of your code that you aren't showing to us.