This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:web_development:tables:padding [2021/12/08 06:20] mag |
en:web_development:tables:padding [2023/08/16 09:33] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Web Development Lesson | + | ====== Web Development Lesson |
- | ===== Padding | + | ===== Padding ===== |
==== Objective ==== | ==== Objective ==== | ||
In this activity we'll adjust the spacing between cells and within cells to make it more readable. | In this activity we'll adjust the spacing between cells and within cells to make it more readable. | ||
Line 72: | Line 72: | ||
}</ | }</ | ||
* Does that look better? | * Does that look better? | ||
+ | |||
+ | ==== Tools: Developer Tools ==== | ||
+ | * Let's take a look at another tool that will help you as a developer. | ||
+ | * Open the menu of your browser. It's usually in the top right, but ask for help if you can't find it. | ||
+ | * Select 'More Tools' then ' | ||
+ | * This will open a panel on the bottom of your screen (Firefox) or the right of your screen (Chrome) with lots of tools that will help you understand what's going on in your page. Your browser size will be adjusted to cover the remaining area. | ||
+ | * If your Developer Tools hasn't opened in the ' | ||
+ | * You'll see the entire structure of your HTML code in a collapsible format in this tab. | ||
+ | * If you click on any of the tags you will see details of all the applied styles in the second pane, including any errors. | ||
+ | * In the last pane, you'll see a box model of the element including the padding. We'll look at this in more detail in the next lesson, but for now, notice that the padding is inside the border and something called a margin is outside the border. | ||
+ | * Click on any < | ||
+ | * Now click in the ' | ||
+ | * Type < | ||
+ | * This tool will allow you to view and edit your CSS rules without changing your files. It's a great place to test out the changes you want to make. | ||
+ | * Now try adding < | ||
+ | * You'll see an ' | ||
+ | * Try removing the ' | ||
+ | |||
+ | ==== Final Code ==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
[[en: | [[en: |