Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-07-28 14:29:31
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
textile blockquotes and css problem
i’m trying to apply styles to blockquotes generated with textile, but i can only seem to get some things to work. changing “margin-left” or “font-weight”, for example, works fine, but changing “color” doesn’t do anything. i’ve tried applying the styles to “blockquote” and “blockquote p” but nothing works. anyone know what’s causing this?
Offline
#2 2006-07-29 06:28:31
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: textile blockquotes and css problem
Textile outputs XHTML. Very likely you’ve got a CSS problem, not a Textile problem. You’ll need to show us what you’ve got, for more than that.
Offline
#3 2006-07-29 12:49:08
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: textile blockquotes and css problem
There’s really not much to it that can go wrong.
The relevent textile, from an article:
<notextile>
This sort of thing.
</notextile>
The relevent css, placed at the end of the css file, so it shouldn’t be changed by anything after it:
<code>
blockquote{
color: #FF0000;
}
blockquote p{
color: #FF0000;
}
</code>
Offline
Re: textile blockquotes and css problem
What HTML is outputted in the source code?
Offline
#5 2006-07-29 23:45:20
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: textile blockquotes and css problem
<code>
<blockquote>
<p>This sort of thing.</p>
</blockquote>
</code>
does anyone else have the same thing happen?
Offline
Re: textile blockquotes and css problem
If you have something like #content p { color: #999 }, you’d need to use #content blockquote p { color: #ff0 }. Do you have an example URL available?
Since Textile is producing the correct code, it’s a cascading issue.
Offline
Pages: 1