Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Old 05-05-2010, 08:01 PM Image center
Super Talker

Posts: 128
Name: Jose daSilva
Trades: 0
I have the following code:
Quote:
<table width="600" border="0" cellspacing="2" id="foto1" style="display:block" align='center'>
<tr>
<td width="600" height="400" align="center" valign="middle"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','heigh t','400','src','sale?img=2&id=<? echo $id ?>','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmod e','transparent','movie','sale?img=2&id=<? echo $id ?>' ); //end AC code</script></td>
</tr>
</table>
But the image does not show on center.
What parameter mas I use to center the image?
thanks
josil is offline
View Public Profile
 
 
Register now for full access!
Old 05-07-2010, 03:08 PM RESOLVED: Image center
Super Talker

Posts: 128
Name: Jose daSilva
Trades: 0
Quote:
Originally Posted by josil View Post
I have the following code:

But the image does not show on center.
What parameter mas I use to center the image?
thanks

I manage to solve this problem.
josil is offline
View Public Profile
 
Old 05-13-2010, 03:27 AM Re: Image center
Banned

Posts: 2
Name: AndreClark99
Trades: 0
I prefer the code written below.That works perfect for me:
<td style="background:transparent url(images/example.jpg) center center no-repeat;" width="817">

Last edited by AndreClark99; 05-13-2010 at 03:30 AM..
AndreClark99 is offline
View Public Profile
 
Old 05-20-2010, 11:30 PM Re: RESOLVED: Image center
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by josil View Post
I manage to solve this problem.
What you coding HTML after corrected?
yahoo is offline
View Public Profile
 
Old 05-21-2010, 06:41 AM Re: Image center
Experienced Talker

Posts: 45
Trades: 0
Just see the w3schools.com tutorial to overcome this problem. its a very good online tutorial which I read these days.
__________________

Please login or register to view this content. Registration is FREE
printrobin is offline
View Public Profile Visit printrobin's homepage!
 
Old 05-22-2010, 03:16 AM Re: Image center
Average Talker

Posts: 18
Name: Tatyana
Trades: 0
Yes, w3schools.com is great for this.
your image code looks too much complicate. i would recommend you to upload the image where you host your site and create a code for it on your website using the w3school.com tutorial examples.

Good luck.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Palitra is offline
View Public Profile
 
Old 11-28-2010, 03:23 AM Re: Image center
Banned

Posts: 3
Name: robot
Trades: 0
Here nice topic sharing of image center.Here some code are given below:
<HTML>
<HEAD><TITLE>This is Image title.</TITLE>
</HEAD>
<BODY>
<H1><CENTER>This is Image.</CENTER>
<CENTER><IMG SRC="image.jpg"></CENTER>
robotb is offline
View Public Profile
 
Old 11-28-2010, 05:55 AM Re: Image center
Gakoyu Ojima's Avatar
Skilled Talker

Posts: 59
Location: Netherlands.
Trades: 0
Try to use lowercase for tags instead. You might also want to close each one properly, such as <h1>.

It's also best to wrap a div or span around both the h1 and image, and center that altogether.
__________________
$gocore = new gakoyucore();
$con = mysql_connect($gocore->server, $gocore->username, $gocore->password) or die(mysql_error());
Gakoyu Ojima is offline
View Public Profile
 
Old 11-28-2010, 09:06 AM Re: Image center
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
It's also best to wrap a div or span around both the h1 and image, and center that altogether.
Not really, why use unnecessary code when it can be centered w/o it??
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Closed Thread     « Reply to Image center
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.47512 seconds with 12 queries