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!

Reply
Center alignment of w3c logos at bottom of screen
Old 03-07-2006, 05:15 AM Center alignment of w3c logos at bottom of screen
Novice Talker

Posts: 11
Trades: 0
I am having difficulty in align two w3c logos side by side at the bottom centre of the screen.

For some reason l cannot get this to work.

This is the page which l am having difficulty with:

http://www.icphotography.port5.com/g...le_backup.html


I would like the screen to look like the following screens:

http://www.icphotography.port5.com


This is the coding:

<table width="100%" border="0" dwcopytype="CopyTableRow">
<tr>
<td width="50%" height="28"><div align="right"><img src="button_css.png" alt="css valid" title="css valid" width="80" height="15" /></div></td>
<td width="50%"><img src="html.gif" alt="html valid" title="html valid" width="80" height="15" /></td>
</tr>
</table>
clubsoton is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-07-2006, 08:49 AM Re: Center alignment of w3c logos at bottom of screen
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Align left is being inherited from a parent element and the div is wrapping to the width of the containing elements. Change the div align="right" to align="centre" and add the style 'width: 100%;'.

So the TD code should look something along these lines:

Code:
<td width="50%" height="28"><div align="centre" style="{width: 100%}"><img src="button_css.png" alt="css valid" title="css valid" width="80" height="15" /></div></td>
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 03-07-2006, 09:08 AM Re: Center alignment of w3c logos at bottom of screen
Novice Talker

Posts: 11
Trades: 0
I tried this and l cannot see a difference of the positning of the logos?

Am l doing something which is wrong?


This is the coding:

<td width="50%" height="28"><div align="centre" style="{width: 100%}"><img src="button_css.png" alt="css valid" title="css valid" width="80" height="15" /></div></td>

Last edited by clubsoton; 03-07-2006 at 09:18 AM..
clubsoton is offline
Reply With Quote
View Public Profile
 
Old 03-07-2006, 10:21 AM Re: Center alignment of w3c logos at bottom of screen
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Mate, your page structure is a bit askew and would take more than a few minutes to correct.

Just align="centre" the td then delete the div around the image and you should be good to go.

Code:
<td width="50%" height="28" align="center"><img src="button_css.png" alt="css valid" title="css valid" width="80" height="25" /></td>
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 03-07-2006, 10:28 AM Re: Center alignment of w3c logos at bottom of screen
Junior Talker

Posts: 4
Location: sw london
Trades: 0
You're using a td outside of a table, try this:

Code:
<table width="100%" border="0">
 <tr> 
  <td height="28" align="center">
   <img src="button_css.png" alt="css valid" title="css valid" width="80" height="15" />
   &nbsp;
   <img src="html.gif" alt="html valid" title="html valid" width="80" height="15" />
  </td>
 </tr>
</table>
Dean is offline
Reply With Quote
View Public Profile
 
Old 03-07-2006, 10:52 AM Re: Center alignment of w3c logos at bottom of screen
Novice Talker

Posts: 11
Trades: 0
Thats great many thanks, l knew it was something very simple, but l could not simply work it out.
clubsoton is offline
Reply With Quote
View Public Profile
 
Old 04-17-2006, 05:42 PM Re: Center alignment of w3c logos at bottom of screen
Novice Talker

Posts: 9
Trades: 0
So you've got it working now?
__________________

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



Please login or register to view this content. Registration is FREE
rybczyk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Center alignment of w3c logos at bottom of screen
 

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.19257 seconds with 12 queries