Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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