Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    2
    Member #
    16309
    Hi,

    I need to put this website online in 36 hours basically and need some help with the side menu, where it says home, nature of his claim, exordium and so on...
    I would like to add some more menu's, but when I add a new row in the table, it looks different and I cant get the text to be in the middle of the row like the others, even when I press the centre buttons.
    I made the site from a template and made in in dreamweaver.
    Also the CSS carries on in another site I make, so if I change the colour of the roll over background, it changes it in both sites.
    Could somebody please help me?
    Thanks

    Heres the source code

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- DW6 -->
    <head>
    <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
    <title>Home Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" href="../template1/mm_health_nutr.css" type="text/css" />
    <script language="JavaScript" type="text/javascript">
    //--------------- LOCALIZEABLE GLOBALS ---------------
    var d=new Date();
    var monthname=new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","December");
    //Ensure correct for language. English is "January 1, 2004"
    var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();
    //--------------- END LOCALIZEABLE ---------------
    </script>
    <style type="text/css">
    <!--
    .style2 {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    color: #333333;
    }
    .style3 {color: #356D64}
    .style4 {font-family: "Times New Roman", Times, serif}
    body {
    background-color: #FFFFFF;
    }
    body,td,th {
    color: #333333;
    }
    -->
    </style>
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">


    <tr bgcolor="#D5EDB3">
    <td colspan="3" bgcolor="#FFFFFF"><img src="../template1/site_banner.png.jpg" width="820" height="168" /></td>
    <td height="122" colspan="2" align="center" valign="top" bgcolor="#FFFFFF" id="tagline">&nbsp;</td>
    </tr>

    <tr>
    <td height="29" colspan="5" bgcolor="#AFC7BD"><img src="../template1/mm_spacer.gif" alt="" width="1" height="2" border="0" />
    <!-- #BeginDate format:Am1 -->January 7, 2008<!-- #EndDate --></td>
    </tr>



    <tr>
    <td colspan="5"><img src="../template1/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
    </tr>

    <tr>
    <td width="165" valign="top" bgcolor="#CCCCCC">
    <table width="165" height="319" border="0" cellpadding="0" cellspacing="0" id="navigation">
    <tr>
    <td width="165">&nbsp;<br />
    &nbsp;<br /></td>
    </tr>
    <tr>
    <td width="165"><a href="javascript:;" class="navText style2">Home</a></td>
    </tr>
    <tr>
    <td width="165"><a href="Nature of his claim.html" class="navText">Nature of his claim </a></td>
    </tr>
    <tr>
    <td width="165"><a href="Exordium.html">Exordium</a></td>
    </tr>
    <tr></tr>
    <tr>
    <td width="165"><a href="His teachings.html">His teachings </a></td>
    </tr>
    <tr></tr>

    <tr>
    <td width="165"><a href="Links.html">Links</a></td>
    </tr>
    <tr></tr>
    <tr></tr>
    </table>
    <br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<img src="../template1/bookstores.jpg" width="140" height="486" /><br /> </td>
    <td width="50"><img src="../template1/mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
    <td width="619" valign="top"><img src="../template1/mm_spacer.gif" alt="" width="305" height="1" border="0" /><br />
    &nbsp;<br />
    &nbsp;<br />
    <table width="616" height="670" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="616" class="pageName style3 style4">WELCOME TO MEHDI ZAND.ORG </td>
    </tr>

    <tr>
    <td height="390" class="bodyText"><p>This Home Page layout makes a great starting point for your website. Virtually all of the content is customizable, including the images, the text, and the links. You can decide whether to keep the existing graphics or swap them out for pictures of your own.</p>
    <p>The text on this page is intended to help you jumpstart your design by suggesting the sort of content you may want to include, but don't let it limit you. The same is also true for the link text - feel free to change the names of the links to better suit your particular needs. The Home Page layout can be used for multiple pages on your site, or you can choose from the Text, Catalogue, Product, or Calendar layouts as well. Don't be afraid to get creative and combine different page layouts to make your site as engaging as possible. If you have any questions about using Contribute to edit these pages, refer to the Read Me file included with the download or to the Contribute Help System. Have fun and make a great website!</p></td>
    </tr>
    <tr>
    <td height="71" class="bodyText"><span class="pageName style3 style4">News</span></td>
    </tr>
    <tr>
    <td height="183" class="bodyText"><p>Volume III of the Exordium has been scheduled for 2008 July release - more info here </p>
    <p>New Mehdi Zand site launched</p>
    <p>New Wolrd of Yaad site launched</p>
    <p>&nbsp; </p></td>
    </tr>
    </table>
    <br />
    &nbsp;<br /> </td>
    <td width="50"><img src="../template1/mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
    <td width="190" valign="top"><br />
    &nbsp;<br /></td>
    </tr>
    <tr>
    <td width="165">&nbsp;</td>
    <td width="50">&nbsp;</td>
    <td width="619"><a href="Contact mehdi zand.html">Contact Us </a></td>
    <td width="50">&nbsp;</td>
    <td width="190">&nbsp;</td>
    </tr>
    </table>
    </body>
    </html>

    and heres the css file

    The only images are the banner and the link under the nav menu
    Sorry if this is cheeky or rude, but I need help.
    Thanks again

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    I tried viewing the attachment but it failed.

    1. Some of your filenames are invalid - your 'nature of the claims.html' cannot contain spaces.
    2. You could create a new .css file with the same rules, so the second website points to that and keeps its design, then edit the first css file for the changes to appear in the first website.
    3: In the class 'navText' there will probably be the line text-align: center;

  4. #3
    Junior Member
    Join Date
    Jan 2008
    Posts
    2
    Member #
    16309
    Quote Originally Posted by bfsog
    I tried viewing the attachment but it failed.

    1. Some of your filenames are invalid - your 'nature of the claims.html' cannot contain spaces.
    2. You could create a new .css file with the same rules, so the second website points to that and keeps its design, then edit the first css file for the changes to appear in the first website.
    3: In the class 'navText' there will probably be the line text-align: center;
    Thanks bfsog.
    Ive corrected the file names and will change the css file so each site has its own.
    For the table, someone else said just add

    <tr>
    <td width="165"><a href="Links2.html">Links2</a></td>
    </tr>
    <tr></tr>
    to the code for each table. Has seemed to have worked. Ill post the final site on here to see if everything is ok for a basic site.
    Thanks

  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    That code should not instantly center text, unless your css has a style rule for TD.

    If it works though.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:03 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com