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

css break lines

Status
Not open for further replies.

rxg00u

Programmer
Apr 11, 2002
16
0
0
GB
Hi,

I am currently using a css with items like this:

.sub
{
text-align: left;
margin-left: 32px;

}

I then call this using the code:

<p class = &quot;sub&quot;>

However is there any way of calling this but NOT putting the text down a line. So that I can get a line in my HTML as so :

i) this is a test

Thank you in advance
 
Use <SPAN CLASS=sub> instead of <P CLASS=sub>. <SPAN> is an inline element that will not display a linebreak.
Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top