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

line break

Status
Not open for further replies.

sunarta

Programmer
May 13, 2002
3
0
0
AU
Hi all,

I want to do &quot;line break&quot; in CSS - like &quot;<br><br>&quot; in html such as:
DIV.PARA {
break-before: Line; /* is there any similiar command in CSS?
..
..
}

any idea? or maybe there is a trick / another way?

thanks a lot
anthony
 
Anthony,

how about:

Code:
in your style sheet...
div.para {margin-top: 50px;}

in your code...
<DIV CLASS=para>some content here</DIV>

hope this helps

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top