1 reply [Last post]
tarnold4's picture
Last seen: 5 years 30 weeks ago
Timezone: GMT-4
Joined: 2015-03-16
Posts: 2
Points: 4

I want to add id attributes naming the first header element to "pageheader" the second header element to "article header".
I also want to add id attributes naming my section elements "leftsection" and "rightsection". I provided the document they have to go in
right below

New Perspectives on HTML and CSS
Tutorial 3
Case Problem 2
Mountain Wheels Layout Style
Author: Adriana Turchenko
Date: 3/1/2014
Filename: mw_layout.css
Supporting Files: none
/* Layout styles */
body {
margin: 0px auto;
padding: 0px;
width: 900px;
header, footer {
margin: 0px auto;
nav {
float: left;
margin-right: 10px;
width: 150px;
#leftsection {
float: left;
margin-right: 15px;
width: 450px;
#rightsection {
float: left;
width: 200px;
#articleheader {
float: left;
width: 650px;
h1, h2 {
margin: 0px;
padding: 0px;
#articleheader h1 {
margin-bottom: 10px;
blockquote {
border: 1px solid black;
float: right;
padding: 20px;
width: 170px;
-moz-border-radius: 35px;
border-radius: 35px;
box-shadow:10px 10px 20px #000;
-webkit-box-shadow:10px 10px 20px #000;
-moz-box-shadow: 10px 10px 20px #000;
section p {
margin-top: 0px;
margin-bottom: 20px;
footer address {
border-top: 1px solid black;
clear: left;

gary.turner's picture
Last seen: 1 hour 55 min ago
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9772
Points: 3854

Content markup?

Without the html marked up content, css selectors and rule-sets are gibberish.

Show us what you have..



If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.