Results 1 to 11 of 11
Thread: CSS change list
-
07-30-2014, 07:10 AM #1Disabled
- Join Date
- May 2014
- Posts
- 37
CSS change list
I have next code
HTML Code:
HTML Code:<ul class='some_class'> <li>...</li> <li>...</li> </ul>
HTML Code:
HTML Code:<ul> <li>...</li> <li>...</li> </ul>
-
07-30-2014, 07:16 AM #2Temporarily Suspended
- Join Date
- Jul 2014
- Location
- Malaysia
- Posts
- 61
Try something like that, add any code into the style.css
Code:.class-name { padding: ?px ?px; color: #?; font: normal ?px ; }
-
07-30-2014, 11:07 AM #3Newbie
- Join Date
- Jul 2014
- Posts
- 11
As to what Nicolson_AlphaNine stated above that is the proper way to do it, you can as well do it with id's as well just to get started you have two options vertical or horizontal which follows here on this demo i made :
Demo:
http://jsfiddle.net/rm42L/
just a basic idea, hope this helps you further
-
07-30-2014, 11:10 AM #4Web Hosting Master
- Join Date
- Aug 2001
- Posts
- 5,597
Why do you want to remove the class?
-
07-30-2014, 11:25 AM #5Newbie
- Join Date
- Jul 2014
- Posts
- 11
-
07-30-2014, 11:26 AM #6Web Hosting Master
- Join Date
- Aug 2001
- Posts
- 5,597
-
08-01-2014, 11:52 AM #7WHT Addict
- Join Date
- Jan 2013
- Posts
- 117
Hello kaufenpreis,
I'm not entirely sure what you are asking for. Are you looking for how to set up CSS for 'some_class' in the css file? Are you looking to remove code?[B]Scott M
-
08-06-2014, 07:10 AM #8
Moved from programming, since it's about web design.
Your one stop shop for decentralization
-
08-06-2014, 11:14 AM #9Web Hosting Master
- Join Date
- Aug 2001
- Posts
- 5,597
All the suggestions about class names in CSS wont work, because this is exactly what the OP removed.
-
08-06-2014, 01:23 PM #10Newbie
- Join Date
- Aug 2014
- Posts
- 10
If you have a parent you can still use .parent ul
-
08-06-2014, 01:38 PM #11Web Hosting Evangelist
- Join Date
- Mar 2012
- Posts
- 525
I suspect the op needs to clarify his question....
Undefined Variable
Contact your webmaster.
Similar Threads
-
Change CSS for Certain Devices with Javascript
By person287 in forum Web Design and ContentReplies: 2Last Post: 10-18-2011, 04:31 AM -
Change mysql database to list from id to alpabetical
By johnliverpool in forum Programming DiscussionReplies: 7Last Post: 08-14-2011, 12:00 PM -
Looking for a list of known CSS bugs
By n3r0x in forum Web Design and ContentReplies: 3Last Post: 11-22-2009, 07:52 PM -
[CSS] List Styling
By JustinSmall in forum Programming DiscussionReplies: 1Last Post: 10-06-2008, 04:49 PM -
design change and css help
By jbest in forum Web Site ReviewsReplies: 3Last Post: 01-31-2003, 04:04 PM