BrainDump
  Home arrow BrainDump arrow Advanced Firebug Techniques in Windows XP ...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Advanced Firebug Techniques in Windows XP Home
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 7
    2009-09-02

    Table of Contents:
  • Advanced Firebug Techniques in Windows XP Home
  • Improve Loading Times with Firebug
  • Profile and Debug JavaScript
  • Best Practices

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Advanced Firebug Techniques in Windows XP Home


    (Page 1 of 4 )

    In the previous article, we discussed important Firebug techniques for inspecting and editing CSS. We also started to analyze CSS metrics. In this last part of the three-part series, you will learn how to maximize the CSS metrics, analyze web page loading times and start using Firebug with JavaScript. In short, we are starting to look into the advanced uses of Firebug.

    Again, it is highly recommended that you read the first two parts of this tutorial if you are completely new to Firebug.

    Actual Example of CSS Metrics Adjustment

    One of the most useful and basic functions in Firebug, which appears tricky, is adjusting layouts. We ended part two of this tutorial with a basic introduction to making CSS metrics adjustments. Let us give an example:

    Suppose we wish to widen the post width and decrease the sidebar width, and want to test it using Firebug. The first thing we will do is conduct measurements (in pixels) and measure the total width occupied by both the post and the sidebar.

    Total width = Total post width + Total sidebar width

    Note: The screen shot combines two CSS measuring elements for both post and sidebar for clarity purposes. When you do the real inspection, you can only do this one at a time (for example, measuring one element after another)

    The post width is 660 pixels while the sidebar width is around 300 pixels. These widths are a total of the padding widths and the actual widths: (1+10+278+10+1). Therefore the total width is around 960 pixels:

    Total width = 660 pixels + 300 pixels = 960 pixels

    If we plan to increase the post width to 730 pixels, for example, we'll want to preserve the total width. To preserve it, the sidebar width will decrease, to around 230 pixels (960 pixels - 730 pixels = 230 pixels). In order to edit the values, just click on the number, and then you can replace it with your desired values. Firebug will automatically increase the width. See below for the sample revisions. The value of 660 pixels was changed to 730 pixels. 

    As simple as this example is, you can apply this concept to adjust complicated layouts.

    More BrainDump Articles
    More By Codex-M


     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek