Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-20 12:50:06

Victor Lazarro
Member
From: Berlin
Registered: 2006-06-14
Posts: 127
Website

background-color: #***;

hi,

in my css i have an (a:hover link) with background-color: #FFF3bb; and this works fine,
but my problem is the (h1) will show this too and i cant cancel it …
what do i makr wrong??

her the text:

a
{ color: #473624; text-decoration: underline;
}

a:hover
{ color: #473624; text-decoration: underline; background-color: #FFF3bb;
}

h1
{ font-family: Georgia, Verdana, Arial, sans-serif; font-size: 24px; color: #FFF3DB; font-weight: normal; text-decoration: none; padding-top: 15px; margin-bottom: 5px;

}
h1 a
{ text-decoration: none; color: #FFF3DB;
}

h1 a:hover
{ text-decoration: none;

}

<p> thanks


good magic is better than sex, but harder to find …
http://www.lazarro.de

Offline

#2 2006-07-20 13:08:14

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 700
Website Mastodon

Re: background-color: #***;

in your tag

h1 a:hover

use:
text-decoration: none; background-color:transparent;


A hole turned upside down is a dome, when there’s also gravity.

Offline

#3 2006-07-20 13:42:23

Victor Lazarro
Member
From: Berlin
Registered: 2006-06-14
Posts: 127
Website

Re: background-color: #***;

thanks, that works …

greetings to Berlin :)


good magic is better than sex, but harder to find …
http://www.lazarro.de

Offline

#4 2006-07-20 13:50:37

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 700
Website Mastodon

Re: background-color: #***;

aber gerne!


A hole turned upside down is a dome, when there’s also gravity.

Offline

Board footer

Powered by FluxBB