Quantcast
Channel: Adobe Community: Message List - Dreamweaver support forum
Viewing all articles
Browse latest Browse all 90058

Re: URL not working properly

$
0
0

The pink rectangles should be the background as you can see in the image I've provided.

The logo should be smaller in the left top corner.

Page 1, Page 2 and Page 3 sould be centered in a rectangle.

There should be two rectangles (to the right) with the secondary content.

The copyright should be at the bottom of the page.

 

http://lave0134.site44.com/dsn1568/tutorial%20layout/index.html

 

 

HTML code:

 

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>Layout Tutorial / page 1</title>

<link href="css/reset.css" rel="stylesheet">

<link href="css/general.css" rel="stylesheet">

 

 

</head>

 

 

 

 

 

 

<!-- ////////////////////////////////////////////////////// Masthead -->

 

 

      <header class="masthead baseline">

 

 

         <a href="index.html"> <img src="images/logo.svg" alt="company name"> <class="logo"></a>

                     <a href="index.html"> <img src="images/column.svg" alt="company name"> </a>

 

 

 

 

         <nav>

                    

                         <ul>

                                    <li> <a href="page1.html">page1 </a></li>

                              <li> <a href="page2.html">page2 </a></li>

                                    <li> <a href="page3.html">page3 </a></li>

                                                    

                              </ul>

                          

                     </nav>

 

 

      </header>

<!-- ////////////////////////////////////////////////////// Masthead -->

 

 

<div class="wrapper">

 

 

        <div class="left">

                     

                      <article>

                     

                      <h2>Page 1 </h2>

                     

                      <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>

                     

                      <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>

 

 

                    </article>

 

                    </div> <!-- left close -->

                    <div class="right">

 

                    <aside>

 

                        <div class="box">

                     

                              <h3> Secondary Content</h3>

                                             <p>Lorem Ipsum</p>

 

                  </div> <!-- right Close -->

 

                            <h3>Secondary Content</h3>

                                         <p>Lorem Ipsum</p>

 

                  </div> <!--- Right Close -->

 

<!-- /////////////////////////////////////////////////////////////////// Bottom -->

 

 

  <footer class="bottom">

 

  <footer>

    <p>@Company name. All right eserved</p>

  </footer>

 

 

 

<body>

</body>

</html>

 

 

 

CSS code:

 

@charset "UTF-8";

/* CSS Document */

 

 

html  {}

 

 

body {

             background-image:url(.../images/column.svg);

             background-size: 100%;

             font-size: 100%;

             font-family: arial, Helvetica, sans-serif;

             line-height: 1,5 rem;

}

 

 

 

 

img  {

          width: 100%;

}

 

 

.baseline {

              background-image: url(.../images/baseline.svg);

}

 

/*--------------------------------------------------- Masthead */

 

 

.masthead {

          background-color: #666;

          height: 9rem;

}

 

 

.logo {

          width: 64px;

          position:absolute;

          left: 2%;

          top: 1rem;

}

 

 

nav ul {

          position: absolute;

          width: 100%;

          height: 3rem;

          top: 6rem;

          background-color: #888;

}

 

 

nav li {

          display: inline;

}

 

 

nav a,

nav a: link,

nav a: visited {

          display: inline-block;

          height: 3rem;

          margin: 0 2%;

          padding: .8rem 3%;

          text-transorm: uppercase;

          color: #FFF;

          text-decoration:none;

}

 

 

nav a: hover,

nav a: focus,

nav a: active {

          background-color: #666;

}

 

 

nav .selected {

          background-color: #666;

}

 

 

/*--------------------------------------------------- Content */

 

 

.wrapper {

          background-color: #CCC;

          overflow: hidden;

}

 

 

.left {

          width: 65.25%;

          float: left;

 

}

 

 

.right {

          width: 34.75%;

          float: right;

}

 

 

article {

          background-color: #FFF;

          padding: 1.5rem 3%;

}

 

 

article h2 {

          font-size: 1,5rem;

          margin-bottom:1,5rem;

}

 

 

article p {

          margin-bottom;

}

 

 

article p: last-child {

          margin-bottom: 0;

}

 

aside {

          padding: 1.5rem 6%;

}

 

 

.box {

          background-color: #FFF;

          padding: 1.5rem 6%;

          margin-bottom: 1.5rem;

}

 

 

.box h3 {

          font-size: 1.25rem;

}

 

 

 

 

/*--------------------------------------------------- Content */

 

 

Bottom {

          height: 12rem;

          background-color: #999;

          padding: 1.5rem 2%;

 

}

 

 

.bottom p {

          color: #FFF;

          font-size: .75rem;

}


Viewing all articles
Browse latest Browse all 90058


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>