Current location: Hot Scripts Forums » General Web Coding » CSS » Grrr 12 px are messing me up


Grrr 12 px are messing me up

Reply
  #1 (permalink)  
Old 02-18-06, 06:55 PM
zitwep zitwep is offline
Wannabe Coder
 
Join Date: Aug 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Grrr 12 px are messing me up

Ok, I have been trying for about an hour now to get the left column in line with the navigation bar on the top, I don't know why it is 12px to the left. Maybe if one of you could help me fix this little, yet very annoying thing.

http://www.lightning-hosting.net/Main/Html/

Here is the source code:

PHP Code:

<html>


<head>
<title>Lightning-Hosting.net :: Gaming Services</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="lightning.css" /> 

<script type="text/javascript">
<!--

function newImage(arg) {
    if (document.images) {
        rslt = new Image();
        rslt.src = arg;
        return rslt;
    }
}

function changeImages(sMenu,orig,over) {
    if (document.images && (preloadFlag == true)) {
        document[orig].src = over;
        subMenu(sMenu);
    }
}

function subMenu(sMenu) {
    // A list of all ids of the submenus
    var subs = Array('services','order','support','about','forums');
    
    // Hide all the submenus except the one that was hovered on
    for (count=0;count<subs.length;count++) {
        if (sMenu == subs[count]) {
            document.getElementById(subs[count]).style.display = 'block';
        } else {
            document.getElementById(subs[count]).style.display = 'none';
        }
    }
    
}

var preloadFlag = false;
function preloadImages() {
    if (document.images) {
        navigation_bar_01_over = newImage("images/navigation-bar_01-over.gif");
        navigation_bar_02_over = newImage("images/navigation-bar_02-over.gif");
        navigation_bar_04_over = newImage("images/navigation-bar_04-over.gif");
        navigation_bar_05_over = newImage("images/navigation-bar_05-over.gif");
        navigation_bar_06_over = newImage("images/navigation-bar_06-over.gif");
        preloadFlag = true;
    }
}

// -->
</script>


</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="images/bg.gif" onload="preloadImages();">
<!--start banner table-->
<table width="1000" border="0" cellpadding="0" cellspacing="0" align=center background="banner_02.gif">
    <tr>
        <td align=center valign=top colspan=3><img src="images/index_01.jpg" width="1000" height="161" alt=""></td>
    </tr>
    <tr>
        <td><img src="images/index_02.jpg" width="59" height="48"></td>
        <td background="images/index_03.jpg">
        <?PHP
        
#Navigation Bar
        
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/navigation-bar.php");
        
?>
        </td>
        <td><img src="images/index_04.jpg" width="59" height="48"></td>
    </tr>
</table>
<!--end banner table-->

<!--start parent content table-->
<table width="1000" border="0" cellpadding="0" cellspacing="0" align=center background="images/banner_02.gif" align=center>
    <tr>
        <td>
            <!--start main content table-->
            <table width="882" border="0" cellpadding="0" cellspacing="0" align=center>
                 <tr>
                    <!--start left column-->
                    <td width=185 align=center valign=top>
<?PHP
#Main Menu
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/main-menu.php");
?>

<?PHP
#Support Block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/support-block.php");
?>
<?PHP
#Monthly Specials
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/monthly-specials.php");
?>
<?PHP
#Live stats block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/live-stats-block.php");
?>
<?PHP
#Supported Games
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/supported-games-block.php");
?>
                    </td>
                    <!--end left column-->
                    
                    <!--start middle column-->
                    <td width=512 align=center valign=top>
<?php
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/news-area.php");
?>
                    </td>
                    <!--end middle column-->
                    
                    <!--start right column-->
                    <td width=185 align=center valign=top>
<?PHP
#Login Block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/login.php");
?>
<?PHP
#Live support block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/live-support-block.php");
?>
<?PHP
#Billing Block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/billing-block.php");
?>
<?PHP
#Testimonials block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/testimonials-block.php");
?>
<?PHP
#paypal block
include("/data/members/paid/7/1/7114308.ud/htdocs/www.lightning-hosting.net/Main/Html/elements/paypal-block.php");
?>


                    </td>
                    <!--end right column-->
                </tr>
            </table>
            <!--end main content table-->
        </td>
    </tr>
</table>
<!--end parent content table-->

</body>
</html>
Help would be much appreciated, thanks.

Last edited by Christian; 02-18-06 at 07:16 PM. Reason: fixed url
Reply With Quote
  #2 (permalink)  
Old 02-18-06, 07:23 PM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
## Thread moved to the Correct Forum ##
Please make sure that you read the forum descriptions and post in the most appropriate forum.
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
  #3 (permalink)  
Old 02-18-06, 07:28 PM
zitwep zitwep is offline
Wannabe Coder
 
Join Date: Aug 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
But this doesn't really have to do anything with CSS.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image tags/comments? Fodera PHP 3 01-24-06 06:14 PM
Script messing with the css layout xxvatarxx PHP 1 01-17-06 03:47 PM
12 days of Christmas ! 12 coupons special ! mxhub General Advertisements 0 11-15-05 09:58 AM
Hot!Paid AutoSurf Program-Earn 44% PROFIT after 12 day alpha General Advertisements 0 10-01-05 11:26 AM


All times are GMT -5. The time now is 01:47 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.