Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 08-23-2001, 04:20 PM   #1
Member (8 bit)
 
Join Date: Sep 1999
Location: Lompoc, California
Posts: 250
HTML code

In IE 5.5 my pages look fine. The four pictures with frames show horizontal as they should. In Netscape 6 they show vertical, which is wrong. What am I missing in my code to view horizontal pictures in Netscape 6'

Code:







Don's picture of Alyssum

Don's picture of the office

Don's picture of marigolds

Don's picture of strawberries



Thanks, Don

Yes, it did not show the code but this shows as it does in Netscape, wrong! There must be a horizontal code?
__________________
Tell it like it is!

Last edited by MrDon; 08-23-2001 at 04:24 PM.
MrDon is offline   Reply With Quote
Old 08-23-2001, 04:34 PM   #2
pa
Member (8 bit)
 
Join Date: Jan 2001
Posts: 162
i am running IE 5.5 and i cant c the pics
pa is offline   Reply With Quote
Old 08-23-2001, 04:48 PM   #3
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Your HTML code is entirely wrong.
Here's what you had typed:


<TABLE BORDER=2>
<br>
<tr valign="middle">
<br>
<td align="center">
<br>
<img src="walisym.jpg" ALT="Don's picture of Alyssum" WIDTH=144 HEIGHT=108
<br>

<br>
<tr valign="middle">
<br>
<td align="center">
<br>
<img src="ofcsign.jpg" ALT="Don's picture of the office" WIDTH=144 HEIGHT=108
<br>

<br>
<tr valign="middle">
<br>
<td align="center">
<br>
<img src="strawsgn.jpg" ALT="Don's picture of marigolds" WIDTH=144 HEIGHT=108
<br>

<br>
<tr valign="middle">
<br>
<td align="center">
<br>
<img src="wstrawb.jpg" ALT="Don's picture of strawberries" WIDTH=144 HEIGHT=108 BORDER=0></td></tr></TABLE>


Here are your problems:
  • You have not closed a single ROW or COLUMN
  • You got lucky that IE brought it as columns (vertically) for you, Netscape followed through your miscode correctly.
  • The reason that it came out on here as Netscape would show it is because the PHP script is there.
  • Why do you use so many <BR> ?

    You have to use </TD> and </TR> to terminate your column and row definitions resply.

    This is as it should be:



    <TABLE BORDER=2><!---- define table --->

    <tr valign="middle"><!--- define row 1---->

    <td align="center"><!--- start column 1---->
    <img src="walisym.jpg" ALT="Don's picture of Alyssum" WIDTH=144 HEIGHT=108>
    </td><!--- stop column 1---->

    <td align="center"><!--- start column 2---->
    <img src="ofcsign.jpg" ALT="Don's picture of the office" WIDTH=144 HEIGHT=108>
    </td><!--- stop column 2---->

    <td align="center"><!--- start column 3---->
    <img src="strawsgn.jpg" ALT="Don's picture of marigolds" WIDTH=144 HEIGHT=108>
    </TD><!--- stop column 3---->

    <td align="center"><!--- start column 4---->
    <img src="wstrawb.jpg" ALT="Don's picture of strawberries" WIDTH=144 HEIGHT=108 BORDER=0>
    </td><!--- stop column 4---->

    </tr><!---- stop row 1----->

    </TABLE><!-------- stop table ----->

    Here it is cleaned up to show columns.

  • Last edited by Statica; 08-23-2001 at 04:54 PM.
    Statica is offline   Reply With Quote
    Old 08-23-2001, 04:53 PM   #4
    Premium Member
     
    Statica's Avatar
     
    Join Date: Jun 1999
    Posts: 9,231
    How it looks...
















    Don's picture of Alyssum

    Don's picture of the office

    Don's picture of marigolds

    Don's picture of strawberries






    PS: Pa - the pix wont be visible here either, they're unimportant.

    Cheers
    Statica is offline   Reply With Quote
    's Is that correct? I have your code on the page now and of course it works fine in Netscape as well as IE. (not uploaded just on my hard drive).

    That was a huge help! Now I can clean up the other pages as well!

    The
    's. I didn't put them in. I do a return in my Editpad so as to see all of the code at one time and organize it as you did yours. Perhaps that is the reason they appear.

    Pa, thanks for the feed back. I have no idea why you cannot see the pictures in IE.
    Old 08-24-2001, 05:10 PM   #5
    Member (8 bit)
     
    Join Date: Sep 1999
    Location: Lompoc, California
    Posts: 250
    Statica,

    Ok,thanks for the prompt reply. I see how to do it now but basically I didn't use
    MrDon is offline   Reply With Quote
    Old 08-24-2001, 06:24 PM   #6
    Member (8 bit)
     
    Join Date: Sep 1999
    Location: Lompoc, California
    Posts: 250
    I have no idea what happened to my reply but I thank you very much. I cleaned up my code on that page and also another and it looks just great in Netscape now as well as IE. I see from what you furnished me what I was doing wrong.

    That is great of you that you took the time to help me out!

    Don
    MrDon is offline   Reply With Quote
    Reply

    Bookmarks

    Still Need Help? Type Your Keywords Here:


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is On
    Trackbacks are On
    Pingbacks are On
    Refbacks are On



    All times are GMT -5. The time now is 11:47 AM.
    Powered by vBulletin® Version 3.8.7
    Copyright ©2000 - 2012, vBulletin Solutions, Inc.
    SEO by vBSEO 3.6.0 PL2