Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-10-03 21:08:56
- kevinpotts
- Member

- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
div tags through textile
Is it possible to create a <div> in Textile? Ideally with a class applied to it.
Last edited by kevinpotts (2006-10-03 21:09:15)
Kevin
(graphicpush)
Offline
#2 2006-10-04 00:00:51
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: div tags through textile
<div class="foo">...</div>.
Alex
Offline
#3 2006-10-04 13:01:54
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: div tags through textile
i.e: No – you enter it by hand. :)
Offline
#4 2006-10-04 16:36:22
- kevinpotts
- Member

- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: div tags through textile
When I enter it by hand, it wraps the <div> in a <p>, so it ends up like
<p><div></p>
foo
<p></div></p>
Kevin
(graphicpush)
Offline
Re: div tags through textile
kevin, add a space at the beginning of the line before the opening angle-bracket
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1