ooto.info

Finally up on CS2007 - getting ready for 2008 - it is AMAZING!

Firefox CSS Style Rules

The IE DevToolbar has a nice DOM model viewer but the tool that comes with Firefox one's it up - a video about CSS development/debugging:

[camtasia:FireFoxDOMTools:450:400]

In the above video, I discuss the DOM Viewer in the IE DevTollBar and show a feature available through the Firefox DOM Inspector (comes with Firefox but you must choose to install it).

In IE, once you bring up the DOM Viewer, you can select Find->Select Element by Click which then causes all of the HTML page elements to highlight as you mouse over them.  Click on the element brings up all the CSS details in the Current Style section of the viewer.  You can easily add rules to your CSS and see how your layout is changed right away by clicking the [+] key in the attributes panel.  This is a really nice CSS debugging tool.

Firefox also has a Select Element by Click but it doesn't seem to work as nicely as in IE in that you don't get the mouse-over highlight.  You can still find your elements easily in the tree-view.  Where Firefox goes beyond the IE DevToolBar is in the ability to view "CSS Style Rules."  So, in Firefox, you must first load the DOM Inspector by clicking on Tools->DOM Inspector or Shift+Ctrl+I.  The Inspector will load and the current URL defaults into the window.  You may change the URL if you'd like.  Click the [Inspect] button.  At the bottom of the Inspector, the page will load.  Select Search->Select Element by Click and select an element on the page.  All of the CSS details will be displayed.  Now the piece de resistance: In the top-right panel of the Inspector you should find, by default, the DOM Node.  You can change this panel to view the CSS Style Rules for the selected element by clicking on the down-arrow in the menu bar to the left of the title:

Select this option to load this tool and you'll see the hierarchy of CSS files and rules affecting the selected element including the browser default styles.  This is a GREAT tool for debugging CSS issues.

Comments

nick said:

The DOM inspector in Firefox is pretty cool but the Firebug Extension blows it away. http://getfirebug.com/

# December 28, 2006 1:55 PM

Alina_m said:

<a href= http://monfobu.com ></a>

# October 29, 2008 7:55 PM

Future_dim said:

<a href= http://monfobu.com ></a>

# October 30, 2008 2:08 AM

Alina_m said:

<a href= http://avoidcar.com ></a>

# October 31, 2008 3:39 PM

Future_dim said:

<a href= http://avoidcar.com ></a>

# October 31, 2008 7:35 PM

Future_dim said:

<a href= http://tipon4.com ></a>

# November 4, 2008 11:03 AM

Alina_m said:

<a href= http://tipon4.com ></a>

# November 4, 2008 8:02 PM

balabo3_bb said:

<a href= aseeds.one.angelfire.com >transvestite rockstar</a>

# November 8, 2008 8:46 PM

balabo3_ef said:

<a href= http://chufut.angelfire.com >bbr brakepedal</a>

# November 9, 2008 1:09 AM

balabo3_fo said:

<a href= http://vetrin.angelfire.com >physicians in beverly hills michigan</a>

# November 9, 2008 5:44 AM

balabo3_fz said:

<a href= lizard-masterm.angelfire.com >goldsmiths golf</a>

# November 9, 2008 10:27 AM

Gina_M said:

<a href= http://index1.riddark.com >andy roddick pics</a>

# November 12, 2008 5:18 AM

Gina_M said:

<a href= http://index1.riddark.com >andy roddick pics</a>

# November 12, 2008 5:18 AM

balabo3_ti said:

<a href= aseeds.one.angelfire.com >transvestite rockstar</a>

# November 15, 2008 5:26 PM

balabo3_nx said:

<a href= http://chufut.angelfire.com >bbr brakepedal</a>

# November 15, 2008 9:49 PM

balabo3_rw said:

<a href= http://vetrin.angelfire.com >physicians in beverly hills michigan</a>

# November 16, 2008 2:25 AM

Rici said:

<a href= http://index1.geribag.com >stream videos with psp</a>

# November 16, 2008 2:20 PM

Nixh said:

<a href= http://index1.bows4.com >gothgirlxxxfreewebcam</a>

# November 19, 2008 12:27 PM

Nixh said:

<a href= http://index1.bows4.com >gothgirlxxxfreewebcam</a>

# November 19, 2008 12:28 PM

Vani said:

<a href= http://index1.bows4.com >fredericks hollywood lingerie</a>

# November 19, 2008 7:19 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)