Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: Need help. Know Dreamweaver??  (Read 518 times)
« on: November 19, 2008, 05:06:14 PM »
tonguetied Offline
Newbie

View Profile
*
Posts: 3



I'm new to t35 and I'm having a small problem.

I want everthing in my site centered down the middle of a web page--and it works in Dreamweaver--but the problem I'm having is after the code is pasted into the index file I uploaded on t35.com. The table and all is where I want it, but the background image is jacked up. It's floating off to the far left and getting cut in half. I think it's probably something in the CSS Styles that is wrong, but I can't be sure. Currently I have things like 'background repeat: no-repeat' (which works) and 'background position: center' (which doesn't work, except for in Dreamweaver) in the Tag<div>/Relevant CSS(Press shift-F1 to get to the menu). Since half of the CSS Style 'stuff' is working, I wouldn't think I'm missing a file on t35. Does anyone know what I'm doing wrong??

If you have no clue what I'm talking about, just say so. Here's what the code of the index page gives me right now: tonguetied.t35.com
« Last Edit: November 19, 2008, 06:00:44 PM by tonguetied » Report to moderator   Logged

 
« Reply #1 on: November 19, 2008, 06:16:25 PM »
Vice President of Marketing
dWhite Offline
Administrator
Addict

View Profile WWW
*****
Posts: 553



What is the URL to your site?
Report to moderator   Logged

« Reply #2 on: November 19, 2008, 08:06:16 PM »
tonguetied Offline
Newbie

View Profile
*
Posts: 3



http://tonguetied.t35.com/index.htm

I did change the code from one of the CSS Properties to 'background position: center center'. Again, it changed things in Dreamweaver, but nothing changed on t35. The good thing is I managed to fix the background pic so it is no longer cut in half.

If it helps, here's the code I have:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Home</title>
<style type="text/css">
<!--
body {
   background-image: url(Qip%20-%20colored.jpg);
   background-color: #19181E;
   margin-left: 0in;
   margin-right: 0in;
}
body,td,th {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #FFFFFF;
   font-weight: bold;
}
back {
   background-attachment: fixed;
   background-color: #19181E;
   background-image: url(Qip%20-%20colored.jpg);
   background-repeat: no-repeat;
   background-position: center center;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>
<div align="center">
  <table width="592" height="697">
    <tr>
      <td colspan="7" align="center" valign="top"><p>This site is under construction</p>
      <p>Last Updated: 19-Nov-2008</p></td>
    </tr>
  </table>
</div>
</body>
</html>
« Last Edit: November 19, 2008, 08:22:20 PM by tonguetied » Report to moderator   Logged
« Reply #3 on: November 19, 2008, 08:35:26 PM »
Vice President of Marketing
dWhite Offline
Administrator
Addict

View Profile WWW
*****
Posts: 553



You need to put the background-position declaration into the body{} tags.
Report to moderator   Logged

« Reply #4 on: November 19, 2008, 09:27:39 PM »
tonguetied Offline
Newbie

View Profile
*
Posts: 3



Awesome!! Thanks! It worked. What a stupid mistake... LOL!  grin
Report to moderator   Logged
 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC