Nedumerire css-'mostenire' proprietati

Aici postaţi orice este legat de tehnologiile "client side". HTML, HTML5, XHTML, CSS, CSS3, XML, Standarde
Manual JS:

Moderatori: eyecon, Moderatori


Avatar utilizator
Copyright
Senior Member
Mesaje: 869
Membru din: Dum Dec 17, 2006 7:24 pm
Localitate: Bucuresti
Contact:

Mesajde Copyright » Mie Dec 05, 2007 9:35 am

1. Pentru ca intr-o regula CSS un id are specificitate mai mare decat o clasa. Un simplu search pe google dupa CSS specificity o sa-ti ofere mai multe detalii.

2.

#div_style a
{
color:black;
}

#div_style a.stil1
{
color:red;
border:1px solid green;
}



Later.

raz_atoth
PHPRomania Supporter
Mesaje: 26
Membru din: Vin Apr 01, 2005 12:42 am

Mesajde raz_atoth » Mie Dec 05, 2007 5:23 pm


Avatar utilizator
Copyright
Senior Member
Mesaje: 869
Membru din: Dum Dec 17, 2006 7:24 pm
Localitate: Bucuresti
Contact:

Mesajde Copyright » Mie Dec 05, 2007 7:08 pm


raz_atoth
PHPRomania Supporter
Mesaje: 26
Membru din: Vin Apr 01, 2005 12:42 am

Mesajde raz_atoth » Joi Dec 06, 2007 2:47 am


Stingus
Junior Member
Mesaje: 46
Membru din: Mar Mar 22, 2005 2:31 pm

Mesajde Stingus » Vin Dec 07, 2007 3:00 pm


raz_atoth
PHPRomania Supporter
Mesaje: 26
Membru din: Vin Apr 01, 2005 12:42 am

Mesajde raz_atoth » Sâm Dec 08, 2007 10:08 pm



Înapoi la “HTML/JavaScript/CSS”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 7 vizitatori