Solved

Locate CSS  coding at specified point on webpage quickly

Posted on 2014-07-20
14
235 Views
Last Modified: 2014-07-20
Dear Experts,

When I answer CSS question on EE, I  will first look into author's webpage and look
into the issue view point location such as submenu under menu  that is similar to
the issue at this EE thread link
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_28479835.html

When I answer the question, I will go to firefox developer tool and use "Inspect element"
to find out the exact  issue location, and I could not find out the exact CSS file or CSS location. So, I need to view page source to find out or guess where the issue CSS location is
that is really slow to answer the question.

My question is that How can I find the exact CSS issue location code quickly  on
Firefox or Chrome browser developer tools ?

Why I will use using "Inspect element" on FF developer tool can Not locate the exact
CSS code on such issue tag when mouse hover on the issue spot on the webpage
Or there is other way to find out CSS issue code on such tag quickly ?

What tools besides experts experience can answer the question as fast as it  did
in the previous link.

Please advise
Duncan
0
Comment
Question by:duncanb7
  • 8
  • 6
14 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40207498
When using Firebug, select the element, click the Style tab dropdown arrow and click hove/active/focus and that will show the css for the various states
Don't think you can do that with the native Element Inspector in FF
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207511
Change the z-index on the .yith_magnifier_zoom_wrap {...} class to 1

/assets/css/yith_magnifier.css

The answer from your thread, I could Not find the location . Where is it  at which tag ?
I could Not see the CSS code even I tried mourse right-click to the code page under the
webpage

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207515
That's because the image doesn't really exist where it is, right click the image when you get the zoom happening and inspect element and then move up the node tree to get the container.
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207518
I mouse right-click to :hover on the each tag code on issue html code  as follows, but could not find out  the issue CSS code. Why ?
Please advise
Duncan

<section class="row row-3">

<section class="column column-1 grid-left-0 grid-width-24">
<nav id="block-b5753b9edabd8c29" class="Mainmenu block block-type-navigation block-fluid-height" data-alias="Main Menu"itemscope="" itemtype="http://schema.org/SiteNavigationElement">
<div class="block-content">
<div class="nav-horizontal nav-align-center"><ul id="menu-menu-1" class="menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-177"><a href="http://www.shopsmook.com/whats-new/">What&#8217;s New</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children current_page_parent menu-item-186"><a href="http://www.shopsmook.com/shop/">CLOTHES</a>
<ul class="sub-menu">
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-179"><a href="http://www.shopsmook.com/man/">MAN</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-178"><a href="http://www.shopsmook.com/woman/">WOMAN</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-182"><a href="http://www.shopsmook.com/shoes/">SHOES</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-181"><a href="http://www.shopsmook.com/accesories/">Accesories</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-180"><a href="http://www.shopsmook.com/vintage/">Vintage</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-184"><a href="http://www.shopsmook.com/sale/">SALE</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-183"><a href="http://www.shopsmook.com/lookbooks/">LOOKBOOKS</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-185"><a href="http://www.shopsmook.com/blog/">BLOG</a></li>
</ul></div><!-- .nav-horizontal nav-align-center -->
</div><!-- .block-content -->

</nav><!-- #block-b5753b9edabd8c29 -->

</section><!-- .column -->

</section><!-- .row -->

Open in new window

0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207522
If you can provide small your search practice instruction to search  CSS issue location on FF developer tools that will be really good

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207523
It's not an :hover issue, the image zoom container is higher in the z-index.
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207525
Any external FF site or tools  on internet for developer about my issue, please advise

Duncan
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 13

Author Comment

by:duncanb7
ID: 40207529
And that is why I seldom or rarly answer CSS question in EE

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207530
There's no special secret to it, just inspect the element and work back or forth til you find the relevant element css that needs to be fixed.
There is no one way fits all since every website is different, it's a case of practise makes perfect when you just know what is wrong
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207532
Do you have any good FF developer tools manual or site information ?

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207537
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207540
Last post, Firebug is better than FF developer tools , Right ?

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207541
I think so, easier to do things in Firebug
0
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 40207543
Thanks for your reply, I'll work around for firebug

Duncan
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now