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. The body has already been coded for you so that everything is set to Arial, Helvetica, sans-serif and 100%.
  2. Code a rule set for the html element that sets the background color to yellow.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

  7. Code a rule set for the cite element that changes its color to blue and removes the italics from the text.
  8. 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.
  9. Float the image to the left and apply appropriate margins or padding so the text flows to its right as shown above.
  10. Apply 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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions