Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 10th, 2005, 10:09 PM
Secret_peace Secret_peace is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 Secret_peace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help Needed with the layout!

Hi Peeps,

I am very new to ASP programming. But this gotta do with the layout and design. Currently, i have a page call "viewlist.asp". And a menu bar on the top page of every web page i have. whenever i uses the menu bar to navigate to the viewlist.asp, all of alignment are out of place. i do not understand why this happens. pls do advise me.


Code Below
-----------------------------------------------------------------------------------------------------------------------------------
<%@LANGUAGE="VBSCRIPT"%>
<%Option Explicit%>
<html>
<head>
<title>KBP Intranet</title>
<link rel="stylesheet" type="text/css" href="style.css">
<style type="text/css">
<!--
.style12 {font-family: "Arial Unicode MS"; font-size: 11px; }
.style16 {font-family: "Arial Unicode MS"; font-size: 11px; color: #000000; }
.style20 {color: #000000; font-family: "Arial Unicode MS"; font-weight: bold; font-size: 11px; }
-->
</style>
</head>
<body leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" bgcolor="#ffffff">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="50%" height="975" background="images/bg.gif"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
<td valign="bottom" background="images/bg_left.gif"><img src="images/bg_left.gif" alt="" width="17" height="16" border="0"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="807">
<tr>
<td rowspan="2" width="100%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table cellspacing ="0" cellpadding ="0" width="100%" border="0">
<tr>
<td><div align="left">
<table cellspacing= "0" cellpadding = "0" width="100%" border="0">
<tr>
<td width="20%" height="20" colspan ="5" bgcolor="#FFFFFF"><!--#include file="mainmenu/header.inc"--></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td><img src="images/try.JPG" width="806" height="62"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="177"><img src="images/main_logo.JPG" width="807" height="202"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/fon04.gif">
<tr>
<td width="578"><img src="images/fon04.gif" width="35" height="61"></td>
<td width="116" background="images/but02.gif">
<table width="116" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="39"></td>
<td width="77" class="menu01"><a href="main.asp" target="_parent"><font color="#000000">HOME</font></a></td>
</tr>
</table></td>
<td width="113" background="images/but02.gif">
<table width="113" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45"></td>
<td class="menu01"><a href="Contact_Us1.asp" target="_parent"><font color="#000000">CONTACT</font></a></td>
</tr>
</table>
</td>

</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="807">
<tr>
<td colspan="4" height="19" background="images/fon01.gif"><img src="images/px1.gif" width="1" height="1" alt="" border="0"> </td>
</tr>
<tr>
<td background="images/fon02.gif" height="87" align="center" width="572">&nbsp;</td>
<td width="4" height="87" background="images/fon02.gif"><img src="images/e01.gif" width="2" height="87" alt="" border="0"></td>
<td background="images/fon02.gif" height="87" align="center" width="227">
<table border="0" cellpadding="0" cellspacing="0" background="">
<form name="SearchFrm" method="post" action="searchresult.asp">
<tr>
<td width="85"><p><img src="images/e06.gif" width="16" height="9" alt="" border="0">&nbsp;&nbsp;<b>Search</b></p></td>
<td width="87"><input type="Text" name="SearchName" value="Enter Key Words" size="20"></td>
<td width="19"><input type="Image" name="Submit" src="images/b_go.gif" width="19" height="25" alt="" border="0" hspace="10" align="absbottom"></td>
</tr>
</form>
</table>
<%If request.Form("SearchName") = "" then%></td>
<td width="4" height="87" align="right" background="images/fon02.gif">&nbsp;</td>
</tr>
<%end if%>
<tr>
<td colspan="4" height="21" background="images/fon03.gif"><img src="images/px1.gif" width="1" height="1" alt="" border="0"><span style="padding-bottom : 0px; margin-bottom : 0px; margin-left : 45px; margin-right : 0px; font-size : 12px; font-family : Tahoma,Verdana,Arial; font-weight: bold; color: #FFFFFF;" #invalid_attr_id="0px"><%= WeekdayName(Weekday(Date)) %>&nbsp; <%=date()%></span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#AFC0D0" valign="top">
<td width="100%" height="413">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="5" >
<tr>
<td height="493"><table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="White" height="100%">
<tr>
<td height="3"><!--#include file="includes/conn.asp"-->
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="99%" height="271" align="center" valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="White" align="center" height="197">
<% If request.Querystring("type") = "" then%>
<tr>
<td height="197" align="center" valign="top">
<%else %>
<!--#include file="includes/viewtype.asp" -->
<%End if%>
</td>
</tr>
</table></td>
<td align="center" valign="top" width="1%"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table>
</td>
<td valign="bottom" background="images/bg_right.gif"><img src="images/bg_right.gif" alt="" width="17" height="16" border="0"></td>
<td width="50%" background="images/bg.gif"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
</body>
</html>
--------------------------------------------------------------------------------------------------------------------------------

Reply With Quote
  #2  
Old January 11th, 2005, 06:52 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 49 m 54 sec
Reputation Power: 9
Okay... WHY are you using tables to layout a page?!?!

That code is too bloated, invalid, bad-spec, and a mess I can't help you

My only suggestion is to take a look at your \mainmenu\header.inc file and see if it contains any elements with superflous padding or margins inside it

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Help Needed with the layout!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek