I'm using a CSS grid to display a table of numeric data. In a given column, I'd like all of the numeric data to be right aligned but centered within the space allocated for the column. In other words, it should look something like this.
I want the Price and Discount columns to have the same width and the prices to be right aligned to each other and then centered in the column.
This is my first attempt and the result.
HTML
<div class="product-table">
<div class="first-column">Item</div>
<div class="middle-column">Price</div>
<div class="last-column">Discount</div>
<div class="first-column">Widget A</div>
<div class="middle-column">2.00</div>
<div class="last-column">0.50</div>
<div class="first-column">Widget B</div>
<div class="middle-column">2,000.00</div>
<div class="last-column">2.50</div>
<div class="first-column">Widget C</div>
<div class="middle-column">3,000,000.00</div>
<div class="last-column">3,000.00</div>
</div>
CSS
.product-table {
display: grid;
grid-template-columns: 20% 1fr 1fr;
}
.first-column {
background-color: lightcyan;
}
.middle-column {
text-align: center;
background-color: lightsalmon;
}
.last-column {
text-align: right;
background-color: lightblue;
}
The columns are sized like I want them but the numbers are not aligned correctly.
My next attempt was to use auto for the column size and empty divs to pad out the column.
HTML.
<div class="product-table">
<div class="first-column">Item</div>
<div></div><div class="middle-column-title">Price</div><div></div>
<div class="last-column">Discount</div>
<div class="first-column">Widget A</div>
<div></div><div class="middle-column">2.00</div><div></div>
<div class="last-column">0.50</div>
<div class="first-column">Widget B</div>
<div></div><div class="middle-column">2,000.00</div><div></div>
<div class="last-column">2.50</div>
<div class="first-column">Widget C</div>
<div></div><div class="middle-column">3,000,000.00</div><div></div>
<div class="last-column">3,000.00</div>
</div>
CSS
.product-table {
display: grid;
grid-template-columns: 20% 0.4fr auto 0.4fr 1fr;
}
.first-column {
background-color: lightcyan;
}
.middle-column-title {
text-align: center;
background-color: lightsalmon;
}
.middle-column {
text-align: right;
background-color: lightsalmon;
}
.last-column {
text-align: right;
background-color: lightblue;
}
This results in something pretty close to what I want, but the column width is 0.4fr + 0.4fr + price column width. What I really want is to be able to specify the total width of the spacer divs and price so that I can make the Price and Discount columns the same width.
Is there a way to achieve this?
A table might be better for your needs (and accessibility).
This might be what you are looking for:
HTML:
<table class="product-table">
<thead>
<th class="f-head">Item</th>
<th class="m-head">Price</th>
<th class="l-head">Discount</th>
</thead>
<tr>
<td class="first-column">Widget A</td>
<td class="middle-column">2.00</td>
<td class="last-column">0.50</td>
</tr>
<tr>
<td class="first-column">Widget B</td>
<td class="middle-column">2,000.00</td>
<td class="last-column">2.50</td>
</tr>
<tr>
<td class="first-column">Widget C</td>
<td class="middle-column">3,000,000.00</td>
<td class="last-column">3,000.00</td>
</tr>
</table>
CSS:
.product-table {
width: 100%;
table-layout: fixed;
border-spacing: 0;
}
.product-table > th {
text-align: center;
}
.first-column {
background-color: lightcyan;
}
.f-head {
background-color: lightcyan;
width: 20%;
}
.middle-column {
text-align: right;
background-color: lightsalmon;
}
.m-head {
width: 20%;
background-color: lightsalmon;
}
.last-column {
text-align: right;
background-color: lightblue;
}
.l-head {
background-color: lightblue;
}
With table-layout as fixed, the column width is defined by each th widths. Every non-specified 'th' width will be auto.
But... in case you insist on that structure, in spite of everything else:
HTML:
<body>
<div class="product-table">
<div id="f-column">
<div><div class="head">Item</div></div>
<div class="cell">Widget A</div>
<div class="cell">Widget B</div>
<div class="cell">Widget C</div>
</div>
<div id="m-column">
<div class="head m-head">Price</div>
<div class="m-column-numbers">
<div class="cell"><div class="m-cell">2.00</div></div>
<div class="cell"><div class="m-cell">2,000.00</div></div>
<div class="cell"><div class="m-cell">3,000,000.00</div></div>
</div>
</div>
<div id="l-column">
<div class="head">Discount</div>
<div class="cell">0.50</div>
<div class="cell">2.50</div>
<div class="cell">3,000.00</div>
</div>
</div>
</body>
CSS:
body {
margin: 0;
padding: 16px;
}
.product-table {
display: flex;
width: 100%;
}
.head {
font-weight: bold;
}
.m-head {
text-align: center;
}
#f-column {
background: lightcyan;
flex: 1;
}
#m-column {
background: lightsalmon;
flex: 1 0 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.m-column-numbers {
width: max-content;
}
#l-column {
background: lightblue;
flex: 1 0 30%;
text-align: right;
}
.cell {
width: 100%;
}
.m-cell {
text-align: right;
}
This provides the structure, but it will complicate the dynamic population of data and it has no accessibility at all.
I want to see effect like on screenshot below:
This is my code is at the moment:
table {
border-collapse: collapse;
}
table tr td {
border-bottom: 1px solid #000;
}
I can't figure out how not to underline content of TD but blank space only.
I would use flexbox for this, if that is ok with your browser compatibility.
<html>
<table>
<tr>
<td>
<div class="holder">
<div class="label">FooBar</div>
<div class="divider">
</div>
<div class="money">$1,000</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="holder">
<div class="label">FooBarFooBarFooBarFooBar</div>
<div class="divider">
</div>
<div class="money">$1,000</div>
</div>
</td>
</tr>
</table>
</html>
style:
.divider {
border-bottom: 1px solid black;
flex-grow: 1;
}
.holder {
display: flex;
flex-direction: row;
flex-wrap: no-wrap;
width: 500px;
justify-content: stretch;
}
.label, .money {
flex-grow: 0;
flex-basis: auto;
}
https://jsfiddle.net/pkyv8n5o/1/
I am just starting out wit html5 and CSS. I can't seem to get my first heading under the top logo and the middle image centered and under the heading. Basically I want to know how to space elements in order.
Here is my screenshot and the code below:
screenshot
body {
text-align: center;
background-color: white;
color: black;
}
#logo {
align: left;
}
#tagline {
text-align: left;
color: black;
font-family: arial;
}
#car {
align: center;
}
table {
text-align: center;
}
#p01 {
color: black;
font-size: 24;
line-height: 10%
}
#p02 {
color: blue;
font-size: 24;
line-height: 25px;
}
#h102 {
color: green;
font-family: arial;
}
<div id="logo">
<img src="auto.png" alt="autologo" width="200" align="left" />
</div>
<div id="tagline">
<h3><em>Explore the world's supercars</em>
<h3>
</div>
<div id="car">
<img src="aventador-coupe-facebook-og.jpg" alt="lambo" width="700" border="5px" />
</div>
<p id="p01">Here is a picture of the Lamborghini Aventador</p>
<p id="p02">The Lamborghini flagship model</p>
<table cellspacing="0" cellpadding="4" border="4" align="center">
<tr>
<td>aventador</td>
<td>huracan</td>
<td>centenario</td>
</tr>
<tr>
<td>asterion</td>
<td>esoque</td>
<td>murcielago</td>
</tr>
<tr>
<td>gallardo</td>
<td>diablo</td>
<td>countach</td>
</tr>
</table>
<h1 id="h102">FIND YOUR LUXURY CAR TODAY</h1>
You use a lot of invalid CSS properties and HTML attributes. I commented out what needs to be fixed. Removing some of the invalid markup sort of fixed itself. Hope this helps.
Run the snippet below and make full page to see results
<html>
<head>
<title>My Car Website</title>
<!-- Start of internal style sheet -->
<style type="text/css">
body {
text-align: center;
background-color: white;
color: black;
}
#logo {
margin: auto;
/* align: left; not a valid property */
}
#tagline {
text-align: center; /* centered text */
color: black;
font-family: arial;
}
#car {
/* align: center; not a valid property */
}
table {
text-align: center;
}
#p01 {
color: black;
font-size: 24;
line-height: 10%
}
#p02 {
color: blue;
font-size: 24;
line-height: 25px;
}
#h102 {
color: green;
font-family: arial;
}
</style>
<!-- End of internal style sheet -->
</head>
<body>
<div id="logo">
<img src="http://i.imgur.com/jUinHhf.png" alt="autologo" /> <!-- removed invalid attributes -->
</div>
<div id="tagline">
<h3><em>Explore the world's supercars</em></h3>
</div>
<div id="car">
<img src="http://i.imgur.com/lfAFZaA.png" alt="lambo" width="700" border="5px" />
</div>
<p id="p01">Here is a picture of the Lamborghini Aventador</p>
<p id="p02">The Lamborghini flagship model</p>
<table cellspacing="0" cellpadding="4" border="4" align="center">
<tr>
<td>aventador</td>
<td>huracan</td>
<td>centenario</td>
</tr>
<tr>
<td>asterion</td>
<td>esoque</td>
<td>murcielago</td>
</tr>
<tr>
<td>gallardo</td>
<td>diablo</td>
<td>countach</td>
</tr>
</table>
<h1 id="h102">FIND YOUR LUXURY CAR TODAY</h1>
</body>
</html>
Hi,
I am trying to replace my table with divs and CSS but I cant figure out a way to mimic the rowspan attribute. This is my original code:
<table>
<tr>
<td>some content</td>
<td>some more content</td>
<td rowspan="2">THIS is A COLUMN</td>
</tr>
<tr>
<td colspan="2">SINGLE CELL ROW</td>
</tr>
</table>
With CSS:
<header>
<section>
<div>some content</div>
<div>some more content</div>
<div rowspan="2">THIS is A COLUMN</div>
</section>
<section>
<div>SINGLE CELL ROW</div>
</section>
</header>
header {display:table;}
section {display:table-row;}
div {display:table-cell;}
but it wont work because the div at the bottom will not go all the way below the rowspanned div as expected. Is there any CSS solution for this?
Thank you.
This is NOT A DUPLICATE. Im asking for ROWSPAN not colspan only.
You can achieve what you want, by changing your HTML markup a bit and using Flexbox
*,
*::before,
*::after {
box-sizing: border-box
}
body {
margin: 0
}
table {
width: 100%;
border-collapse: collapse
}
td {
border: 1px red solid
}
header {
display: flex
}
section {
flex: 1;
font-size: 0;
}
section > div {
border: 1px solid green;
font-size: 16px
}
section:first-of-type div {
border-right: 0
}
section:first-of-type div:not(:last-of-type) {
width: 50%;
display: inline-flex;
border-bottom: 0;
}
section:last-of-type div {
height: 100%;
align-items: center;
display: flex
}
<h2>TABLE</h2>
<table>
<tr>
<td>some content</td>
<td>some more content</td>
<td rowspan="2">THIS is A COLUMN</td>
</tr>
<tr>
<td colspan="2">SINGLE CELL ROW</td>
</tr>
</table>
<br />
<hr />
<h2>DIV</h2>
<header>
<section>
<div>some content</div>
<div>some more content</div>
<div>SINGLE CELL ROW</div>
</section>
<section>
<div>THIS is A COLUMN</div>
</section>
</header>
To do that table in flexbox, you could wrap each part that forms a row or a column
<div>
<div>
<div>
<div>some content</div>
<div>some more content</div>
</div>
<div>THIS is A COLUMN</div>
</div>
<div>SINGLE CELL ROW</div>
</div>
Then you can build nowrap rows and columns with flexbox to resemble your table
body div { border: 1px solid #999; margin: 0; }
body > div { display: flex; flex-flow: row nowrap; margin-top: 10px; }
body > div > div { display: flex; flex-flow: column nowrap; flex: 1 1 0; }
body > div > div > div { display: flex; flex-flow: row nowrap; flex: 1 1 1;}
body > div > div > div > div { flex: 1 1 0; }
Plunker: http://plnkr.co/edit/oo5UrUMgI85myujt5L6s?p=preview
.parent{
display: flex;
align-items: center;
width: 100%;
}
.child{
display: flex;
flex-direction: column;
border: 1px solid #444;
}
.row{
display: flex;
}
<div class="parent">
<div class="child">
<div class="row">
<div>some content</div>
<div>some more content</div>
</div>
<div class="row">
<div>SINGLE CELL ROW</div>
</div>
</div>
<div class="child">
<div class="row">
<div>THIS is A COLUMN</div>
</div>
</div>
</div>
Hope this is what you are looking for
It is my first time putting together a website and I was hoping some of you might be able to help me as there seems to be a wealth of knowledge here. I am having the hardest time trying to have the navigation bar stretch across the length of the webpage. Additionally, there is a space between the photo header and the navigation bar which I'd like to get rid of. I have made it white for now, but when i hover, you can see the white space.
I included all the code (I'm sorry if it's overwhelming, but I'm not sure what's important and what's not as I am adapting it from the current code of a user who is no longer with my lab) and I would appreciate all the help I can get.
Thank you so much!
UPDATE: I have made a js fiddle as chandan suggested
http://jsfiddle.net/amchen/rzdmytqz/
I was hoping to make a website similar to the one as the tutorial I looked at:
https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
The picture above is what I am seeing when I do a test webpage.
I hope this gives you a better idea of what I am looking for in terms of design.
THANK YOU!
<style type="text/css">
<!--
#content {
background-color: #FFFFFF;
width: 100%;
height: 100%;
margin: 0 auto;
min-height: 100%;
height: auto;
}
a {
text-decoration: none;
}
#wrapper {
background-color: #FFFFFF;
width: 1400px;
min height: 100%;
position: relative;
height: 100%;
margin: 0 auto;
}
#content-spacer-top {
height: 150px;
}
#content-spacer-bottom{
height:30px;
}
#header {
background-color: #357f7f;
height: 2%;
width: 100%;
}
#mainnav a {
display: block;
width: 12%;
float: left;
text-align: center;
background-color: #FFFFFF;
color: #357F7F;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
padding-left: 0px;
border-top-color: #F0F0F0;
border-right-color: #F0F0F0;
border-bottom-color: #F0F0F0;
border-left-color: #F0F0F0;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
word-spacing: normal;
}
#mainnav a:hover,#mainnav a:active,#mainnav a:focus {
color: #FFFFFF;
text-decoration: none;
background-color: #357F7F;
}
a:visited {
color: #FFFFFF;
background-color: #357F7F;
}
#footer {
width:100%;
height:6%;
background color:#357f7f
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style6 {font-size: 12px}
-->
</style>
</head>
<body bgcolor="#CCCCCC" text="#000000" leftmargin="10%" topmargin="0" rightmargin="10%" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/indexfigures/surfover.jpg','images/indexfigures/3over.jpg' ,'images/indexfigures/4over.jpg','images/indexfigures/5over.jpg')" font>
<div id="wrapper">
<div id="header"></div>
<nav id="mainnav">
<img src="images/NewTitle copy.jpg" align="middle">
<ul style="list-style: none;">
<li>HOME</li>
<li>RESEARCH</li>
<li>SUSAN TAYLOR</li>
<li>LAB MEMBERS</li>
<li>PUBLICATIONS</li>
<li>LINKS</li>
<li>CONTACT US</li>
<li>REAGENT REQUESTS</li>
</ul>
</nav>
<div id= "content" align="center">
<br>
<div id="content-spacer-top"> </div>
<div id="content-inner">
<!-- TemplateBeginEditable name="EditRegion3" -->
<table width="75%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr valign="top" bgcolor="#FFFFFF">
<td width="20%" height="113" align="center"><a href="javascript:openWindow('Figurepanes/PKAfigure.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image14','','images/indexfigures/1over.jpg',1)"><img src="images/indexfigures/1out.jpg" name="Image14" width="113" height="113" border="0"></a> </td>
<td width="16%" align="center">
<a href="javascript:openWindow('Figurepanes/surface.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image15','','images/indexfigures/surfover.jpg',1)">
<img src="images/indexfigures/surfout.jpg" name="Image15" width="91" height="113" border="0"></a> </td>
<td width="21%" align="center">
<a href="javascript:openWindow('Figurepanes/Rsub1.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image22','','images/indexfigures/3over.jpg',1)">
<img src="images/indexfigures/3out.jpg" name="Image22" width="161" height="113" border="0"></a> </td>
<td width="12%" align="center">
<a href="javascript:openWindow('Figurepanes/PBC.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image23','','images/indexfigures/4over.jpg',1)">
<img src="images/indexfigures/4out.jpg" name="Image23" width="95" height="113" border="0"></a> </td>
<td width="19%" align="center">
<a href="javascript:openWindow('figurepanes/local1.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image24','','images/indexfigures/5over.jpg',1)">
<img src="images/indexfigures/5out.jpg" name="Image24" width="139" height="113" border="0"></a> </td>
</tr>
</table>
<table width="75%" align="center" table id="table_text">
<tr>
<th scope="col"></th>
</tr>
</table>
<!-- TemplateEndEditable --></div>
<div id="content-space bottom"></div>
</div>
<div class="footer" id="footer">
<div align="center">
<p>content here</p>
</div>
</div>
</div>
</body>
</html>
Try setting the width in #wrapper to 100%. Also, I don't know if it matters but your whole style section looks like it's commented out. Kinda hard to see what is going on since none of your images are visible.
It's because you have your navigation inside the main wrapper and '#wrapper' width is 1400px. Take the Navigation out of the main wrapper and it will stretch 100%;
<head>
<style type="text/css">
<!--
#content {
background-color: #FFFFFF;
width: 100%;
height: 100%;
margin: 0 auto;
min-height: 100%;
height: auto;
}
a {
text-decoration: none;
}
#wrapper {
background-color: #FFFFFF;
width: 1400px;
min height: 100%;
position: relative;
height: 100%;
margin: 0 auto;
}
#content-spacer-top {
height: 150px;
}
#content-spacer-bottom{
height:30px;
}
#header {
background-color: #357f7f;
height: 2%;
width: 100%;
}
#mainnav a {
display: block;
width: 12%;
float: left;
text-align: center;
background-color: #FFFFFF;
color: #357F7F;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
padding-left: 0px;
border-top-color: #F0F0F0;
border-right-color: #F0F0F0;
border-bottom-color: #F0F0F0;
border-left-color: #F0F0F0;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
word-spacing: normal;
}
#mainnav a:hover,#mainnav a:active,#mainnav a:focus {
color: #FFFFFF;
text-decoration: none;
background-color: #357F7F;
}
a:visited {
color: #FFFFFF;
background-color: #357F7F;
}
#footer {
width:100%;
height:6%;
background color:#357f7f
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style6 {font-size: 12px}
-->
</style>
</head>
<body bgcolor="#CCCCCC" text="#000000" leftmargin="10%" topmargin="0" rightmargin="10%" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/indexfigures/surfover.jpg','images/indexfigures/3over.jpg' ,'images/indexfigures/4over.jpg','images/indexfigures/5over.jpg')" font>
<div id="header"></div>
<nav id="mainnav">
<img src="images/NewTitle copy.jpg" align="middle">
<ul style="list-style: none;">
<li>HOME</li>
<li>RESEARCH</li>
<li>SUSAN TAYLOR</li>
<li>LAB MEMBERS</li>
<li>PUBLICATIONS</li>
<li>LINKS</li>
<li>CONTACT US</li>
<li>REAGENT REQUESTS</li>
</ul>
</nav>
<div id="wrapper">
<div id= "content" align="center">
<br>
<div id="content-spacer-top"> </div>
<div id="content-inner">
<!-- TemplateBeginEditable name="EditRegion3" -->
<table width="75%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr valign="top" bgcolor="#FFFFFF">
<td width="20%" height="113" align="center"><a href="javascript:openWindow('Figurepanes/PKAfigure.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image14','','images/indexfigures/1over.jpg',1)"><img src="images/indexfigures/1out.jpg" name="Image14" width="113" height="113" border="0"></a> </td>
<td width="16%" align="center">
<a href="javascript:openWindow('Figurepanes/surface.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image15','','images/indexfigures/surfover.jpg',1)">
<img src="images/indexfigures/surfout.jpg" name="Image15" width="91" height="113" border="0"></a> </td>
<td width="21%" align="center">
<a href="javascript:openWindow('Figurepanes/Rsub1.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image22','','images/indexfigures/3over.jpg',1)">
<img src="images/indexfigures/3out.jpg" name="Image22" width="161" height="113" border="0"></a> </td>
<td width="12%" align="center">
<a href="javascript:openWindow('Figurepanes/PBC.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image23','','images/indexfigures/4over.jpg',1)">
<img src="images/indexfigures/4out.jpg" name="Image23" width="95" height="113" border="0"></a> </td>
<td width="19%" align="center">
<a href="javascript:openWindow('figurepanes/local1.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image24','','images/indexfigures/5over.jpg',1)">
<img src="images/indexfigures/5out.jpg" name="Image24" width="139" height="113" border="0"></a> </td>
</tr>
</table>
<table width="75%" align="center" table id="table_text">
<tr>
<th scope="col"></th>
</tr>
</table>
<!-- TemplateEndEditable --></div>
<div id="content-space bottom"></div>
</div>
<div class="footer" id="footer">
<div align="center">
<p>content here</p>
</div>
</div>
</div>
</body>
</html>
There's a few errors in your style code. Make sure you input semicolons after every style you want to implement. Also background-color should have the hyphen in between (see the #footer section in your style tag). You wont be able to expand the navbar to 100% of the screen AND have the image in the same plane unless you put both items in a . I have tried as much as I can for now. You can decrease the width of the #mainnav as you increase the size of the image. Also you need to increase the height of the header. 2% height for the header hides most of the content. I used display:inline-block to get the navbar and the image in the same plane:
<head>
<style type="text/css">
<!--
#content {
background-color: #FFFFFF;
width: 100%;
height: 100%;
margin: 0 auto;
min-height: 100%;
height: auto;
}
a {
text-decoration: none;
}
#wrapper {
background-color: #FFFFFF;
width: 1400px;
min-height: 100%;
position: relative;
height: 100%;
margin: 0 auto;
}
#content-spacer-top {
height: 150px;
}
#content-spacer-bottom{
height:30px;
}
#header {
background-color: #357f7f;
height: 100px;
width: 100%;
}
#mainnav{
height:50px;
display:inline-block;
width:1300px;
}
#mainnav img{
display:inline-block;
width:50px;
height:50px;
position:absolute;
}
#mainnav a {
display: inline-block;
width: 12%;
float:right;
text-align: center;
background-color: #FFFFFF;
color: #357F7F;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
padding-left: 0px;
border-top-color: #F0F0F0;
border-right-color: #F0F0F0;
border-bottom-color: #F0F0F0;
border-left-color: #F0F0F0;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
word-spacing: normal;
}
#mainnav a:hover,#mainnav a:active,#mainnav a:focus {
color: #FFFFFF;
text-decoration: none;
background-color: #357F7F;
}
a:visited {
color: #FFFFFF;
background-color: #357F7F;
}
#footer {
width:100%;
height:6%;
background:#357f7f;
position:absolute;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style6 {font-size: 12px}
-->
</style>
</head>
<body bgcolor="#CCCCCC" text="#000000" leftmargin="10%" topmargin="0" rightmargin="10%" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/indexfigures/surfover.jpg','images/indexfigures/3over.jpg' ,'images/indexfigures/4over.jpg','images/indexfigures/5over.jpg');">
<div id="header">
<img src="images/NewTitle copy.jpg" align="middle">
<nav id="mainnav">
<ul style="list-style: none;">
<li>HOME</li>
<li>RESEARCH</li>
<li>SUSAN TAYLOR</li>
<li>LAB MEMBERS</li>
<li>PUBLICATIONS</li>
<li>LINKS</li>
<li>CONTACT US</li>
<li>REAGENT REQUESTS</li>
</ul>
</nav>
</div>
<div id="wrapper">
<div id= "content" align="center">
<br>
<div id="content-spacer-top"> </div>
<div id="content-inner">
<!-- TemplateBeginEditable name="EditRegion3" -->
<table width="75%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr valign="top" bgcolor="#FFFFFF">
<td width="20%" height="113" align="center"><img src="images/indexfigures/1out.jpg" name="Image14" width="113" height="113" border="0"> </td>
<td width="16%" align="center">
<a href="javascript:openWindow('Figurepanes/surface.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image15','','images/indexfigures/surfover.jpg',1)">
<img src="images/indexfigures/surfout.jpg" name="Image15" width="91" height="113" border="0"></a> </td>
<td width="21%" align="center">
<a href="javascript:openWindow('Figurepanes/Rsub1.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image22','','images/indexfigures/3over.jpg',1)">
<img src="images/indexfigures/3out.jpg" name="Image22" width="161" height="113" border="0"></a> </td>
<td width="12%" align="center">
<a href="javascript:openWindow('Figurepanes/PBC.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image23','','images/indexfigures/4over.jpg',1)">
<img src="images/indexfigures/4out.jpg" name="Image23" width="95" height="113" border="0"></a> </td>
<td width="19%" align="center">
<a href="javascript:openWindow('figurepanes/local1.htm')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image24','','images/indexfigures/5over.jpg',1)">
<img src="images/indexfigures/5out.jpg" name="Image24" width="139" height="113" border="0"></a> </td>
</tr>
</table>
<table width="75%" align="center" table id="table_text">
<tr>
<th scope="col"></th>
</tr>
</table>
<!-- TemplateEndEditable --></div>
<div id="content-space bottom"></div>
</div>
</div>
<div class="footer" id="footer">
<div align="center">
<p>content here</p>
</div>
</div>