Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Need help with graphics in a table

Posted on 1999-07-19
6
Medium Priority
?
132 Views
Last Modified: 2010-05-18
This is actually 2 questions in one, but the first one is the one I am having the most trouble with.

1.  If you go to http://www2.crosswinds.net/~topace/netf/index.html
you will see that at the bottom of the page, there is a table that has 4 graphics in it:  roster, history, clan relations, etc...

I have tried everything, and I cannot get those graphics to go together.  (i.e. eliminate the space between the graphics)  I have done it before, with the other navigation bar on the page (The one to the left that has main deck, netf command, etc...), but for some reason this one won't do it.  Can somone help me?

2.  I am having trouble with the javascript on those graphics as well.  They don't load the 2nd image very quickly, as you may have noticed.  Is there a way that I can get them to load more quickly, or is it just that my server is too slow?


Thanks,
Top~
0
Comment
Question by:Topace
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Expert Comment

by:bandle
ID: 1852123
1. My closest guess is that the problem is in the tables. Even if you have borders, cellspacing, and cellpadding to 0, tables just have to have a tiny bit of room between them. You could get them together if you didn't use a table, and still get the same effect. I doubt the problem is with your graphics.

2. You have a very slow server. And your second images are defunct. Check to make sure you linked them to the right place. After my mouse has been sitting over an image for a minute, then it rolls over. It's nothing but a slooow server.

- Bandle
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 200 total points
ID: 1852124
1) In your HTML file, keep everything within the table on ONE line... It is messy, but essential...

<TABLE><TR><TD><IMG SRC=""></TD></TR></TABLE>
YOu will see on your nav bar, everything is on their own line.  That is how it should be.

2) Those aren't the smallest graphic in the world.  25k per file is not a very good size for a roll-over... Consider another "Rollover method" to use...


0
 
LVL 3

Expert Comment

by:davlun20080
ID: 1852125
Try the following: added margin comment and deleted some spaces you had following the images, works without border in ie45 and ns4.6 on my machine.

<TABLE ALIGN=CENTER CELLSPACING=0 CELLPADDING=0 BORDER=0 MARGIN=0>
<TR>
    <TD><A HREF="/~topace/netf/roster.html"
     onMouseOver="if (document.images) document.roster.src='/~topace/graphics/roster2.gif'"
     onMouseOut="if (document.images) document.roster.src='/~topace/graphics/roster.gif'"><img
     name="roster" src="/roster.gif" BORDER=0 width="315" height="50"></A></td>
</tr>
<tr>
    <td><A HREF="/~topace/netf/history.html"
     onMouseOver="if (document.images) document.history.src='/~topace/graphics/history2.gif'"
     onMouseOut="if (document.images) document.history.src='/~topace/graphics/history.gif'"><img
     name="history" src="/history.gif" BORDER=0 width="319" height="80"></A></td>
  </tr>
<tr>
    <td><A HREF="/~topace/netf/relat.html"
     onMouseOver="if (document.images) document.relat.src='/~topace/graphics/relat2.gif'"
     onMouseOut="if (document.images) document.relat.src='/~topace/graphics/relat.gif'"><img
     name="relat" src="/relat.gif" BORDER=0 width="320" height="90"></A></td>
  </tr>
<tr>
    <td> <A HREF="/~topace/netf/events.html"
     onMouseOver="if (document.images) document.events.src='/~topace/graphics/events2.gif'"
     onMouseOut="if (document.images) document.events.src='/~topace/graphics/events.gif'"><img
     name="events" src="/events.gif" BORDER=0 width="319" height="100"></A></td>
</tr>
</table>

davlun
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 1

Author Comment

by:Topace
ID: 1852126
1) I will try a few things, and then see who comes the closest as far as this question goes, but for #2:

2) I don't know what you mean, by another rollover method.  Please explain.


Top~
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1852127
1) Use text rather than using images...
2) Split those images into even smaller "sections"

Do something, but I wouldnot wait to DL 25k jut to see a rollover.


0
 
LVL 1

Author Comment

by:Topace
ID: 1852128
Oh well....the rollover part of the image is no biggie.  I can fix that whenever I have time.  Thanks for helping me with the table code.  

Top~
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question