s.g.d
06-27-2006, 07:36 PM
can anyone suggest a simple method for vertically centering my splash page? i've tried several different methods, but nothing seems to be working.
link is here:
http://www.westnetsolutions.com/dev/regatronics/
Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Regatronics</title>
<link href="styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="splash.css" rel="stylesheet" type="text/css" media="screen" />
<script language="javascript" type="text/javascript" src="sneaky.js"></script>
</head>
<body>
<div id="splashHead">
<img src="images/splash_logo.jpg" alt="Regatronics Splash Image" width="214" height="54" style="float:left;" />
<img src="images/splash_tagline.jpg" alt="Splash Tagline" width="214" height="54" style="float:right;" /></div>
<div id="splashImage"><img src="images/splash_image.jpg" alt="Regatronics Splash Image" style="float:left;" /></div>
<div id="contentWrap">
<div id="splashContent">
<div id="frenchBox">
<h1>Français</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin placerat mattis urna.</p>
<a href="en-home.asp" target="_parent">Entrez</a></div>
<div id="englishBox"><h1>English</h1><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin placerat mattis urna.</p>
<a href="en-home.asp" target="_parent">Enter</a></div>
</div>
<img src="images/secondnav_square.jpg" alt="lower sqaure graphic" width="8" height="8" id="square" /></div>
</body>
</html>
CSS:
/****** Regatronics Splash CSS ******/
/****** Specific Divs ******/
#splashHead{
height:60px;
voice-family: "\"}\"";
voice-family:inherit;
height:54px;
width:100%;
background:url(images/splash_tile.jpg) repeat-x;
border-top:6px solid #ababab;
border-bottom:1px solid #ed4a40;
margin:14px 0px 0px 0px;
text-align:left;
}
#splashHead img{
margin:0px;
padding:0px;
}
#splashImage{
height:100px;
width:100%;
background:#ffffff;
border-top:6px solid #ababab;
border-bottom:1px solid #ed4a40;
}
#contentWrap{
height:260px;
width:100%;
background:#ffffff;
border-bottom:1px solid #ed4a40;
text-align:left;
}
#splashContent{
width:610px;
margin:0 auto;
}
#frenchBox, #englishBox{
height:107px;
width:288px;
border:1px solid #7a7a7a;
background:url(images/homebox_tile.jpg) repeat-x;
margin:65px 0px 0px 0px;
padding:0px 0px 5px 4px;
}
#frenchBox{
float:left;
}
#englishBox{
float:right;
}
#square{
clear:both;
float:right;
margin:70px 3px 0px 0px;
}
Thank you very much,
:cool:
link is here:
http://www.westnetsolutions.com/dev/regatronics/
Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Regatronics</title>
<link href="styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="splash.css" rel="stylesheet" type="text/css" media="screen" />
<script language="javascript" type="text/javascript" src="sneaky.js"></script>
</head>
<body>
<div id="splashHead">
<img src="images/splash_logo.jpg" alt="Regatronics Splash Image" width="214" height="54" style="float:left;" />
<img src="images/splash_tagline.jpg" alt="Splash Tagline" width="214" height="54" style="float:right;" /></div>
<div id="splashImage"><img src="images/splash_image.jpg" alt="Regatronics Splash Image" style="float:left;" /></div>
<div id="contentWrap">
<div id="splashContent">
<div id="frenchBox">
<h1>Français</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin placerat mattis urna.</p>
<a href="en-home.asp" target="_parent">Entrez</a></div>
<div id="englishBox"><h1>English</h1><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin placerat mattis urna.</p>
<a href="en-home.asp" target="_parent">Enter</a></div>
</div>
<img src="images/secondnav_square.jpg" alt="lower sqaure graphic" width="8" height="8" id="square" /></div>
</body>
</html>
CSS:
/****** Regatronics Splash CSS ******/
/****** Specific Divs ******/
#splashHead{
height:60px;
voice-family: "\"}\"";
voice-family:inherit;
height:54px;
width:100%;
background:url(images/splash_tile.jpg) repeat-x;
border-top:6px solid #ababab;
border-bottom:1px solid #ed4a40;
margin:14px 0px 0px 0px;
text-align:left;
}
#splashHead img{
margin:0px;
padding:0px;
}
#splashImage{
height:100px;
width:100%;
background:#ffffff;
border-top:6px solid #ababab;
border-bottom:1px solid #ed4a40;
}
#contentWrap{
height:260px;
width:100%;
background:#ffffff;
border-bottom:1px solid #ed4a40;
text-align:left;
}
#splashContent{
width:610px;
margin:0 auto;
}
#frenchBox, #englishBox{
height:107px;
width:288px;
border:1px solid #7a7a7a;
background:url(images/homebox_tile.jpg) repeat-x;
margin:65px 0px 0px 0px;
padding:0px 0px 5px 4px;
}
#frenchBox{
float:left;
}
#englishBox{
float:right;
}
#square{
clear:both;
float:right;
margin:70px 3px 0px 0px;
}
Thank you very much,
:cool: