awesome thank you. i love your icon, the comic book simpsons guy LOL. 
well, im getting closer if you see at this page
http://derekvanderven.com/websites.html
but the alignment is still messed up, and the captions arent inside their divs.
it was all centered before i messed with it, but after you told me about the dtd i realized i was doing it wrong and had to redo it. any more help greatly appreciated if you have the time. or at a later time if you can. thank you. derek
here is the new code
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--[if lt IE 7]>
<link href="../iefixes.css" rel="stylesheet" type="text/css" /> <![endif]-->
<style type="text/css">
body {
background-color: #333333;
margin: 0; /* clear for browsers*/
padding: 0;
}
a:link {
color: #C88A37;
}
a:visited {
color: #CC99CC;
}
a:hover {
color: #CC3366;
}
a:active {
color: #CC9999;
}
#wrapper {
margin: 100px auto 0 auto;
width: 600px;
height: 400px;
text-align:center;
}
#homelink {
margin: 0 auto 0 auto;
width: 200;
height: 50px;
text-align: center;
}
/******************************************************************************************************/
/*****************************************************************************************************/
/********************IMAGE GALLERY STYLE CODE************************************************/
div.img
{
margin: 0 auto 0 auto;
border: 1px solid #C88A37;
height: 105px;
width: 135px;
text-align: center;
display: inline;
}
div.img img
{
margin: 0 auto 0 auto;
width= 135px;
height= 105px;
display: inline;
margin: 5px;
border: 1px solid #C88A37;
}
div.img a:hover img
{
border: 1px solid #C88A37;
}
div.desc
{
float: left;
margin-left: 0px;
text-align: center;
font-style: italic;
font-weight: bold;
width: 135px;
border: 5px;
color: #A98F41;
}
#img_container {
margin: 0 auto 0 auto;
width: 600px;
height: 400px;
}
#header {
margin: 0 auto 50px auto;
width: 600px;
height: 100px;
text-align: center;
font-size: x-large;
color: #B59760;
font-family: "Times New Roman", Times, serif;
}
#header h5
{
font-size: x-large;
color: #811A07;
}
.style7 {font-size: 18px}
</style>
<meta name="keywords" content="paintings drawings art fine art prints">
<meta name="description" content="Derek Van Derven Paintings drawings and website design.">
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body >
<div id="wrapper">
<div id="img_container">
<div id="header">
<h5> This is my website portfolio:<br></br></h5>
<span class="style7">these pages were hand coded in HTML and CSS without tables.
(note: the images may load slow due to my server not due to the image sizes.</span>
</div>
<div class="img">
<a target="_blank" href="http://derekvanderven.com/new_doctor_site/home.html">
<img src="doctor_thumb.jpg" width="133"
height="100" border="0"/> </a>
<div class="desc">Dr. Alexander site</div>
</div>
<div class="img"><a target="_blank" href="http://derekvanderven.com/new_geek_help/home.html">
<img src="geek_help_thumb.gif" width="133" height="104" border="0"/></a>
<div class="desc">Geek Help site</div>
</div>
<div class="img">
<a target="_blank" href="http://derekvanderven.com/flower_events/home.html">
<img src="flower_events_thumb.gif" width="133"
height="100" border="0"/> </a>
<div class="desc">Flower Events site</div>
</div>
</div>
<!-- end img_container-->
<div id="homelink"><a href="http://derekvanderven.com/tmp/tom/mainsite.html">Entry Page</a></div>
</div> <!-- END WRAPPER CODE-->
<!-- Start of StatCounter Code -->
<script type="text/javascript">
sc_project=3569481;
sc_invisible=1;
sc_partition=39;
sc_security="7e526e75";
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script>
<p align="center"><a href="http://derekvanderven.com"></a>
<noscript><div class="statcounter"><a title="free hit counter" href="http://www.statcounter.com/free_hit_counter.html" target="_blank"><img class="statcounter" src="http://c40.statcounter.com/3569481/0/7e526e75/1/" alt="free hit counter" ></a></img></div></noscript>
<!-- End of StatCounter Code -->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-4025495-1";
urchinTracker();
</script>
</body></html>
and i am not using iefixes2.css anymore.
Last edited by silverglade; 01-21-2009 at 04:54 PM..
|