/    Sign up×
Community /Pin to ProfileBookmark

valign problem

hi guys,

i have changed one of my feilds on the page

[url]www.deskjetmodels.co.nz/details.php[/url]

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 ?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@Css_CalavauthorApr 20.2005 — 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.

[CODE].margin{
margin-top: 6px
}[/CODE]


here is the xhtml

[CODE] <tr>
<td>Country:</td>
<td class="margin">New Zealand</td>
</tr>[/CODE]



is there anything wrong here?

PS: this is in IE6
Copy linkTweet thisAlerts:
@BonRougeApr 21.2005 — You can't apply margins to a tale cell.
Copy linkTweet thisAlerts:
@Css_CalavauthorApr 21.2005 — thanx BonRouge,

lesson learned, deed done ?
×

Success!

Help @Css_Calav spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...