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
Old 05-13-2005, 03:20 PM table problem
Experienced Talker

Posts: 49
Trades: 0
hi,

i have a problem with my site. Im creating tables with pictures which should be against each other so that you do not see a line or border. Now check out:
http://www.halbarad.com/arrowstyle/

i guess you get my point. does anyone know how to get rid of this stupid white space between the table row's.

Halbarad
Halbarad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-13-2005, 03:28 PM
celticbrue's Avatar
Extreme Talker

Posts: 175
Location: Wiltshire, England
Trades: 0
Hi,

Pretty common problem this, but usually easily resolved. Try changing your markup from this:
HTML Code:
<td>
<img src=top1.jpg>
</td><td>
To this
HTML Code:
<td><img src=top1.jpg></td>
What is happening is the new line you have created for the <img> tag generates the white space. By placing everything contained in the table cell on the same line, you eliminate this space. If you are coding in notepad, don't worry about text-wrap as this still counts as only one line.

Hope this sorts it

Ian
__________________
Found this useful? - HIT MY TALKUPATION!


Please login or register to view this content. Registration is FREE
celticbrue is offline
Reply With Quote
View Public Profile
 
Old 05-13-2005, 03:31 PM
Experienced Talker

Posts: 49
Trades: 0
yay! it worked, thank you.
Halbarad is offline
Reply With Quote
View Public Profile
 
Old 05-13-2005, 04:01 PM
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
which should of course be
<td><img src="top1.jpg"></td>
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 05-15-2005, 03:30 AM
celticbrue's Avatar
Extreme Talker

Posts: 175
Location: Wiltshire, England
Trades: 0
or, to be even more correct and comply with WCAG guidelines on web accessibility and assist the rendering in the browser and comply with XHTML1.0 should be:-
HTML Code:
<td><img src="top1.jpg" alt="image description" width="img width" height="img height" /></td>


I KNOW - everyone hates a smartarse - but I couldn't resist the temptation!
__________________
Found this useful? - HIT MY TALKUPATION!


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

Last edited by celticbrue; 05-15-2005 at 03:34 AM..
celticbrue is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to table problem
 

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