Question: 1 Use your editor to open the pc _ specials _ txt . html and pc _ specials _ txt . css files from the
Use your editor to open the pcspecialstxthtml and pcspecialstxtcss files from the html review folder. Enter your name and the date in the comment section of each file, and save them as pcspecials.html and pcspecials.css respectively.
Go to the pcspecials.html file in your editor. Within the document head, create links to the pcresetcss pcstylescss and pcspecials.css style sheets.
Take some time to study the content and structure of the document, paying careful attention to the use of ids and class names in the file. Save your changes to the file.
Go to the pcspecials.css file in your editor. Within the Page Body Styles section, add a style rule for the body element that sets the width of the page body to of the browser window width within the range of to pixels. Horizontally center the page body within the window by setting the left and right margins to auto.
Go to the Image Styles section and create a style rule that displays all img elements as blocks with a width of
Anne wants the navigation list to be displayed horizontally on the page. Go to the Horizontal Navigation Styles section and create a style rule for every list item within a horizontal navigation list that displays the list item as a block floated on the left margin with a width of
Display every hypertext link nested within a navigation list item as a block.
Next, you will create the grid styles for the March Specials page. Go to the Grid Styles section and create a style rule for the body element that displays the element as a grid with two columns in the proportion of :using fr units with a column grid gap of pixels.
Create a style rule for the header and footer elements that has both elements span the grid from the gridline number to gridline number
Create a style rule for the section element with the id sub that displays that element as a grid consisting of three columns of equal width by repeating the column width fr three times.
Go to the Specials Styles section. In this section, you will create styles for the monthly specials advertised by the company. Create a style rule for all div elements of the specials class that sets the minimum height to pixels and adds a pixel dashed outline around the element with a color value of rgb
Go to the Award Styles section. In this section, you will create styles for the list of awards won by Pandaisia Chocolates. Information boxes for the awards are placed within an aside element. Create a style rule for the aside element that places it using relative positioning, sets its height to pixels, and automatically displays scrollbars for any overflow content.
Every information box in the aside element is stored in a div element. Create a style rule that places these elements with absolute positioning and sets their width to
Position the individual awards within the awardList box by creating style rules for the div elements with id values ranging from award to award at the following top left coordinates: awardpx awardpx awardpx awardpx and awardpxHint: In the pcspecials.html file, the five awards have been placed in a div element belonging to the awards class with id values ranging from award to award
Save your changes to the style sheet and then open the pcspecials.html file in your browser. Verify that the layout and design styles resemble the page shown in Figure body
width: ;
minwidth: px;
maxwidth: px;
margin: auto;
Image Styles
img
display: block;
maxwidth: ;
height: auto;
Horizontal Navigation Styles
nav.horizontal li a
display: block;
float: left;
width: ;
nav li a
display: block;
Grid Styles
body
display: grid;
gridtemplatecolumns: fr fr;
gridcolumngap: px;
body header
gridrow: ;
gridcolumn: ;
#sub
display: grid;
gridtemplatecolumns: fr fr;
gridtemplaterows: repeatfr;
section#sub
clear: left;
float: left;
padding: em;
width: ;
Specials Styles
div.specials
minheight: px;
outline: px dashed rgb;
Award Styles
aside
position: relative;
height: px;
overflow: auto;
div#awardList
position: relative;
height: ;
overflow: auto;
div#award
top: px;
left: ;
div#award
top:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
