Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

HTML help if you please

Thread Tools
 
Search this Thread
 
Old 7th August 2008 | 20:19
  #1 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
HTML help if you please

1) I need to put 4 images across a page with text accreditations below. Using two tables and TD (%) does not line up the start of the text with the corner of the image and the discreancy increases across the page. Is there a clever way to do it without making a new combined image?

2) I would like the page to appear the same in any one of the 30 or more browsers out there. Without writing lots of pages and JS to identify browsers, how in *** do I do it?
BOAC is offline  
Reply
Old 7th August 2008 | 21:00
  #2 (permalink)  

'nough said
 
Joined: Sep 2002
Posts: 1,025
Likes: 0
From: Raynes Park
1 table, 2 rows, 4 columns should do it:

<table>
<tr>
<td>
<img src ="1st image etc
</td>
<td>
<img src ="2nd image etc
</td>
<td>
<img src ="3rd image etc
</td>
<td>
<img src ="4th image etc
</td>
</tr>

<tr>
<td>
1st image accreditation
</td>
<td>
2nd image accreditation
</td>
<td>
3rd image accreditation
</td>
<td>
4th image accreditation
</td>
</tr>
</table>

You can achieve a similar effect with <div> tags which are more cross-browser compatible.
amanoffewwords is offline  
Reply
Old 7th August 2008 | 21:56
  #3 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Ta amofw - will check it out 'morrow. I notice no td widths? I'll look up <div> in the bible.
BOAC is offline  
Reply
Old 7th August 2008 | 23:28
  #4 (permalink)  
 
Joined: Jan 2008
Posts: 179
Likes: 0
From: In a control room with no radar...
Any chance you could better describe what you need done and I'll show you how to exactly do it?
Scott Diamond is offline  
Reply
Old 8th August 2008 | 12:45
  #5 (permalink)  

'nough said
 
Joined: Sep 2002
Posts: 1,025
Likes: 0
From: Raynes Park
Originally Posted by BOAC
Ta amofw - will check it out 'morrow. I notice no td widths? I'll look up <div> in the bible.
You can add width="25%" in each TD (or whatever value you prefer or a px value).

Found this guide http://www.2createawebsite.com/build..._tutorial.html to all things tables.

DIVs are supposed to be less profane compared to the table/tr/td tags but they can be a bit tricky to get right. I have introduced them on my own site as it was an easier way to display a background graphic (rounded corners).

hth
amofw
amanoffewwords is offline  
Reply
Old 8th August 2008 | 12:56
  #6 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Ta again - a bit snowed under by other things at the mo. I have responded to Scott by PM.
BOAC is offline  
Reply

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



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.