me_myself
10-08-2008, 04:59 PM
I am creating a launch screen with a background image of our office. When i see the screen in IE7 it looks good but when i see it in Firefox, the text in the screen is coming out of the box - not sure what i am doing wrong. Please see the code below and tell me what i should change to make it look good in all browsers. APPRECIATE THE HELP.
Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Launch Layout</title>
<style type="text/css">
<!--
#launch_bg {
background-image:url(images1/launch_bg.gif);
background-repeat:repeat;
}
#launch_holder{
border:1px solid #dbdbdb;
margin-top:30px;
margin-bottom:30px;
width:632px;
height:512px;
position:relative;
left:50%;
margin-left:-316px;
background-image:url(layout_bg.gif);
background-repeat:no-repeat;
background-color:#FFFFFF;
}
#launch_content{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
width:340px;
margin-left:2px;
}
-->
</style>
</head>
<body id="launch_bg">
<div id="launch_holder" align="center">
<table width="632" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="212" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/spacer.gif" width="1" height="170"></td>
</tr>
<tr>
<td>Small image will come here</td>
</tr>
</table></td>
<td width="420" valign="top"><table id="launch_content" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/spacer.gif" width="1" height="120"></td>
</tr>
<tr>
<td align="left" valign="top"><strong>Welcome Message and some sample content in this place to be filled</strong></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
Background Image (layout_bg.gif):
http://www.lollygarden.com/layout_bg.gif
To download the html + image:
Download the HTML & IMAGE in ZIP FILE (http://www.lollygarden.com/layout.zip)
Thanks a million in advance.
Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Launch Layout</title>
<style type="text/css">
<!--
#launch_bg {
background-image:url(images1/launch_bg.gif);
background-repeat:repeat;
}
#launch_holder{
border:1px solid #dbdbdb;
margin-top:30px;
margin-bottom:30px;
width:632px;
height:512px;
position:relative;
left:50%;
margin-left:-316px;
background-image:url(layout_bg.gif);
background-repeat:no-repeat;
background-color:#FFFFFF;
}
#launch_content{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
width:340px;
margin-left:2px;
}
-->
</style>
</head>
<body id="launch_bg">
<div id="launch_holder" align="center">
<table width="632" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="212" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/spacer.gif" width="1" height="170"></td>
</tr>
<tr>
<td>Small image will come here</td>
</tr>
</table></td>
<td width="420" valign="top"><table id="launch_content" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/spacer.gif" width="1" height="120"></td>
</tr>
<tr>
<td align="left" valign="top"><strong>Welcome Message and some sample content in this place to be filled</strong></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
Background Image (layout_bg.gif):
http://www.lollygarden.com/layout_bg.gif
To download the html + image:
Download the HTML & IMAGE in ZIP FILE (http://www.lollygarden.com/layout.zip)
Thanks a million in advance.