team2005
asked on
Align=right dosent work ?
Hei!
Have this code for a header:
***** CSS ********
.rapport1_del5
{
background-color: #efefef;
border: none ! important;
box-shadow: none ! important;
padding-left:15px;
height:30px;
padding-top:3px;
}
My problem is this code:
<td class="rapport1_del5" align="right">
<a href="#" onClick="window.print()"> <img src="../images/skriver.png " TYPE="button"
It dosent align="right", but it align="left" WHY ?
Have this code for a header:
<header>
<table width="100%" align="left" border="1" padding-right="10px" class="headertabell">
<tr class="rapport1_del5">
<td class="rapport1_del5" align="left">
<a href="#" onClick="window.print()"> <img src="../images/skriver.png" TYPE="button" align="left" /> Printer </a></td>
<td class="rapport1_del5" align="left">
<a href="MPDF/examples/PDF6.php?brukerID=<?php echo $brukerID ?>&kundeid=<?php echo $kundeid ?>" target="_self"><img src="../images/PDF.png" align="left"/> PDF </a></td>
<td class="rapport1_del5" align="right">
<a href="#" onClick="window.print()"> <img src="../images/skriver.png" TYPE="button" align="left" /> Logg ut </a></td>
</tr>
</table>
</header >
***** CSS ********
.rapport1_del5
{
background-color: #efefef;
border: none ! important;
box-shadow: none ! important;
padding-left:15px;
height:30px;
padding-top:3px;
}
My problem is this code:
<td class="rapport1_del5" align="right">
<a href="#" onClick="window.print()"> <img src="../images/skriver.png
It dosent align="right", but it align="left" WHY ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Open in new window
as well as:
Open in new window
I think the padding-left in the css is trumping your left vs right vs your blank align calls..