Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-16 17:44:03

stangita
New Member
Registered: 2005-12-05
Posts: 9

changing styles within an article

hi,
I want some of my articles to have a different style for displaying quoted text. I wanna write my stuff in normal article format and then insert a boxed quote with a different style.
whats the cleanest way of doing so?
thnks
stan.

Offline

#2 2006-08-16 18:32:02

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: changing styles within an article

Define a style for the <code><blockquote></code> element in your css and then use ‘bq. ‘ as the prefix – without quotes but including a trailing space – for your quoted text. For details see <a href=“http://www.textpattern.com/help/?item=blockquote”>here</a>

Last edited by masa (2006-08-16 18:33:51)

Offline

#3 2006-08-16 18:37:52

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: changing styles within an article

In your article begin your blockquote with <code>bq.</code>. Then make a reference in your stylesheet called <code>blockquote</code> and style this to your liking.

And masa beat me to it! :-)

Last edited by TNT (2006-08-16 18:38:39)


Prrrrrrrr

Offline

Board footer

Powered by FluxBB