Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-26-2006, 05:56 AM   #1
CarlSeiler's Avatar
Join Date: Oct 2005
Location: Denton, TX
Posts: 276
Default XHTML and Table Menu

OK, I'm trying to re-do one of my sites. A while ago, I completely re-did the site which is 4.01 Transitional with CSS1 over to XHTML strict with some CSS2. The "client" rejected the redesign saying that he liked the way the current site looks and didn't like sites that change their look all the time.

So, now my project is to convert the current site over to XHTML, keeping as much of the original look and feel as I can. I'm still using a table to arrange a horizontal menu that consists of transparent GIFs. Eventually, that will be converted into an unordered list, but for now, I'm just trying to get this over as quickly as I can so the basic framework is there.

Problem is: under HTML, my TDs and images were snug at the top of the TABLE. However, after converting to XHTML, despite setting margins and padding to 0px on the TABLE, TBODY, TR, and TD, there's a pixel or two gap above the images, particularly problematic above the image in the right-most cell. This exists in several browsers and operating systems. How can I snug up this gap between the cells and the row or table? I thought it was a margin/padding issue, but I'm not so sure now.

I've turned on borders around the images and the table so you can see what I'm talking about.


Also, if this is really simple, I'll keep working on this, otherwise, I'll try to abandon this and keep working on a horizontal menu using CSS without a table. I'd like to get something up either way.
CarlSeiler is offline   Reply With Quote

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML/XHTML-to-PDF converter ktinkel Web Site Building & Maintenance 9 01-31-2007 05:37 PM
Who stole my menu? Kelvyn Web Site Building & Maintenance 7 06-28-2006 02:43 AM
Standardising Chinese Menu Numbering PeterArnel The Corner Pub 8 04-03-2006 11:28 AM
Is XHTML really a standard? dthomsen8 Web Design 27 02-17-2006 05:19 AM
No-Java, all-CSS dropdown menu ktinkel Web Site Building & Maintenance 17 08-27-2005 01:32 PM

All times are GMT -8. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Contents copyright 2004–2018 Desktop Publishing Forum and its members.