Question: Need a CSS code for this layout thank you. Open the main.css file and format the header 4 . Add the rule set that specifies
Need a CSS code for this layout thank you. Open the main.css file and format the header
Add the rule set that specifies the font family and font size for the body, the rule set
that floats the image in the header, and the rule set that clears the floating in the
section.
Add two rule sets for the header to the style sheet. The first one should set the color for
the h element in the header to # and indent it pixels. The second one should
set the font style for the h element in the header to italic and indent it pixels.
Test the HTML page in Chrome to make sure that the style sheet has been linked
properly, the image has been floated, and the headings have been formatted correctly.
If necessary, make corrections and test again.
Format the section and the footer
From now on test each change right after you make it
Add a rule set for the h elements in the section that sets the font size to and the
color to #
Add a rule set for the h elements in the section that sets the font size to
Add a rule set for just the heading that says: Our Speakers To do that, first
add an id attribute to this heading in the HTML file with the value speakers Then
create a rule set that uses an id selector #speakers for that id and set the font size to
and the color to black.
Add a rule set that italicizes any link that has the focus or has the mouse hovering over it
Add a rule set that centers the tag in the footer.
Format the section and the footer
Add text shadow to the th in the second heading in the header. To do that, enclose the
th in the HTML in an em or span element and give that element a class attribute with a
value of shadow Then, create a rule set that uses a class selector shadow for that
class, and code a rule that adds shadow to the text with # as the color of the
shadow.
Experiment on your own to see if you can improve formatting. For instance, you may
want to enhance the formatting for the elements. Try to use pseudoselector such
as a:link, a:visited, a:hover for formatting the a element.
Page background
Enhance the rule set of the body, by setting the width to pixels, setting the top and
bottom margins to and the right and left margins to auto, and adding a pixel, solid
border with # as its color. Then, test the change in Chrome. Make sure the page
is centered with a border.
Add one more rule to the body that sets the background color to #fffded. Then test the
page, and note that entire window is set to the background color, not just the body.
To fix this, code a rule set for the html element that sets the background color to white.
Then, test the page Add the rule set that specifies the font family and font size for the body, the rule set
that floats the image in the header, and the rule set that clears the floating in the
section.
Add two rule sets for the header to the style sheet. The first one should set the color for
the h element in the header to # and indent it pixels. The second one should
set the font style for the h element in the header to italic and indent it pixels.
Test the HTML page in Chrome to make sure that the style sheet has been linked
properly, the image has been floated, and the headings have been formatted correctly.
If necessary, make corrections and test again.
Format the section and the footer
From now on test each change right after you make it
Add a rule set for the h elements in the section that sets the font size to and the
color to #
Add a rule set for the h elements in the section that sets the font size to
Add a rule set for just the heading that says: Our Speakers To do that, first
add an id attribute to this heading in the HTML file with the value speakers Then
create a rule set that uses an id selector #speakers for that id and set the font size to
and the color to black.
Add a rule set that italicizes any link that has the focus or has the mouse hovering over it
Add a rule set that centers the tag in the footer.
Format the section and the footer
Add text shadow to the th in the second heading in the header. To do that, enclose the
th in the HTML in an em or span element and give that element a class attribute with a
value of shadow Then, create a rule set that uses a class selector shadow for that
class, and code a rule that adds shadow to the text with # as the color of the
shadow.
Experiment on your own to see if you can improve formatting. For instance, you may
want to enhance the formatting for the
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
