hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : CSS change list
Reply

Forum Jump

CSS change list

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-30-2014, 07:10 AM
kaufenpreis kaufenpreis is offline
Newbie
 
Join Date: May 2014
Posts: 24

CSS change list


I have next code
HTML Code:

HTML Code:
<ul class='some_class'>
 <li>...</li>
 <li>...</li>
</ul>
I want to change it to
HTML Code:

HTML Code:
<ul>
 <li>...</li>
 <li>...</li>
</ul>
My question is - how can i write class='some_class' in styles.css?



Sponsored Links
  #2  
Old 07-30-2014, 07:16 AM
NTS-Network NTS-Network is offline
Temporarily Suspended
 
Join Date: Jul 2014
Location: Malaysia
Posts: 62
Try something like that, add any code into the style.css
Code:
.class-name
{
  padding: ?px ?px;
  color: #?;
  font: normal ?px ;
}

  #3  
Old 07-30-2014, 11:07 AM
BarakaDesigns BarakaDesigns is offline
Newbie
 
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

Sponsored Links
  #4  
Old 07-30-2014, 11:10 AM
zoid zoid is offline
Meerkat, at your service
 
Join Date: Aug 2001
Posts: 4,508
Why do you want to remove the class?

__________________
Sitemeer.com ● Real-time Service Availability Check
HTTP? Of course, but not only! Also HTTPS, custom TCP ports and - last but not least - fully supported IDNs


  #5  
Old 07-30-2014, 11:25 AM
BarakaDesigns BarakaDesigns is offline
Newbie
 
Join Date: Jul 2014
Posts: 11
Quote:
Originally Posted by zoid View Post
Why do you want to remove the class?
No one said anything about removing classes, i just gave a suggestion that kaufenpreis can use both either ID's or classes cause they both can be called in the CSS

  #6  
Old 07-30-2014, 11:26 AM
zoid zoid is offline
Meerkat, at your service
 
Join Date: Aug 2001
Posts: 4,508
Quote:
Originally Posted by BarakaDesigns View Post
No one said anything about removing classes
The OP didnt?

__________________
Sitemeer.com ● Real-time Service Availability Check
HTTP? Of course, but not only! Also HTTPS, custom TCP ports and - last but not least - fully supported IDNs


  #7  
Old 08-01-2014, 11:52 AM
scott_m scott_m is offline
Junior Guru Wannabe
 
Join Date: Jan 2013
Posts: 67
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?

__________________
Scott M
InMotion Hosting Customer Community Team


  #8  
Old 08-06-2014, 07:10 AM
bear bear is online now
Community Leader
 
Join Date: Oct 2002
Location: Mayberry
Posts: 19,728
Moved from programming, since it's about web design.

__________________
Having problems, or maybe questions about WHT? Head over to the help desk!



  #9  
Old 08-06-2014, 11:14 AM
zoid zoid is offline
Meerkat, at your service
 
Join Date: Aug 2001
Posts: 4,508
All the suggestions about class names in CSS wont work, because this is exactly what the OP removed.

__________________
Sitemeer.com ● Real-time Service Availability Check
HTTP? Of course, but not only! Also HTTPS, custom TCP ports and - last but not least - fully supported IDNs


  #10  
Old 08-06-2014, 01:23 PM
Pazuzu Pazuzu is offline
Newbie
 
Join Date: Aug 2014
Posts: 5
If you have a parent you can still use .parent ul

  #11  
Old 08-06-2014, 01:38 PM
paulof paulof is offline
Junior Guru
 
Join Date: Apr 2014
Location: Lisbon
Posts: 213
I suspect the op needs to clarify his question....

__________________
M Paulo F - Project Manager

M Modulus Web Design
M Custom Design / Development that actually haves your business in mind.

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change CSS for Certain Devices with Javascript person287 Web Design and Content 2 10-18-2011 04:31 AM
Change mysql database to list from id to alpabetical johnliverpool Programming Discussion 7 08-14-2011 12:00 PM
Looking for a list of known CSS bugs n3r0x Web Design and Content 3 11-22-2009 07:52 PM
[CSS] List Styling JustinSmall Programming Discussion 1 10-06-2008 04:49 PM
design change and css help jbest Web Site Reviews 3 01-31-2003 04:04 PM

Related posts from TheWhir.com
Title Type Date Posted
Rackspace Among Cloud Companies on Fortune's "Best Companies to Work For" List Web Hosting News 2014-01-17 11:44:01
Cloud Marketing Company Releases 101 Trust Leaders in Cloud and Hosting for 2014 List Web Hosting News 2013-11-18 11:03:02
SingleHop Makes CRN Solution Provider 500 List Web Hosting News 2013-07-26 14:42:22
Important changes to WHIR Networking Events Europe schedule Blog 2013-04-15 16:00:16
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2014-05-09 12:40:35


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?