problem with <a> tag in FF

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
orninyo
Forum Newbie
Posts: 10
Joined: Fri Oct 24, 2008 4:46 am

problem with <a> tag in FF

Post 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..
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: problem with <a> tag in FF

Post 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>';
orninyo
Forum Newbie
Posts: 10
Joined: Fri Oct 24, 2008 4:46 am

Re: problem with <a> tag in FF

Post by orninyo »

allready tried this, same output.
i tried numerous of quotes combinations
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: problem with <a> tag in FF

Post by aceconcepts »

Have you ended you styles?

From your post it looks like there is no </style> tag.
orninyo
Forum Newbie
Posts: 10
Joined: Fri Oct 24, 2008 4:46 am

Re: problem with <a> tag in FF

Post 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
orninyo
Forum Newbie
Posts: 10
Joined: Fri Oct 24, 2008 4:46 am

Re: problem with <a> tag in FF

Post by orninyo »

problem solved.
there was another div who covered the current div and somehow it coused this problem.

thx.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: problem with <a> tag in FF

Post 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.
Post Reply