Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-05-2012, 03:05 PM   PM User | #1
congabeatz
New to the CF scene

 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
congabeatz is an unknown quantity at this point
Which css file is class coming from?

Hey Everybody -
I'm a CSS noob, and am just now getting my feet wet. When I 'view source' on a web page, I can see the CSS class that my tag is pointing to, but how can I know which file that class resides in? In that page where I'm viewing source, there are a bunch of <link rel='stylesheet' > tags....I just wish there was an easier way than looking through each of the files specified in that tag.
Thanks
congabeatz is offline   Reply With Quote
Old 10-05-2012, 03:29 PM   PM User | #2
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 445
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
Depending on which browser you're using. Normally you can right click, examine element, and then look for that element in the CSS.
stevenmw is offline   Reply With Quote
Old 10-05-2012, 03:38 PM   PM User | #3
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,579
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Yeah, use a built-in developer/debugging tool or alternatives like Firebug. You can inspect the source code there and it shows you which elements have styles applied, and in which file and on which line it is defined.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:14 PM.


Advertisement
Log in to turn off these ads.