Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-10 01:15:19

jshan
Member
Registered: 2008-01-09
Posts: 67

CSS for Forms cannot be overwritten?

Hi,

I have a form to list articles’ titles and excerpts. It looks like the following:

<h3 id="title">
<txp:permlink><txp:title /></txp:permlink>
</h3>
<div class="data">
<txp:posted /> / Tag(s): 
<txp:category2 link="y" title="1" section="article" this_section="0" />
</div>

No matter what I’ve tried in the default CSS to define #title h3 to be red and with no underline hover-over effect, the default h3 style that is black and underlined when hover-over cannot be overwritten.

Somehow I feel it’s something to do with the <txp:permlink> that messed up with the h3 style I wanted. Can anyone help pls?

J.

Last edited by jshan (2009-02-10 01:16:44)

Offline

#2 2009-02-10 01:21:21

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: CSS for Forms cannot be overwritten?

hi jshan,

is there any link to see this issue? thanks.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2009-02-10 01:26:05

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: CSS for Forms cannot be overwritten?

Instead of #title h3 try with #title h3 a

Offline

#4 2009-02-10 06:33:34

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: CSS for Forms cannot be overwritten?

jshan wrote:

Somehow I feel it’s something to do with the <txp:permlink> that messed up with the h3 style I wanted. Can anyone help pls?

Somehow I feel that you are looking for the h3#title and h3#title a:hover selectors.

Offline

#5 2009-02-10 18:07:00

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: CSS for Forms cannot be overwritten?

Thanks all for your input.

Wet – your feeling was justified. :) Thx! It MUST follow this way for IE6:

h3#title {...}
h3#title a {...}
h3#title a:hover {...}

Last edited by jshan (2009-02-10 18:11:44)

Offline

Board footer

Powered by FluxBB