Problem with my website

Discussion in 'HTML & Website Design' started by onfire, Mar 27, 2007.

  1. #1
    Hi guys/girls,

    I am having a problem with my website, http://www.dietingandfitness.com.

    When you arrive on the index page everything is fine, but, when you click other articles.....

    none of the articles repeat themselves throughout the site..

    The articles in question are "epidemic called obesity" "health detox diet" "bitter melon benefits" .if im correct this is called CSS.?

    I want the navigation bar to repaeat throughout all the pages...

    Also i cant seem to get my index page to be the same size as the rest of my site:mad:

    My head feels like a burst Couch.......can anybody help me out would really appreciate it

    Kindest Regards,

    Graham.
     
    onfire, Mar 27, 2007 IP
  2. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #2
    It is due to the fix table size on your index page. The code of that table is here!!
     <table width="513" border="0" cellspacing="0">
                    <tbody><tr>
                      <th width="511" height="67" scope="col"><a href="http://track.lativio.com/hit.php?w=105852&amp;p=2&amp;s=38"><img src="images/blue500.jpg" alt="blue500" width="500" height="300"></a></th>
                    </tr>
                  </tbody></table>
    
    Code (markup):
    If you remove this table, probably it will fix your problem.

    Allthough, very good design. I liked it. ;)
     
    ketan9, Mar 27, 2007 IP
  3. onfire

    onfire Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Ketan problem solved...

    One more question if you dont mind..how do i go about having all my aricles showing on all the pages and not just the index page...

    Like..what is the procedure for doing this...i want to have my recommended products also showing on all pages......

    I have being playing around with it but im getting nowhere...

    Am i designing my website wrong...

    Thanks Kertan,

    Really Appreciate your help

    Graham
     
    onfire, Mar 27, 2007 IP
  4. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #4
    What you are looking for is a section that stays common throughout your site. In HTML, it is not feasible to do this other than using iframes, but this is not good for SEO. Your best bet would be to use php or any other programming language to do this common include!
     
    ketan9, Mar 27, 2007 IP
  5. jgjg

    jgjg Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you should use include files.

    I explain this in my free video tutorials see sig file.

    basically you create a navigation system that resides in one file and the 'include' it in all your other pages. when you want to change all the pages, just update the navigation.html file and it instantly updates all pages that include this file.

    I think the best tool here for this is Dreamweaver.

    It is easiest if you use php file extensions, but you can also do it with .html files if you modify your .htaccess file (easy to do)
     
    jgjg, Mar 29, 2007 IP