Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 25th, 2004, 04:23 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default Unwanted space... again

Hello,

I have recently installed PHPNuke on my webserver, and it comes with a table-based layout that I've been working with to create my own theme.

Homepage at http://www.snibworks.com/

However, there is a large gap- in Firefox and IE, so it must be a fault in the code- right above the content, and also a gap right above the left set of blocks.

The funny thing is, there's no gap above the right blocks. The coding seems exactly the same, as far as I can tell.

I gave all tables, trs, tds and divs white borders and margins and padding so you can see where everything is.

Let me know if you come up with a solution.

Also- I know the code isn't standards compliant, and I know it's messy. Most of it is dynamically generated, so it's hard to make it appear with the right indents, etc. when it's all put together. So, unless the problem lies here, please don't tell me I have sloppy code.

Thanks,

Snib

<><
__________________
-Snib - http://www.snibworks.com
Where will you be in 100 years?
 
Old August 25th, 2004, 04:45 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Found the problem. Cells containing the content and blocks were set to vertical-align:middle. Changed it to top and everything looks fine.

Thanks anyway ;)

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove the unwanted space at end of the string gmbalaa General .NET 2 August 21st, 2007 11:35 PM
Unwanted Char - OnKeypress event needelp Access VBA 3 December 19th, 2006 07:29 PM
removing unwanted space below table ngvietanh HTML Code Clinic 1 August 24th, 2006 10:28 AM
How to filter out unwanted data fdtoo SQL Server 2000 1 April 25th, 2006 10:44 AM
Unwanted error page displayed patwadd Classic ASP Basics 2 February 8th, 2005 10:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.