SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Combine CSS classes in same tag?
Hybrid View
-
Jan 31, 2002, 13:00 #1
- Join Date
- Jan 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Combine CSS classes in same tag?
Does anyone know how to combine CSS classes for an element in the same tag WITHOUT using an additional <span> tag? I know I've read about it and seen this done, but now I forget and can't find where I read it.
For example:
<p class="someclass"> Hello </p>
I want to add a 2nd class
without doing:
<span class="another">
<p class="someclass"> Hello </p>
</span>
I saw a tip once that combined classes in one tag, but I can't remember the proper syntax.
Thanks.
-
Jan 31, 2002, 13:36 #2
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If this is going to be a class that you will use often, just create a new class.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
Jan 31, 2002, 13:45 #3
- Join Date
- Jan 2002
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I figured it out
I figured out how to combine them.
Thanks anyway.
nd243
-
Jan 31, 2002, 20:44 #4
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You mind posting the answer here? That way others who have the same question can find their answer from your hard work.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
Bookmarks