Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Images not showing!


  • Please log in to reply

#1
SavvyClay

SavvyClay

    Member

  • Member
  • PipPip
  • 42 posts
The image URLs work fine when put alone, or in a div, but not in a table?? You can highlight them, but you can't visibly see them.

This is my code:

[codebox]<table border="0" align="center" cellpadding="0" width="100%">
<tr>
<td width="50%" align="center">
<img src="http://i167.photobuc...zzafansign.jpg" width=142 height=198" alt="Thanks Sezza :)" ..menu="return false;">
</td>
<td width="50%" align="center">
<img src="http://i167.photobuc...02007029-1.jpg" width=264 height=198" alt="Thanks Rach :)" ..menu="return false;">
</td>
</tr>
</table>[/codebox]

I just noticed myspace changed something before 'menu' to '..' in the code... :)
  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Put your table in an HTML file and both images displayed just fine in Firefox and IE. Must be a problem elsewhere. Especially if it's for a MySpace page.

You do have some code errors that should be fixed in the code you posted. I take it the
menu="return false;"
is MySpace stuff?

Ron

Here's the way I would do it:

<div style="width: 100%; border: 0 solid #700; text-align: center;">

<img src="http://i167.photobucket.com/albums/u141/savvystreak/sezzafansign.jpg" style="width: 142px; height: 198px;" alt="Thanks Sezza smile.gif">
<img src="http://i167.photobucket.com/albums/u141/savvystreak/17102007029-1.jpg" style="width: 264px; height: 198px;" alt="Thanks Rach smile.gif">

</div>

Edited by Major Payne, 27 December 2007 - 10:03 PM.

  • 0

#3
SavvyClay

SavvyClay

    Member

  • Topic Starter
  • Member
  • PipPip
  • 42 posts
Thanks for the reply-

The images showed up fine, but the reason it all messed up is because I wanted them to be next to each other, not below one another.
I don't know how to code it so that they are next to each other and showing up.

:s
  • 0

#4
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Using your table code above in my browser, the images show up in line with each other. They do have a large space between them. Will try something else using tables for you as it seems you are sticking to tables. :)

Or, you could just do it this way:
<table style="text-align:center; margin:0; padding:0; border:0; width:100%;" summary="">
<tr>
<td style="width:1%;"><div style="width: 100%; border: 0 solid #700; text-align: center;">

<img src="http://i167.photobucket.com/albums/u141/savvystreak/sezzafansign.jpg" style="width: 142px; height: 198px;" alt="Thanks Sezza smile.gif">
<img src="http://i167.photobucket.com/albums/u141/savvystreak/17102007029-1.jpg" style="width: 264px; height: 198px;" alt="Thanks Rach smile.gif">

</div></td>
</tr>
</table>

I don't know if you need that "..menu="return false;" stufff, but you can add it back if you do need it.

Ron

Edited by Major Payne, 30 December 2007 - 11:10 PM.

  • 0

#5
SavvyClay

SavvyClay

    Member

  • Topic Starter
  • Member
  • PipPip
  • 42 posts
Okay, this is really annoying-

tried that code, same as before. Images not showing up, or next to each other.

Maybe myspace coding is slightly different?
Or because I have divs over the page the code inside is different.

I'll try asking my friend who builds his own myspace, but thanks for the help.
  • 0

#6
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Has to be something with the MySpace coding or styling of tables as it works perfectly if you add code to an html page then drop the page in your browser to view. In fact, it looks exactly the way you want it to look. The images are side by side. Possibly you're adding this code in the wrong section or some previous styling is causing corruption of the code.

Can try to find time to look at the code as generated by your MySpace page if you give URL.

Ron

Voyager_One

Voyager_Two

Edited by Major Payne, 07 January 2008 - 06:46 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP