Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-14 23:14:48

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Can I add wraptag and classes to every txp tag?

Curious to know if every tag can have these attributes?

Offline

#2 2006-08-14 23:25:53

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Can I add wraptag and classes to every txp tag?

No, not all tags accept them.

Offline

#3 2006-08-15 00:29:38

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Can I add wraptag and classes to every txp tag?

Dang…that’d make it easier. So if the tag does not accept them, would I just need to add a div tag around the txp tag? Is that more or less the equivelant?

Offline

#4 2006-08-15 00:41:06

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Can I add wraptag and classes to every txp tag?

Is that more or less the equivelant?

Yep.

For some tags it is helpful, because a tag may or may not always output something. If nothing is output, you probably wouldn’t want an empty tag inserted into your page.

Last edited by Mary (2006-08-15 00:41:33)

Offline

#5 2006-08-15 02:14:05

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Can I add wraptag and classes to every txp tag?

Thank ya

Offline

Board footer

Powered by FluxBB