ThickieVickie
06-13-2004, 08:55 PM
Hiya Again! I've finally got the hang of the Frames, but I've still got a small problem....
If you look at the middle frame in http://geocities.com/AlexandriaAlcoholics, you'll notice that the text isn't centered. How do i do it? I've used the <center>...</center> tags and it's made no difference. The text seems to be aligned to the left!
You can view the source for the middle section at http://geocities.com/AlexandriaAlcoholics/middle.html
MaGiCSuN
06-13-2004, 09:29 PM
the text is centered. But becuase you used <br> tags in the middle of it it doesn't touches both sides of the table. it cuts off where it has to cut off ;)
try this as your coding for the middle frame though, you had some missing tags in it etc:
<html>
<head><title>:: Alexandria Nightlife ::</title>
<!-- Start Geocities Banner Kill --><script language="javascript">
<!--
function Kill(){
ycV="hidden"
setTimeout("Kill()", 50)}
Kill()
-->
</script><!-- End Geocities Banner Kill -->
<style type="text/css">
<!--
body{
background: url('bg.gif');
background-position: center top;
background-attachment: fixed;
scrollbar-base-color: #000000;
scrollbar-face-color: #000000;
scrollbar-track-color: #000000;
scrollbar-3dlight-color: #B02BF5;
scrollbar-highlight-color: #B02BF5;
scrollbar-shadow-color: #B02BF5;
scrollbar-arrow-color: white
}
table{
font-family: 'verdana', arial;
font-size: 12px;
color: #2B9DF5
}
.bor1{
border-style: dotted;
background-color: black;
border-color: white;
}
.bor2{
border-style: solid;
border-color: #B02BF5;
border-bottom-width: 1px;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px
}
a:link {color: #B02BF5; cursor: default}
a:visited {color: #B02BF5; cursor: default}
a:hover {color: white; cursor: default}
a:active {color: #B02BF5; cursor: default}
a{text-decoration: none}
//-->
</style>
</head>
<body>
<center><table border="1px" cellpadding="0" cellspacing="0" width="440">
<tr>
<td width="400" height="300" bgcolor="#000000" valign="top" align="center"><br>
<!--start main contents-->
<center> Welcome to the Website!<br><br>
Things are just getting updated at the moment so please be patient!
<br>
You may find some broken Links as I add/remove stuff, so please dont report it to me by Email, I already know. *lol* ^_~
<br><br>
In the meantime, join and post in the Forum!<br><br></center>
<SCRIPT LANGUAGE="Javascript" TYPE="text/javascript" SRC="http://www.tag-board.com/tagboard.js?boardname=Nightlife"></SCRIPT>
<center><table width="200" cellpadding="2" cellspacing="0" border="0">
<tr>
<td width=200 height=200 valign=top>
<iframe src="http://www.tag-board.com/my.tag?name=Nightlife" name="tag" width="200" height="200"
marginwidth="0" marginheight="0"></iframe>
<script>netscape_support();</script>
</td>
</tr>
<tr>
<td>
<a href="http://www.tag-board.com/" target="_new">Powered by TagBoard Message Board</a>
</td>
</tr>
<tr>
<td>
<form action="http://www.tag-board.com/add.tag" method="post" name="tagform" target="tag">
<input type="hidden" name="name" value="Nightlife">
Name<br>
<input name="tagname" maxlength="20"><br>
URL or Email<br>
<input name="tagurl" maxlength="100"><br>
Messages(<a href="http://www.tag-board.com/smilies/smilies.htm" onClick="return pop_up_smilies();" target="_blank"
>smilies</a>)
<br>
<textarea cols="24" rows="3" name="message" wrap></textarea><br>
<input class=button type="submit" value="TAG" onclick="return Clear_Last_Message_on_Submit();">
</form>
<script>rememberme()</SCRIPT> </center>
</td>
</tr>
</table>
<!--End contents code-->
</td></tr></table>
</body>
</html>
Love,
Mirna
brodeur
06-13-2004, 09:33 PM
and also target your frames. Right now, when you press "forum", the forum shows up in the menu frame, making it hard to read
ThickieVickie
06-13-2004, 09:45 PM
Magic Sun - Thanks for that, Unfortunately, The Text is still more to the left. Very confusing!! :(
Thanks for taking the time to work out the problem though!
:hug:
Brodeur - Yeah, i know, The Site I'm working on just now with the Frames isn't the main Site. I'm using a different URL to practice - before making changes to the Main website. Once I've figured out how to position the Text correctly, it'll be transferred to the other Website. :)
MaGiCSuN
06-13-2004, 09:50 PM
like i said, the text is centered. The reason why it isn't touching both sides of the table is becuase of the <br> tags you have in the middle of the text
Love,
Mirna
ThickieVickie
06-13-2004, 09:56 PM
I thought the <br> tags were used to skip to the next line?
I've done exactly the same in my main website - http://geocities.com/AlexandriaNightlife/home and the text is centered.
Maybe it's an error somewhere else. :crying:
I dunno.... It's double dutch to me....*lol*
:help:
Vanessa87
06-13-2004, 11:19 PM
When I just looked at the middle frame was centered...maybe you fixed it...
ThickieVickie
06-13-2004, 11:42 PM
Yeah I did .... Don't ask me how though cos I have absolutely no idea. Whatta Miracle!!! *lol* :cheer2: