Dolphin123
09-13-2005, 12:18 AM
Hej Hej,
Here we go, I am adding my portfolio to my website, I am redefining some parameters. Long live css. And as usual running into some bugs.
I have a link menu which I want to place from the top to the bottom of the screen. However having done that: It aligns with a bunch of space between the "maincontent" div en the "menu" div. Follow me so far? If you have questions just ask.
Here is the code: (which is total build up fase)
<html>
<head>
<title>Company name</title>
<meta name="distribution" content="Global" >
<meta name="description" CONTENT="....">
<meta http-equiv="Content-Type" content="text/html;">
<link href="/main_portfolio.css" rel="stylesheet" type="text/css">
<link href="/portfolio_show.css" rel="stylesheet" type="text/css">
</head>
<table><tr><td>
<div id="leftheader">
<div id="maincontent"><div id="background"><h3><img src="images/portfolio/Company_name_Final.jpg" width="720" height="520" border="0">
</h5></div></div></div><div id="menu"><a href="index.php">Welkom</a><a href="producten.php">Producten</a><a href="opleiding.php">Opleiding</a><a href="portfolio.php">Portfolio</a><a href="contact.php">Contact</a></div><div id="menu"></div></td></tr></table>
</BODY>
</HTML>
body {
font-family: verdana, arial, helvetica, sans-serif;
}
table {height: 100%; width: 100%; }
td {vertical-align: middle; text-align: center;}
#leftheader {
margin-left:0;margin-right: 0;
margin-top:top;
margin-bottom:bottom;
width:100%; height:97%;
}
#maincontent {
margin-left: 236px;width:100%; height:97%;
text-align: left;
}
#background {
width: 76%;
height:100%;
margin: 0;
background-color: #ED8404;
filter:alpha(opacity=85);
-moz-opacity:0.85;
opacity: 0.85;
}
#menu {
margin-top: 0px;
border:solid 4px white;
}
h3 {
font-size: 100%;
color: #330000;
font-weight: bold;
padding-top: 30px;
padding-left: 30px;
padding-bottom: 0px;
}
h5 {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
color: #330000;
font-weight: bold;
text-decoration: none;
font-weight: normal;
text-align: left;
padding-top: 0px;
padding-left: 30px;
padding-right: 30px;}
a:link {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
color: #330000;
font-weight: bold;
text-decoration: none;
padding-left: 36px;
padding-right: 36px;
padding-top: 0px;
}
a:visited {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
font-weight: bold;
color: #330000;
text-decoration: none;
padding-left: 36px;
padding-right: 36px;
padding-top: 0px;}
a:hover {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
font-weight: bold;
color: #330000;
text-decoration: underline;
padding-left: 36px;
padding-right: 36px;
padding-top: 0px; }
a:active {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
font-weight: bold;
color: #330000;
text-decoration: none;
padding-left: 36px;;
padding-right: 36px;
padding-top: 0px;}
Have tried different solutions. Any help would be appreciated.
Here we go, I am adding my portfolio to my website, I am redefining some parameters. Long live css. And as usual running into some bugs.
I have a link menu which I want to place from the top to the bottom of the screen. However having done that: It aligns with a bunch of space between the "maincontent" div en the "menu" div. Follow me so far? If you have questions just ask.
Here is the code: (which is total build up fase)
<html>
<head>
<title>Company name</title>
<meta name="distribution" content="Global" >
<meta name="description" CONTENT="....">
<meta http-equiv="Content-Type" content="text/html;">
<link href="/main_portfolio.css" rel="stylesheet" type="text/css">
<link href="/portfolio_show.css" rel="stylesheet" type="text/css">
</head>
<table><tr><td>
<div id="leftheader">
<div id="maincontent"><div id="background"><h3><img src="images/portfolio/Company_name_Final.jpg" width="720" height="520" border="0">
</h5></div></div></div><div id="menu"><a href="index.php">Welkom</a><a href="producten.php">Producten</a><a href="opleiding.php">Opleiding</a><a href="portfolio.php">Portfolio</a><a href="contact.php">Contact</a></div><div id="menu"></div></td></tr></table>
</BODY>
</HTML>
body {
font-family: verdana, arial, helvetica, sans-serif;
}
table {height: 100%; width: 100%; }
td {vertical-align: middle; text-align: center;}
#leftheader {
margin-left:0;margin-right: 0;
margin-top:top;
margin-bottom:bottom;
width:100%; height:97%;
}
#maincontent {
margin-left: 236px;width:100%; height:97%;
text-align: left;
}
#background {
width: 76%;
height:100%;
margin: 0;
background-color: #ED8404;
filter:alpha(opacity=85);
-moz-opacity:0.85;
opacity: 0.85;
}
#menu {
margin-top: 0px;
border:solid 4px white;
}
h3 {
font-size: 100%;
color: #330000;
font-weight: bold;
padding-top: 30px;
padding-left: 30px;
padding-bottom: 0px;
}
h5 {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
color: #330000;
font-weight: bold;
text-decoration: none;
font-weight: normal;
text-align: left;
padding-top: 0px;
padding-left: 30px;
padding-right: 30px;}
a:link {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
color: #330000;
font-weight: bold;
text-decoration: none;
padding-left: 36px;
padding-right: 36px;
padding-top: 0px;
}
a:visited {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
font-weight: bold;
color: #330000;
text-decoration: none;
padding-left: 36px;
padding-right: 36px;
padding-top: 0px;}
a:hover {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
font-weight: bold;
color: #330000;
text-decoration: underline;
padding-left: 36px;
padding-right: 36px;
padding-top: 0px; }
a:active {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%;
font-weight: bold;
color: #330000;
text-decoration: none;
padding-left: 36px;;
padding-right: 36px;
padding-top: 0px;}
Have tried different solutions. Any help would be appreciated.