Log In · Register

 
 
Closed TopicStart new topic
So.. is nestling not allowed? or..
wetwilly92
post Mar 30 2008, 01:00 AM
Post #1


Senior Member
***

Group: Member
Posts: 54
Joined: Jul 2007
Member No: 544,170



I'm curious because you can't use the "#" symbol, I'm curious if nestling works with classes. Anyone happen to know, it sure would make my div coding a bit cleaner?

I.E.

CODE

Normally:
#LOLFACE {
float: right;
width: 100%;
etc...
}

#LOLFACE p {
font: blah property blah;
more stuff: STUFF;
}


Since the hash isn't allowed, would this work?
.LOLFACE {
float: right;
width: 100%;
etc...
}

.LOLFACE p {
font: blah property blah;
more stuff: STUFF;
}

 
Tung
post Mar 30 2008, 01:02 AM
Post #2


٩(͡๏̯͡๏)۶
********

Group: Staff Alumni
Posts: 14,309
Joined: Nov 2004
Member No: 65,593



Looks alot like Programming to be honest.
 
MissHygienic
post Mar 30 2008, 01:03 AM
Post #3


Resource Center Tyrant
******

Group: Official Member
Posts: 2,263
Joined: Nov 2007
Member No: 593,306



What is nestling? You can do just about anything with div classes, as well.
 
heyo-captain-jac...
post Mar 30 2008, 01:04 AM
Post #4


/人◕‿‿◕人\
*******

Group: Official Member
Posts: 8,283
Joined: Dec 2007
Member No: 602,927



Yeah Myspace filters the # symbol. Using the . is ok though.
 
wetwilly92
post Mar 30 2008, 01:09 AM
Post #5


Senior Member
***

Group: Member
Posts: 54
Joined: Jul 2007
Member No: 544,170



QUOTE("Tungster")
Looks alot like Programming to be honest.


Hehe,

As for the concept itself.. Check this out I suppose... http://www.htmldog.com/guides/cssintermediate/grouping/

 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: