3

I have this CSS style:

span
{
    font-family: Book Antiqua;
    clear: right;
    vertical-align: top;
}

I want to remove vertical-align on span inside a div called divDetail. In other words, I want this style on any span inside divDetail:

#divDetail span
{
    font-family: Book Antiqua;
    clear: right;
}

How can I do that? How can I remove vertical-align style?

Thank you!

1
  • 1
    Just for neatness, put quotes around font-names which contain spaces. I guess it will work in most browsers, but according to specifications ( w3.org/TR/CSS21/fonts.html#font-family-prop ) they should be quoted. Good practice etc. :-) Commented Jun 6, 2009 at 14:08

1 Answer 1

13

Set vertical-align: baseline.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.