Display the image in the header to the right of the text


Assignment

Cascading Style Sheets are used to provide style, presentation, and layout for the HTML content of a Web page. You will develop an external CSS to provide style, presentation, and layout to an HTML document.

• If you have not installed Microsoft Visual Studio Software in a prior course, follow the instructions for installation steps.

• Download the provided Unit2.zip document and save it to your computer. Download the Unit2.zip document.

• Right-click the Unit2.zip folder and Extract All.

• Open Visual Studio and select File > Open Web Site from the menu. Navigate to the extracted Unit2 folder and select it to open the Website in Visual Studio.

• Select Website > Add New Item from the menu and select Style Sheet from Add New Item dialog box. Name the style sheet Unit2.css.

• Add style rules to Unit2.css to accomplish the following:

o Ensure that the semantic elements format in older browsers.

o Eliminate the default spacing around all elements.

o Use the Verdana font or any available sans-serif font for the text.

o Set the font size for the body to 80% of the browser's default font size.

o Set the width of the window to display the document to 700.

o Center the text in the header.

o Provide spacing at the top of the level-one heading in the header to the equivalent of one capital M without affecting the spacing of the image.

o Set the font size for the level-one heading in the header to three times the browser's default font size.

o Display the image in the header to the right of the text.

o Ensure the text of the section does not flow around the image in the header.

o Display the image in the first paragraph to the left of the text.

o Set the font size for the level-one heading in the section to two times the browser's default font size.

o Center the text in the level-one heading in the section.

o Provide spacing at the bottom of the level-one heading in the section to the equivalent of one capital M.

o Set the font size for the level two headings in the section to one and one-half times the browser's default font size.

o Center the text in the level two headings in the section.

o Center the text in the navigation.

o Provide spacing at the bottom of the navigation to the equivalent of two capital Ms.

o Bold the text of a hyperlink when the user hovers over the hyperlink or a hyperlink gets the focus.

o Set the text of a hyperlink to red when the user hovers over the hyperlink or a hyperlink gets the focus.

o Display the footer on the right side of the page.

o Set the font size of the text in the footer to 75% of the browser's default font size.

• Validate the CSS style rules.

• Zip (compress) the Visual Studio project folder into a .zip file to submit.

Attachment:- Unit_2.zip

Solution Preview :

Prepared by a verified Expert
: Display the image in the header to the right of the text
Reference No:- TGS02665935

Now Priced at $60 (50% Discount)

Recommended (93%)

Rated (4.5/5)