SlideShare una empresa de Scribd logo
1 de 37
What is Firebug?

“   Firebug integrates with Firefox to put a
    wealth of web development tools at
    your fingertips while you browse. You
    can edit, debug, and monitor CSS,


                                  ”
    HTML, and JavaScript live in any web
    page.
Put simply...

Firebug is an awesome website
administrators secret weapon!
Why would I use it?
✓ To find errors in your web page
✓ Experiment with and preview changes without
  breaking your site
✓ Make simple updates yourself without having
  to pay a developer
What can it do?
  Inspect

View the HTML source
on the fly
What can it do?
  Inspect

Inspect HTML tags
and CSS properties
What can it do?
  Inspect

Edit HTML and CSS
and see those
changes instantly
What can it do?
  Layout

Visualise your page
layout with Box Model
shading
What can it do?
  Layout

Visualise breakdown
of each box in the
Box Model
What can it do?
  Layout

View rulers and
guides for pixel
perfection layout
That’s not all...
Log - Log events to the console

Profile - Measure site performance

Debug - Provides a powerful debugger

Analyse - Monitor network activity
Where can I get it?

http://getfirebug.com

    You can also get a lite version for Chrome

http://getfirebug.com/releases/lite/chrome/
Enabling Firebug

The Firebug panel will open at the bottom of the browser
WTF is this Box Model?

Every element on your
page is a box that
consists of Width,
Height, Padding,
Border & Margin
Firebug’s Box Model
Get a visual breakdown of
each box in the Box Model
It shows you the width and
height of the innermost box,
along with the size of the
padding, border & margin
Where’s the code?
The Inspect button lets you select any element
       on your page using your mouse
Your new best Friends!
 The HTML panel displays the generated HTML
 The Style panel displays the CSS styles for the
             currently selected tag
Selecting your HTML

Click the HTML tag and the element will be highlighted
         Padding is purple Margins are yellow
The Quick Info box
      Gives you all the important
      info at a quick glance

      If it gets in the way, just drag
      it

      If you don’t want it, hide it
Hiding Quick Info
If you don’t want the Quick Info box, simply hide it
Editing your HTML
         Click the HTML
         attributes or text to
         change them
         Use the Tab key to
         move to the next
         attribute
Editing your HTML
You can also use the Edit button to change the HTML
      HTML & CSS changes appear as you type
Messed things up? Just refresh the browser window
Editing your CSS
       Click a property to change it
When a Property is struck out, it means it’s
    been overridden by another style
Editing your CSS
Use the Up/Down arrow keys
to...
            Cycle through properties
            Increment or decrement numbers
            Increment or decrement by ten with Shift key
Editing your CSS
            Preview images and colours
Disable CSS properties by clicking the icon next to it
Adding to your CSS
Add new Properties by...
             Double-clicking the white area
             Editing the last value and hitting Tab
             Right-clicking and selecting "New Property..."
Useful CSS Styles
Text Color
color: #hexcode;
                                                    color: #123456;



Important points:
Each property needs to end in a semi-colon ( ; )
Use American English (color NOT colour. center NOT centre)
Useful CSS Styles
Padding
padding: top right bottom left;
                                      padding: 10px 0 20px 0;
padding-left: length;
padding-right: length;
padding-top: length;
padding-bottom: length;
                   padding-right: 10px; padding-bottom: 10px;
Useful CSS Styles
Margin
margin: top right bottom left;
                                       margin: 10px 0 20px 0;
margin-left: length;
margin-right: length;
margin-top: length;
margin-bottom: length;
                         margin-left: 5px; margin-bottom: 5px;
Useful CSS Styles
Background Color
background: color image repeat attachment position;
          background: #fff url(image.jpg) no-repeat fixed left top;

background-color: color;
background-image: url(path/filename.ext);
background-repeat: repeat;
background-position: position;
background-attachment: scroll;
                                     background-color: #abc123;
Useful CSS Styles
Borders
border: width style color;
                                      border: 2px solid #2233FF;

border-left: width style color;
border-right: width style color;
border-top: width style color;
border-bottom: width style color;
                border-left: 1px dotted #000; border-right: none;
Useful CSS Styles
Type
font: style variant weight font-size/line-height font-
family;
    font: bold 15px/18px Georgia, "Times New Roman", Times, serif;

font-family: family-name;
font-size: size;
font-weight: weight;
font-style: style;
                font-size: 16px; font-weight: bold; font-style: italic;
Common Questions
How do I change the background colour?
How do I change the menu colour?
How do I change my font or heading sizes?


             All of these are easy, using Firebug!
Demo
Useful Links
Firebug FAQ’s - http://getfirebug.com/wiki/index.php/FAQ
Firebug Documentation - http://getfirebug.com/wiki/index.php/Main_Page

Handy online Color Picker - http://www.colorpicker.com
The CSS Box Model explained - http://css-tricks.com/the-css-box-model
List of CSS properties - http://reference.sitepoint.com/css/propertyref
Font families - http://line25.com/articles/semi-web-safe-fonts-to-spice-up-your-web-
designs
Font sizing - http://css-tricks.com/css-font-size
WordPress and CSS - http://codex.wordpress.org/CSS
Questions?
Thank You!
  http://maddisondesigns.com
      @maddisondesigns

Más contenido relacionado

La actualidad más candente

SEO Structures by Yavor Milchev
SEO Structures by Yavor MilchevSEO Structures by Yavor Milchev
SEO Structures by Yavor MilchevYavor Milchev
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web DevelopmentRahul Mishra
 
Static web sites assignment 1 philip lemmon1
Static web sites assignment 1 philip lemmon1Static web sites assignment 1 philip lemmon1
Static web sites assignment 1 philip lemmon1Lemmon12
 
Flex For Flash Developers Ff 2006 Final
Flex For Flash Developers Ff 2006 FinalFlex For Flash Developers Ff 2006 Final
Flex For Flash Developers Ff 2006 Finalematrix
 
Basics Of Css And Some Common Mistakes
Basics Of Css And Some Common MistakesBasics Of Css And Some Common Mistakes
Basics Of Css And Some Common Mistakessanjay2211
 
Building Layouts with CSS
Building Layouts with CSSBuilding Layouts with CSS
Building Layouts with CSSBoris Paillard
 
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros DeveloperWeb Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros DeveloperNyros Technologies
 
Strategies for Debugging Print CSS
Strategies for Debugging Print CSSStrategies for Debugging Print CSS
Strategies for Debugging Print CSSMrDys
 
Rollover button tutorial
Rollover button tutorialRollover button tutorial
Rollover button tutorialDaniel Downs
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1TonyC445
 
BasicCSSFlowTutorial
BasicCSSFlowTutorialBasicCSSFlowTutorial
BasicCSSFlowTutorialtutorialsruby
 

La actualidad más candente (19)

SEO Structures by Yavor Milchev
SEO Structures by Yavor MilchevSEO Structures by Yavor Milchev
SEO Structures by Yavor Milchev
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web Development
 
Static web sites assignment 1 philip lemmon1
Static web sites assignment 1 philip lemmon1Static web sites assignment 1 philip lemmon1
Static web sites assignment 1 philip lemmon1
 
Flex For Flash Developers Ff 2006 Final
Flex For Flash Developers Ff 2006 FinalFlex For Flash Developers Ff 2006 Final
Flex For Flash Developers Ff 2006 Final
 
Basics Of Css And Some Common Mistakes
Basics Of Css And Some Common MistakesBasics Of Css And Some Common Mistakes
Basics Of Css And Some Common Mistakes
 
Wireframe Template
Wireframe TemplateWireframe Template
Wireframe Template
 
Layers&Frames
Layers&FramesLayers&Frames
Layers&Frames
 
Building Layouts with CSS
Building Layouts with CSSBuilding Layouts with CSS
Building Layouts with CSS
 
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros DeveloperWeb Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
 
Basic Text
Basic TextBasic Text
Basic Text
 
Class
ClassClass
Class
 
Css
Css Css
Css
 
Strategies for Debugging Print CSS
Strategies for Debugging Print CSSStrategies for Debugging Print CSS
Strategies for Debugging Print CSS
 
Rollover button tutorial
Rollover button tutorialRollover button tutorial
Rollover button tutorial
 
Handout3 links
Handout3 linksHandout3 links
Handout3 links
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
BasicCSSFlowTutorial
BasicCSSFlowTutorialBasicCSSFlowTutorial
BasicCSSFlowTutorial
 
Le Wagon - 2h Landing
Le Wagon - 2h LandingLe Wagon - 2h Landing
Le Wagon - 2h Landing
 
CSS Fundamentals
CSS FundamentalsCSS Fundamentals
CSS Fundamentals
 

Destacado

From FTP to GIT: A little bit about the continuous delivery process.
From FTP to GIT: A little bit about the continuous delivery process.From FTP to GIT: A little bit about the continuous delivery process.
From FTP to GIT: A little bit about the continuous delivery process.Júnior Rocha
 
Deploy & Continunous Integration - TDC Floripa 2015
Deploy & Continunous Integration - TDC Floripa 2015Deploy & Continunous Integration - TDC Floripa 2015
Deploy & Continunous Integration - TDC Floripa 2015Júnior Rocha
 
Git Branching for Agile Teams
Git Branching for Agile TeamsGit Branching for Agile Teams
Git Branching for Agile TeamsSven Peters
 
Git Branching for Agile Teams
Git Branching for Agile Teams Git Branching for Agile Teams
Git Branching for Agile Teams Atlassian
 
The Other Side of HTML
The Other Side of HTMLThe Other Side of HTML
The Other Side of HTMLCarlin Scuderi
 
World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...
World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...
World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...Jeffrey Ryan Pass
 
Big Data in Retail - Examples in Action
Big Data in Retail - Examples in ActionBig Data in Retail - Examples in Action
Big Data in Retail - Examples in ActionDavid Pittman
 
Big-tent UX (UX Camp West 2016)
Big-tent UX (UX Camp West 2016)Big-tent UX (UX Camp West 2016)
Big-tent UX (UX Camp West 2016)Peter Boersma
 

Destacado (12)

From FTP to GIT: A little bit about the continuous delivery process.
From FTP to GIT: A little bit about the continuous delivery process.From FTP to GIT: A little bit about the continuous delivery process.
From FTP to GIT: A little bit about the continuous delivery process.
 
Deploy & Continunous Integration - TDC Floripa 2015
Deploy & Continunous Integration - TDC Floripa 2015Deploy & Continunous Integration - TDC Floripa 2015
Deploy & Continunous Integration - TDC Floripa 2015
 
Will js kill css
Will js kill cssWill js kill css
Will js kill css
 
Everybody Lies
Everybody LiesEverybody Lies
Everybody Lies
 
Git Branching for Agile Teams
Git Branching for Agile TeamsGit Branching for Agile Teams
Git Branching for Agile Teams
 
Git Branching for Agile Teams
Git Branching for Agile Teams Git Branching for Agile Teams
Git Branching for Agile Teams
 
The Other Side of HTML
The Other Side of HTMLThe Other Side of HTML
The Other Side of HTML
 
World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...
World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...
World IA Day 2014: Everything I Really Need to Know About IA and UX I Learned...
 
Big Data in Retail - Examples in Action
Big Data in Retail - Examples in ActionBig Data in Retail - Examples in Action
Big Data in Retail - Examples in Action
 
Q3 q4 teachers guide v1.0
Q3 q4 teachers guide v1.0Q3 q4 teachers guide v1.0
Q3 q4 teachers guide v1.0
 
G7 science student modules 3rd & 4th qrtr
G7 science student modules  3rd & 4th qrtrG7 science student modules  3rd & 4th qrtr
G7 science student modules 3rd & 4th qrtr
 
Big-tent UX (UX Camp West 2016)
Big-tent UX (UX Camp West 2016)Big-tent UX (UX Camp West 2016)
Big-tent UX (UX Camp West 2016)
 

Similar a Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney

01 Introduction To CSS
01 Introduction To CSS01 Introduction To CSS
01 Introduction To CSScrgwbr
 
Customizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSSCustomizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSSLaura Hartwig
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Hatem Mahmoud
 
Basic tutorial dreamweaver_cs5
Basic tutorial dreamweaver_cs5Basic tutorial dreamweaver_cs5
Basic tutorial dreamweaver_cs5seanoiii
 
Making Your Own CSS Framework
Making Your Own CSS FrameworkMaking Your Own CSS Framework
Making Your Own CSS FrameworkDan Sagisser
 
Stylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStartStylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStartScott DeLoach
 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Thinkful
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Erin M. Kidwell
 
Controlling Web Typography
Controlling Web TypographyControlling Web Typography
Controlling Web TypographyTrent Walton
 
Making Your Site Look Great in IE7
Making Your Site Look Great in IE7Making Your Site Look Great in IE7
Making Your Site Look Great in IE7goodfriday
 

Similar a Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney (20)

David Weliver
David WeliverDavid Weliver
David Weliver
 
01 Introduction To CSS
01 Introduction To CSS01 Introduction To CSS
01 Introduction To CSS
 
Html Expression Web
Html Expression WebHtml Expression Web
Html Expression Web
 
CSS
CSSCSS
CSS
 
Customizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSSCustomizing Your WordPress Theme Using Firebug and Basic CSS
Customizing Your WordPress Theme Using Firebug and Basic CSS
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
 
Css
CssCss
Css
 
HTML Bootcamp
HTML BootcampHTML Bootcamp
HTML Bootcamp
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Basic tutorial dreamweaver_cs5
Basic tutorial dreamweaver_cs5Basic tutorial dreamweaver_cs5
Basic tutorial dreamweaver_cs5
 
Making Your Own CSS Framework
Making Your Own CSS FrameworkMaking Your Own CSS Framework
Making Your Own CSS Framework
 
Rakshat bhati
Rakshat bhatiRakshat bhati
Rakshat bhati
 
Stylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStartStylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStart
 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)
 
Webtech File.docx
Webtech File.docxWebtech File.docx
Webtech File.docx
 
card flip
card flip card flip
card flip
 
Omeka css
Omeka cssOmeka css
Omeka css
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
 
Controlling Web Typography
Controlling Web TypographyControlling Web Typography
Controlling Web Typography
 
Making Your Site Look Great in IE7
Making Your Site Look Great in IE7Making Your Site Look Great in IE7
Making Your Site Look Great in IE7
 

Más de WordCamp Sydney

How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012
How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012
How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012WordCamp Sydney
 
Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012
Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012
Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012WordCamp Sydney
 
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012WordCamp Sydney
 
TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...
TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...
TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...WordCamp Sydney
 
Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...
Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...
Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...WordCamp Sydney
 
Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012
Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012
Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012WordCamp Sydney
 
Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012
Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012
Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012WordCamp Sydney
 
The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...
The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...
The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...WordCamp Sydney
 
Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012
Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012
Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012WordCamp Sydney
 
Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...
Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...
Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...WordCamp Sydney
 
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012WordCamp Sydney
 
Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012
Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012
Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012WordCamp Sydney
 
Word to the Future - Brent Shepherd - WordCamp Sydney 2012
Word to the Future - Brent Shepherd - WordCamp Sydney 2012Word to the Future - Brent Shepherd - WordCamp Sydney 2012
Word to the Future - Brent Shepherd - WordCamp Sydney 2012WordCamp Sydney
 
Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012
Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012
Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012WordCamp Sydney
 
Inclusive Design Principles for WordPress - Joe Ortenzi - WordCamp Sydney
Inclusive Design Principles for WordPress - Joe Ortenzi - WordCamp SydneyInclusive Design Principles for WordPress - Joe Ortenzi - WordCamp Sydney
Inclusive Design Principles for WordPress - Joe Ortenzi - WordCamp SydneyWordCamp Sydney
 
There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...
There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...
There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...WordCamp Sydney
 
WordPress for Noobs - Wil Brown - WordCamp Sydney 2012
WordPress for Noobs - Wil Brown - WordCamp Sydney 2012WordPress for Noobs - Wil Brown - WordCamp Sydney 2012
WordPress for Noobs - Wil Brown - WordCamp Sydney 2012WordCamp Sydney
 

Más de WordCamp Sydney (17)

How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012
How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012
How To Get Paid What You’re Worth - Troy Dean - WordCamp Sydney 2012
 
Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012
Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012
Not Just another WordPress Site Design - Phil Peet - WordCamp Sydney 2012
 
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
 
TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...
TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...
TurboPress: The High Performance Guide to WordPress - Jeff Waugh - WordCamp S...
 
Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...
Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...
Demystifying Custom Post Types and Taxonomies - Tracey Kemp - WordCamp Sydney...
 
Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012
Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012
Child Theming WordPress - Chris Aprea - WordCamp Sydney 2012
 
Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012
Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012
Responsive WordPress - Jordan Gillman - WordCamp Sydney 2012
 
The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...
The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...
The Power of Your Story Through WordPress and Social Media - Kimanzi Constabl...
 
Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012
Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012
Siloing your Site for SEO Success - Stephen Cronin - WordCamp Sydney 2012
 
Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...
Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...
Stop Hacking WordPress, Start Working with it - Charly Leetham - WordCamp Syd...
 
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
 
Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012
Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012
Optimising SEO for WordPress - Lisa Davis - WordCamp Sydney 2012
 
Word to the Future - Brent Shepherd - WordCamp Sydney 2012
Word to the Future - Brent Shepherd - WordCamp Sydney 2012Word to the Future - Brent Shepherd - WordCamp Sydney 2012
Word to the Future - Brent Shepherd - WordCamp Sydney 2012
 
Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012
Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012
Securing your WordPress Website - Vlad Lasky - WordCamp Sydney 2012
 
Inclusive Design Principles for WordPress - Joe Ortenzi - WordCamp Sydney
Inclusive Design Principles for WordPress - Joe Ortenzi - WordCamp SydneyInclusive Design Principles for WordPress - Joe Ortenzi - WordCamp Sydney
Inclusive Design Principles for WordPress - Joe Ortenzi - WordCamp Sydney
 
There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...
There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...
There's More than 1 Way to Skin a WordPress Theme - Lachlan MacPherson - Word...
 
WordPress for Noobs - Wil Brown - WordCamp Sydney 2012
WordPress for Noobs - Wil Brown - WordCamp Sydney 2012WordPress for Noobs - Wil Brown - WordCamp Sydney 2012
WordPress for Noobs - Wil Brown - WordCamp Sydney 2012
 

Último

Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 

Último (20)

Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 

Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney

  • 1.
  • 2. What is Firebug? “ Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, ” HTML, and JavaScript live in any web page.
  • 3. Put simply... Firebug is an awesome website administrators secret weapon!
  • 4. Why would I use it? ✓ To find errors in your web page ✓ Experiment with and preview changes without breaking your site ✓ Make simple updates yourself without having to pay a developer
  • 5. What can it do? Inspect View the HTML source on the fly
  • 6. What can it do? Inspect Inspect HTML tags and CSS properties
  • 7. What can it do? Inspect Edit HTML and CSS and see those changes instantly
  • 8. What can it do? Layout Visualise your page layout with Box Model shading
  • 9. What can it do? Layout Visualise breakdown of each box in the Box Model
  • 10. What can it do? Layout View rulers and guides for pixel perfection layout
  • 11. That’s not all... Log - Log events to the console Profile - Measure site performance Debug - Provides a powerful debugger Analyse - Monitor network activity
  • 12. Where can I get it? http://getfirebug.com You can also get a lite version for Chrome http://getfirebug.com/releases/lite/chrome/
  • 13. Enabling Firebug The Firebug panel will open at the bottom of the browser
  • 14. WTF is this Box Model? Every element on your page is a box that consists of Width, Height, Padding, Border & Margin
  • 15. Firebug’s Box Model Get a visual breakdown of each box in the Box Model It shows you the width and height of the innermost box, along with the size of the padding, border & margin
  • 16. Where’s the code? The Inspect button lets you select any element on your page using your mouse
  • 17. Your new best Friends! The HTML panel displays the generated HTML The Style panel displays the CSS styles for the currently selected tag
  • 18. Selecting your HTML Click the HTML tag and the element will be highlighted Padding is purple Margins are yellow
  • 19. The Quick Info box Gives you all the important info at a quick glance If it gets in the way, just drag it If you don’t want it, hide it
  • 20. Hiding Quick Info If you don’t want the Quick Info box, simply hide it
  • 21. Editing your HTML Click the HTML attributes or text to change them Use the Tab key to move to the next attribute
  • 22. Editing your HTML You can also use the Edit button to change the HTML HTML & CSS changes appear as you type Messed things up? Just refresh the browser window
  • 23. Editing your CSS Click a property to change it When a Property is struck out, it means it’s been overridden by another style
  • 24. Editing your CSS Use the Up/Down arrow keys to... Cycle through properties Increment or decrement numbers Increment or decrement by ten with Shift key
  • 25. Editing your CSS Preview images and colours Disable CSS properties by clicking the icon next to it
  • 26. Adding to your CSS Add new Properties by... Double-clicking the white area Editing the last value and hitting Tab Right-clicking and selecting "New Property..."
  • 27. Useful CSS Styles Text Color color: #hexcode; color: #123456; Important points: Each property needs to end in a semi-colon ( ; ) Use American English (color NOT colour. center NOT centre)
  • 28. Useful CSS Styles Padding padding: top right bottom left; padding: 10px 0 20px 0; padding-left: length; padding-right: length; padding-top: length; padding-bottom: length; padding-right: 10px; padding-bottom: 10px;
  • 29. Useful CSS Styles Margin margin: top right bottom left; margin: 10px 0 20px 0; margin-left: length; margin-right: length; margin-top: length; margin-bottom: length; margin-left: 5px; margin-bottom: 5px;
  • 30. Useful CSS Styles Background Color background: color image repeat attachment position; background: #fff url(image.jpg) no-repeat fixed left top; background-color: color; background-image: url(path/filename.ext); background-repeat: repeat; background-position: position; background-attachment: scroll; background-color: #abc123;
  • 31. Useful CSS Styles Borders border: width style color; border: 2px solid #2233FF; border-left: width style color; border-right: width style color; border-top: width style color; border-bottom: width style color; border-left: 1px dotted #000; border-right: none;
  • 32. Useful CSS Styles Type font: style variant weight font-size/line-height font- family; font: bold 15px/18px Georgia, "Times New Roman", Times, serif; font-family: family-name; font-size: size; font-weight: weight; font-style: style; font-size: 16px; font-weight: bold; font-style: italic;
  • 33. Common Questions How do I change the background colour? How do I change the menu colour? How do I change my font or heading sizes? All of these are easy, using Firebug!
  • 34. Demo
  • 35. Useful Links Firebug FAQ’s - http://getfirebug.com/wiki/index.php/FAQ Firebug Documentation - http://getfirebug.com/wiki/index.php/Main_Page Handy online Color Picker - http://www.colorpicker.com The CSS Box Model explained - http://css-tricks.com/the-css-box-model List of CSS properties - http://reference.sitepoint.com/css/propertyref Font families - http://line25.com/articles/semi-web-safe-fonts-to-spice-up-your-web- designs Font sizing - http://css-tricks.com/css-font-size WordPress and CSS - http://codex.wordpress.org/CSS
  • 37. Thank You! http://maddisondesigns.com @maddisondesigns

Notas del editor

  1. \n
  2. Firebug is a Firefox add-on that you can use to edit, debug & monitor CSS, HTML & Javascript\n
  3. Firebug is an awesome website administrators secret weapon\n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. Click the icon in the toolbar at the top of your browser window.\nThis panel can be changed to either side of the browser or even detached completely.\n
  14. Why is this important? It helps you to space out and align each element on your page.\nHelps you to work out the overall width & height of your element\nWidth = width + padding-left + padding-right + border-left + border-right\nHeight = height + padding-top + padding-bottom + border-top + border-bottom\n
  15. Moving your cursor over the Box Model will show you rulers and guides over the selected HTML element\n
  16. No need to go searching through the HTML code to find the relevant element. Simply use the inspect button\nThe relevant HTML will be highlighted along with the CSS styles\n
  17. Basically, click on something on the left and styles are displayed on the right\n
  18. Blue area is the inner “box”\nPadding is highlighted in purple\nMargins are highlighted in yellow\n
  19. Provides info like height, width, margins, padding, colour etc.\n
  20. The firebug menu lets you enable or disable a bunch of other features also\n
  21. Right-clicking provides options to copy HTML or add new attributes \n
  22. Changes you make to the HTML or CSS aren’t permanent so make a note of what you change.\nWhen you refresh the browser, any changes you’ve made within Firebug will return to their default styles.\nFirebug addon called Backfire will allow you to save your changes\n
  23. Firebug will autocomplete when you start typing\nOn the right of the Style window, it will also tell you name of the CSS file (and even the line number) where it’s located\n
  24. You can also use the page-up/page-down arrow keys to increment or decrement in tens.\nReally handy to fine tune elements on your page\n
  25. \n
  26. Three different ways to add a new property to your style definition\n
  27. There’s a handy online Color Picker at http://www.colorpicker.com\n
  28. Padding is the space inside your “box” between the border and the actual contents.\nMargins are the spaces outside the “box”, between the border and the other elements surrounding the object.\n
  29. Padding is the space inside your “box” between the border and the actual contents.\nMargins are the spaces outside the “box”, between the border and the other elements surrounding the object.\n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n