The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Table Borders
KristinK
post Jan 9 2007, 01:43 PM
Post #1


Newbie
*

Group: Members
Posts: 18
Joined: 9-January 07
Member No.: 1,508



Hi. I have created a web page using a table. But it was mostly graphics. When I view the page, there are spaces around each graphic so it looks separated. I have tried messing with table borders but nothing works. So my question is, how do I get a table with no spaces between cells?
(For reference, the page is www.jcainventories.com)
Thanks for any help, Kristin
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
JamieHarrop
post Jan 9 2007, 02:08 PM
Post #2


Advanced Member
****

Group: WDG Moderators
Posts: 129
Joined: 25-October 06
From: West Yorkshire, UK
Member No.: 570



Maybe this will help: http://htmlhelp.com/faq/html/images.html#image-nospace
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post Jan 9 2007, 02:09 PM
Post #3


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



Why are you using tables to lay out images? Many browsers insert padding and stuff around tables by default.

There are more elegant methods to use, CSS layouts for example.

Bitmap images are inappropriate for use on the Web too. Convert your images into a Web-friendly format such a JPG or PNG. Not all browsers will display BMP's and then there's the size issue with them.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
KristinK
post Jan 9 2007, 02:30 PM
Post #4


Newbie
*

Group: Members
Posts: 18
Joined: 9-January 07
Member No.: 1,508



Thanks for that site- but I tried deleting the space and it didn't change anything. Any other ideas?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
KristinK
post Jan 9 2007, 02:32 PM
Post #5


Newbie
*

Group: Members
Posts: 18
Joined: 9-January 07
Member No.: 1,508



Thanks for the advice. Tables were the only way I know how to do it (or attempt it).
I will change the bmps to jpgs. I didn't know that either.
I figure the site will function better with CSS- but I don't know it yet. I just had to get the site up ASAP for a friend.
Thanks anyway
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post Jan 9 2007, 04:18 PM
Post #6


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



Tables are a block element and some browsers automagically give them margins and padding and other such treatment. You could style them with CSS and get rid of some of this default behaviour but your mileage will vary, of course.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 01:51 AM