Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Short 5-1 Apply CSS to an HTML page In this exercise, youll apply the CSS skills that you learned in chapters 4 and 5 to

Short 5-1 Apply CSS to an HTML page

In this exercise, youll apply the CSS skills that you learned in chapters 4 and 5 to an existing HTML document. The resulting page should look something like the screen shot that follows. Estimated time: 30 to 45 minutes.

image text in transcribed

  1. image text in transcribedDownload the Chapter5Short file from D2L. Inside the folder is the following files When working on the assignment open the entire directory in WebStorm. This is necessary for all the files to work together. When you have completed the assignment zip up the entire folder.
  2. Inside the html file you will notice that the c05x_sorkin.css and the normalize.css files are already linked. You will be editing the c05x_sorkin.css file to match the criteria listed in the following steps.
  3. The body has already been coded for you so that everything is set to Arial, Helvetica, sans-serif and 100%.
  4. Code a rule set for the html element that sets the background color to yellow.
  5. Enhance the rule set for the body so the width is 650 pixels, the body is centered in the browser window, and the body has a double blue border around it like the one above. If you need to make any other changes to the body, do that too.
  6. Code a rule set for the main element that puts padding around its contents. Then, code a rule set for the footer that puts a blue border above it. Note that this border doesnt touch the border for the body.
  7. Code rule sets for the h1, h2, and h3 elements. The h1 font should be 150% of the default specified in the body, the h2 font should be 125% of the default font, and the h3 font should be 115% of the default font. The h1 font should also be blue. Then, apply appropriate margins or padding to the h1, h2, and h3 elements so the spacing before and after the headings is similar to whats shown above.
  8. Code the rule sets for the

    , blockquote, ul, and li elements so the spacing before and after the elements is similar to whats shown above.

  9. Code a rule set for the cite element that changes its color to blue and removes the italics from the text.
  10. Code a rule set for the paragraphs that contain cite elements. This rule set should right align the paragraphs and increase the spacing below to .75em. One way to do this is to add a class attribute to these paragraphs and use that class as the selector for the rule set.
  11. Float the image to the left and apply appropriate margins or padding so the text flows to its right as shown above.
  12. Apply rules to the footer or the paragraphs within the footer so the font size is 90% of the default, the font weight is bold, the paragraphs are centered, and the spacing above and below is similar to whats shown above.
Andrew Ross Sorkin, author of Too Big to Fail November 2015 New York Times columnist and author Andrew Ross Sorkin, has been described as the most famous financial journalist of his generation." A leading voice on Wall Street and corporate America, his New York Times bestseller, Too Big to Fail, was the first true, behind-the-scenes, moment-by-moment account of how that financial crisis developed into a global tsunami The Economist, The Financial Times, and Business Week all named Too Big To Fail one of the best books of the year. The book was published by Viking October 20, 2009. The book was adapted as a movie by HBO Films and premiered on HBO on May 23, 2011. The film was directed by Curtis Hanson, and the screenplay was written by Peter Gould Praise for Too Big to Fail Vigorously reported, superbly organized...for those of us who didn't pursue MBAs and have the penny-ante salaries to prove it." Julia Keller, Chicago Tribune Sorkin's prodigious reporting and lively writing put the reader in the room for some of the biggest-dollar conference calls in history. It's an entertaining, brisk book." Paul M. Barrett, The New York Times Book Review The cast of the movie: Too Big to Fail . William Hurt as Hank Paulson . Paul Giamatti as Ben Bernanke Billy Crudup as Timothy Geithner . Edward Asner as Warren Buffet Prepared by: Your Name Date: Today's Date Andrew Ross Sorkin, author of Too Big to Fail November 2015 New York Times columnist and author Andrew Ross Sorkin, has been described as the most famous financial journalist of his generation." A leading voice on Wall Street and corporate America, his New York Times bestseller, Too Big to Fail, was the first true, behind-the-scenes, moment-by-moment account of how that financial crisis developed into a global tsunami The Economist, The Financial Times, and Business Week all named Too Big To Fail one of the best books of the year. The book was published by Viking October 20, 2009. The book was adapted as a movie by HBO Films and premiered on HBO on May 23, 2011. The film was directed by Curtis Hanson, and the screenplay was written by Peter Gould Praise for Too Big to Fail Vigorously reported, superbly organized...for those of us who didn't pursue MBAs and have the penny-ante salaries to prove it." Julia Keller, Chicago Tribune Sorkin's prodigious reporting and lively writing put the reader in the room for some of the biggest-dollar conference calls in history. It's an entertaining, brisk book." Paul M. Barrett, The New York Times Book Review The cast of the movie: Too Big to Fail . William Hurt as Hank Paulson . Paul Giamatti as Ben Bernanke Billy Crudup as Timothy Geithner . Edward Asner as Warren Buffet Prepared by: Your Name Date: Today's Date

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions