hi guys,
i have changed one of my feilds on the page
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/details.php">www.deskjetmodels.co.nz/details.php</a><!-- w -->
to be static. its the country field. but the words New Zealand seems to be valigned to the top.
i tried to valign in the xhtml or the td and tr and no luck.
i tried to valign the tr and td in the css with a class and no luck.
can anyone help me with how to fix this so its centered like the text boxes and why it is like this?
thankyou ok i think i know why,
its because my inputs have a top margin of 2px.
i have added a class to the td with New Zealand in it and it doesnt appear to be doing anything.
.margin{
margin-top: 6px
}
here is the xhtml
<tr>
<td>Country:</td>
<td class="margin">New Zealand</td>
</tr>
is there anything wrong here?
PS: this is in IE6You can't apply margins to a tale cell.thanx BonRouge,
lesson learned, deed done
i have changed one of my feilds on the page
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/details.php">www.deskjetmodels.co.nz/details.php</a><!-- w -->
to be static. its the country field. but the words New Zealand seems to be valigned to the top.
i tried to valign in the xhtml or the td and tr and no luck.
i tried to valign the tr and td in the css with a class and no luck.
can anyone help me with how to fix this so its centered like the text boxes and why it is like this?
thankyou ok i think i know why,
its because my inputs have a top margin of 2px.
i have added a class to the td with New Zealand in it and it doesnt appear to be doing anything.
.margin{
margin-top: 6px
}
here is the xhtml
<tr>
<td>Country:</td>
<td class="margin">New Zealand</td>
</tr>
is there anything wrong here?
PS: this is in IE6You can't apply margins to a tale cell.thanx BonRouge,
lesson learned, deed done