Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

verticaly aligning text, and making it bold and in italics

Status
Not open for further replies.

soniclnd

Technical User
Jan 6, 2005
51
US
how do i verticaly align text in css... also how do i make it bold and italic with css
thanx in advance for your help
 
vertically align it with respect to what?

bold and italic:

Code:
<div style="font-weight: bold; font-style: italic;">text</div>

*cLFlaVA
----------------------------
[tt]Sigs cause cancer.[/tt]
 
the text is inside a box and i want it to be in the middle... not to the top
 

<div style="vertical-align: middle; font-weight: bold; font-style: italic;">text</div>

*cLFlaVA
----------------------------
[tt]Sigs cause cancer.[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top