15
PILAR CHOW 5/1/2012 – PART 5

Part 5

Embed Size (px)

Citation preview

Page 1: Part 5

P I L A R C H O W

5/1/2012 – PART 5

Page 2: Part 5

CONTENT

• This week, we’ve done the 5th part of the tutorial, which is adding a spry menu

Page 3: Part 5

STEP 1 – INSERT AND POSITION THE SPRY MENU BAR WIDGET

• First we inserted a spry menu

Page 4: Part 5

• We selected the #container rule and created a new CSS rule and positioned it

Page 5: Part 5
Page 6: Part 5

• Then we created a new CSS rule to re-position the menu bar because it wasn’t in place at first.

Page 7: Part 5
Page 8: Part 5

STEP 2 – CHANGE THE WIDTH OF THE MENU WIDGET BAR

• We detached the spry menu css, and attached a new style sheet

Page 9: Part 5

• On the ul.MenuBarHorizontal rule, we added a new rule. We changed the text to uppercase. We also changed the width from 8em to 7em

Page 10: Part 5

STEP 3 – EDIT THE MENU BAR WIDGET’S TEXT AND LINKS

• We changed the 4 item names

Page 11: Part 5
Page 12: Part 5

STEP 4 – ADD A TOP-LEVEL HEADING TO THE PAGE

• First we clicked inside the banner, and selected <div#banner> in the Tag selector, which is at the bottom of the page. Then we pressed the left arrow once, which was the point to were we put the <h1> tags. In the property inspector, we chose Heading 1 from the Format pop-up menu, and the pair of <h1> tag was inserted in between the two <div> tags

Page 13: Part 5
Page 14: Part 5

• We added a new CSS rule and changed the positioning

Page 15: Part 5

WHAT WE PRODUCED IN THE END