Forums

This topic is locked

Why is my text bold?

Posted 17 Oct 2010 18:24:29
1
has voted
17 Oct 2010 18:24:29 john culp posted:
I have this code which either displays a name and email link if logged in, or just a name if not- Note the div and class tags are identical, yet when it choses the first option it's printed light, but in the second (not logged in) it's bold. WTF???


<tr>
<td>
<?php if(isset($_SESSION['MM_Username'])){ ?>
<div align="center" class="style4"><a href="mailto:<?php echo $row_officer['email'];?>"><?php echo $row_officer['fname']." ".$row_officer['lname']; ?></a></div>
<?php }else{ ?>
<div align="center" class="style4"><?php echo $row_officer['fname']." ".$row_officer['lname'];?></div>
<?php } ?>
</td>
</tr>

Reply to this topic