View Single Post
Old 04-07-2018, 01:09 PM   #5
Nicolas F
Groupie
Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.
 
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
Quote:
Originally Posted by rjwse@aol.com View Post
Thank you for that information about the dot instead of comma. I was unaware you could do this. I had been under the impression that if you put a dot in front of something that it would automatically turn into a class and that in the xhtml segment you would have to refer to it as class="whatever". I have also been toying with the creation of multiple stylesheets. Best regards, Pop
I don't think you can use a dot. As you said if you put a dot you target a class instead of the element. So you would need to add the corresponding class (so your table element will need to be <table class="table")

If all you want to do is order alphabetically your css using commas as you were doing is fine. (you're targeting a tablestuff element that does not exist but this is not a problem)

But the best thing is not to reorder the css
Nobody will see the css and there is no real benefit to reordering it.
Nicolas F is offline   Reply With Quote