SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Can someone please look at http://64.177.58.201/original/index2.shtml ?

    I wish to have the news, announcements and "reviews & articles" to be aligned to the left so that it will be right next to the left section.

    What I did for that entire page was that I used SSI to call three sections, namely the top.htm, left.htm and body.htm.

    I don't know what I need to get body.htm to be right next to left.htm.

    Can someone please help ?

    Their individual pages are at http://64.177.58.201/original/top.htm, http://64.177.58.201/original/left.htm and http://64.177.58.201/original/body.htm.

    I used the following shtml file to call them:

    ------------------------------------------------------
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <table width="800" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td colspan="2"><!--#include file="top.htm" -->&nbsp;</td>
    </tr>
    <tr VALIGN="TOP" ALIGN="LEFT">
    <td ALIGN="LEFT"><!--#include file="left.htm" -->&nbsp;</td>
    <td ALIGN="LEFT"><!--#include file="body.htm" -->&nbsp;</td>
    </tr>
    </table>
    </body>
    </html>
    ------------------------------------------------------

    [Edited by Caesar on 11-13-2000 at 10:28 AM]

  2. #2
    SitePoint Wizard westmich's Avatar
    Join Date
    Mar 2000
    Location
    Muskegon, MI
    Posts
    2,328
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A noted a couple of problems that may or may not solve your dilema. 1)Your using 'html', 'head', and 'body' tags within your SSI pages. This is creating html pages within html pages. Only the main shtml document needs html, head, and body tags. 2)You have set your table width to 800 pixels which does not take the vertical scroll bar into account. If you want your page to fit into 800x600 resolution, set the table to 760.
    Westmich
    Smart Web Solutions for Smart Clients
    http://www.mindscapecreative.com

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Caesar...while I use includes extensively, it makes no sense to chop portions of your site into pieces when they are right next to each other in the code.

    I would recommend putting top and left in the same file...then you a) only have to call it once, and b) you only have to edit it once.

    Body is safe in it's own file although you could avoid that too by making the file you are working on be the "body".

    example.

    news_one.html

    this contains a news story.

    it calls in "header.html" (which is a combination of top and left) and contains the story in its <body bgcolor="#ffffff" text="#000000" id=all> tag.

    include header.html

    text goes here...blah blah blah

    include footer.html
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  4. #4
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi people,

    I've tried what creole says and used the following index.shtml file to include them.

    ------------------------------------------

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <table width="760" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><!--#include file="header.htm" -->&nbsp;</td>
    <td><!--#include file="body1.htm" -->&nbsp;</td>
    </tr>
    </table>
    </body>
    </html>

    ------------------------------------------

    I know that with this code, header.htm and body1.htm should be right next to each other as expected and which is what I got.

    Question is what should I change so that the news, announcements, "reviews & articles" will be right next to the bottom left section where the email login is.

    You can view header.htm and body1.htm by going to http://64.177.58.201/original/header.htm and http://64.177.58.201/original/body1.htm respectively.

    Someone pls help ! Thanks !

  5. #5
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need urgent help pls !!

  6. #6
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ceasar...I think that you are missing the point of includes...they exist to make life easier for you...not more complicated...and you are trying to make it more complicated.

    Check out http://www.oursmallgroup.com. The entire top table from the very top of the page to the bottom of the navigation graphics is one table...in an included file.

    At the very bottom of the page is the footer...in it's own table...in an included file.

    It appears that the ony thing contained in your "header" file is the logo....and the ony thing in your body file are some graphics. You are sort of missing the point, Put everything from the HTML tag to the top row of your table in the header...

    as for the alignment of the news, etc... image, then just use valign="bottom" in your table cell and that will align those image to the bottom left. Is that what you mean?
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  7. #7
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it fixed. Thanks anyway, Creole !

  8. #8
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great...
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •