View Full Version : problems with new layout


Faerie_jane
02-14-2003, 11:55 PM
two things:

one:

the main page is made up of tables and div layering...you can see it here: http://faeriejanesdollz.fateback.com

on the main frame (where the content will go....) the background continues to repeat itself...over...and over...i want it to always be one...like, stretched. How would i do that? Here is the code for the main frame:

<title>
</title>
<body bgcolor="000000">
<center>
<table width="787" border="0" cellspacing="0" cellpadding="0" height="393" background="Image10_4x2.gif">
<tr>
<td height="40">&nbsp;</td>
</tr>
<tr>
<td height="780" align="center" valign="top">
<div id="Layer1" style="position:relative; width:780px; height:390px; z-index:1; visibility: visible; overflow: auto">
<p><font color="FFFFFF">
Welcome to Faerie Roses!
Version: Christmas!! The regular layout
will return sometime around the 2nd of january!</p>
</div>
</td>
</tr>
<tr>
<td height="40">&nbsp;</td>
</tr>
</table>

</body>
</html>

second problem
when i view the layout on a larger screen, the red menu bar starts to repeat itself....how do i make it so that it only shows up once, always, no matter once?

heres the code for that page
<html>
<head>
<title>
</title>
<body background="red.gif">
</body>
</html>


thankyou

Alcy
02-15-2003, 10:00 PM
For the red background,

<html>
<head><title></title></head>
<body background="red.gif" style="background-repeat:no-repeat;">
</body>
</html>

Alcy
02-15-2003, 10:10 PM
If you're using frames, you don't really have to use tables. The page will fit itself into the frame (since you've already specified the size of the frame in the index.html). The background is "fixed" here....

<html>

<head>
<title>
</title>
<style type="text/css">
body
{
background-attachment:fixed;
}
</style>
</head>

<body bgcolor="000000" background="Image10_4x2.gif">

<div id="Layer1" style="position:relative; width:780px; height:390px; z-index:1; visibility: visible; overflow: auto">
<p>
<font color="FFFFFF">
Welcome to Faerie Roses!
Version: Christmas!! The regular layout
will return sometime around the 2nd of january!
</font>
</p>
</div>

</body>

</html>

Faerie_jane
02-15-2003, 11:37 PM
Thanks ill try that. However, that wont fix the red problem...i already tried that. It doesnt fit inside the frame right like that, and it looks really wierd.