RWDHTMLCSS.COM

Html & CSS Walkthrough

Previous Home Table of Contents Next

Table of Contents



  1. page 1
    1. Page 1 section a
    2. Page 1 section b
    3. Page 1 section c
  2. Page 2
  3. Page 3
  4. Page 4
    1. Page 4 section a
    2. Page4 section b
  5. Page 5
    1. Page 5 section a
    2. Page 5 section b
  6. Page 6
    1. Page 6 section a
    2. Page 6 section b
  7. Page 7
    1. Page 7 section a
    2. Page 7 section b
    3. Page 7 section c


<ol>
<li><a href="contents.html">page 1</a>
	    <ol>
	    <li class="linkstyle"><a href="contents.html#basic">Page 1 section a</a></li>
	    <li class="linkstyle"><a href="contents.html#meta">Page 1 section b</a></li>
	    <li class="linkstyle"><a href="contents.html#links">Page 1 section c</a></li>
	    </ol>
</li>
<li><a href="contents.html">Page 2</a></li>
<li><a href="contents.html">Page 3</a></li>
<li><a href="contents.html">Page 4</a>
	    <ol>
	    <li class="linkstyle"><a href="contents.html#def">Page 4 section a</a></li>
	    <li class="linkstyle"><a href="contents.html#syntax">Page 4 section b</a></li>
	    </ol>
</li>
<li><a href="contents.html">Page 5</a>
	    <ol>
	    <li class="linkstyle"><a href="contents.html#tags">Page 5 section a</a></li>
	    <li class="linkstyle"><a href="contents.html#tags2">Page 5 section b</a></li>
	    </ol>
</li>

<li><a href="html_head.html">Page 6</a>
	    <ol>
	    <li class="linkstyle"><a href="contents.html#head">Page 6 section a</a></li>
	    <li class="linkstyle"><a href="contents.html#head2">Page 6 section b</a></li>
	    </ol>
</li>
<li><a href="box_model.html">Page 7</a>
	    <ol>
	    <li class="linkstyle"><a href="contents.html#boxsize">Page 7 section a</a></li>
	    <li class="linkstyle"><a href="contents.html#inline">Page 7 section b</a></li>
	    <li class="linkstyle"><a href="contents.html#block">Page 7 section c</a></li>
	    </ol>
</li>
</ol>


Here is the easier style index page.

  1. page 1
  2. Page 2
  3. Page 3
  4. Page 4
  5. Page 5
  6. Page 6
  7. Page 7


<ol>
<li><a href="contents.html">page 1</a></li>
<li><a href="contents.html">Page 2</a></li>
<li><a href="contents.html">Page 3</a></li>
<li><a href="contents.html">Page 4</a></li>
<li><a href="contents.html">Page 5</a></li>
<li><a href="html_head.html">Page 6</a></li>
<li><a href="box_model.html">Page 7</a></li>
</ol>


CSS

Use this CSS for either set of HTML. I put the CSS in the header for this page. That way the special styling for the lists does not effect the lists on other pages.

<style>
ol li {
font-size:1.5rem;
}
.linkstyle {
font-size:1rem;
}
li {
line-height:1.6;
color:black;
}
article {
background-color:white;
color:black;
}
ol li a:link {
color:black;
text-decoration:none;
}
ol li a:visited {
color:black;
text-decoration:none;
}
ol li a:hover {
color:blue;
text-decoration:none;
}
ol li a:active {
color:red;
text-decoration:none;
}
h1, h2 {
color:black;
}
h3, h4, h5, h6 {
color:black;
}
@media screen and (max-width: 999px) {
ol li {
font-size:1rem;
}
.linkstyle {
font-size:1rem;
}
.paraone {
font-size:1rem;
text-align:left;
color:black;
}
}
</style>



Previous Home Table of Contents Next