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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clueless Cwestion

Status
Not open for further replies.

lslandboy

Programmer
Jun 25, 2002
1
CA
hey peeps... i was just wondering if there's a way to vertically align content in a paragraph ( <p></p> ) like the way it can be done in tables ( valign=&quot;top&quot; ).

cheers!
 
Doesnt the <p> just inherit the alignmet set forth by its table, cell or layer? [Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
dont think so... well, this is what i have...

i have 3 different tables, all different heights. i put them all in <p></p> tags, and set them to display:inline. but when viewed, the smaller tables are aligned at the bottom of the highest table, understandably. just like how a sentance flows...

just wondering if its possible to change that attribute.

did i make sense? hahahah...
 
i know you can do <p align=&quot;center, left or right&quot;>

i would have to c code...other than that I would do it like so

<table width=&quot;100%&quot; height=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
<tr>
<td align=&quot;left&quot; valign=&quot;top&quot;>
<p>wattup fool!! I am at the top left of my class</p></td>
</tr>
</table> [Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
ya, i had to resort to tables to do the trik. oh well... just wondering.

thanks a bunch deecee.

peace!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top