Table Borders |
Table Borders |
KristinK |
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 |
JamieHarrop |
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
|
Peter1968 |
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. |
KristinK |
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?
|
KristinK |
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 |
Peter1968 |
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.
|
Lo-Fi Version | Time is now: 26th April 2024 - 01:51 AM |