473,854 Members | 1,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A problem with tables in dreamweaver

5 New Member
I made a table in dreamweaver cs4. my banner and navigation cells are centered. but everything below it is shifted to the left. why is that.? hereis my code.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitl ed Document</title>
<link href="main.css" rel="stylesheet " type="text/css" />
<script type="text/javascript">
<!--
function MM_preloadImage s() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.leng th,a=MM_preload Images.argument s; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!= 0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgResto re() { //v3.0
var i,x,a=document. MM_sr; for(i=0;a&&i<a. length&&(x=a[i])&&x.oSrc;i++ ) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf ("?"))>0&&paren t.frames.length ) {
d=parent.frames[n.substring(p+1 )].document; n=n.substring(0 ,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.fo rms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.l ayers&&i<d.laye rs.length;i++) x=MM_findObj(n, d.layers[i].document);
if(!x && d.getElementByI d) x=d.getElementB yId(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_sw apImage.argumen ts; document.MM_sr= new Array; for(i=0;i<(a.le ngth-2);i+=3)
if ((x=MM_findObj( a[i]))!=null){docum ent.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body id="page" onload="MM_prel oadImages('imag es/home-over.gif','imag es/services-over.gif','imag es/investors-over.gif','imag es/press-over.gif','imag es/resources-over.gif','imag es/contact-over.gif')">

<table width="54%" align="center" border="0" cellpadding="0" cellspacing="0" summary="An E-business Company">
<caption>
<img src="images/logo.jpg" width="762" height="82" alt="Company Logo" />
</caption>
<tr>
<th colspan="2" scope="col"><im g src="images/home-out.gif" alt="Home Tab" width="127" height="32" id="Image1" onmouseover="MM _swapImage('Ima ge1','','images/home-over.gif',1)" onmouseout="MM_ swapImgRestore( )" /><img src="images/services-out.gif" alt="Services tab" width="127" height="32" id="Image2" onmouseover="MM _swapImage('Ima ge2','','images/services-over.gif',1)" onmouseout="MM_ swapImgRestore( )" /><img src="images/investors-out.gif" alt="Investors tab" width="127" height="32" id="Image3" onmouseover="MM _swapImage('Ima ge3','','images/investors-over.gif',1)" onmouseout="MM_ swapImgRestore( )" /><img src="images/press-out.gif" alt="Press Room tab" width="127" height="32" id="Image4" onmouseover="MM _swapImage('Ima ge4','','images/press-over.gif',1)" onmouseout="MM_ swapImgRestore( )" /><img src="images/resources-out.gif" alt="Resources tab" width="127" height="32" id="Image5" onmouseover="MM _swapImage('Ima ge5','','images/resources-over.gif',1)" onmouseout="MM_ swapImgRestore( )" /><img src="images/contact-out.gif" alt="Contact tab" width="127" height="32" id="Image6" onmouseover="MM _swapImage('Ima ge6','','images/contact-over.gif',1)" onmouseout="MM_ swapImgRestore( )" /></th>
</tr>
<tr>
<td width="22%" rowspan="2" valign="top"><d iv id="h2">Home</h2><br><img src="images/title_line.gif" width="132" height="9" alt="title line" /></div></td>


</tr>
<tr>
<td width="78%" height="55" align="left">
<blockquote>
<p> <img src="images/feature.jpg" width="450" height="170" alt="image of two men in space suits" /></p>
</blockquote>
<div id="contentText ">
<div id="h1" align="left">We are the e-Business Leader</div>
<p>Dynamic e-business is the evolution of our e-business strategy. It is the dynamic<br />
adaptation of e-business processes and associated systems to support changing <br />
business strategies and tactics. It is our initiative to be the leader in delivering the <br />
standards-based platform you need to build, run and manage Web services<br />
applications. Our platform provides the infrastructure to integrate sophisticate <br />
transactions that support dynamic business processes.</p>
</p>
<p align="left">Dy namic e-business has been made possible by the recent industry adoption of the<br />
necessary open-standard technologies and the desire by both IT and management<br />
for business processes and infrastructure to enable a company's agility.</p>
<p align="left">We have developed and collaborated with industry partners to lead the industry<br />
adoption of Universal Description, Discovery and Integration (UDDI), Simple<br />
Object Access Pro (SOAP), and Web Services Description Language (WSDL). These<br />
XML-based technologies provide the underpinning necessary to enable services-<br />
oriented architecture and the platform software to realize dynamic e-business.<br />
Until recently, technologies were missing that would communicate, describe,<br />
advertise and syndicate between Web services. Meanwhile, businesses waited for<br />
the time when their infrastructure and systems would be as flexible as their<br />
customers, partners and suppliers expected. The wait is over.</p>
<hr align="left" width="600"/>
</div>
<div id="footer">&co py; 2001, SkylineGroup.co m, All Rights reserved.</div>
</p></td>
</tr>


</table>

</div>

</body>
</html>
Mar 28 '10 #1
8 1941
drhowarddrfine
7,435 Recognized Expert Expert
To the left? I see it shifted to the right. The table is definitely centered. It may look offset because the first "home" column has nothing below it.
Mar 28 '10 #2
conquer
5 New Member
Hello drhowarddrfine:
THe word home with the line under it? Should be right under the first tab link HOME. When I view it in dreamweaver it looks perfect.
Mar 28 '10 #3
drhowarddrfine
7,435 Recognized Expert Expert
That's where it is for me, too, and that whole column extends to the bottom of the table. Everything else is to the right of it.

Which browser is DW set to use?
Mar 28 '10 #4
conquer
5 New Member
IE 8, and I've never had this problem before.
Mar 28 '10 #5
drhowarddrfine
7,435 Recognized Expert Expert
Never, ever use any version of IE to initially test your markup. Always, always use a modern browser. That is, anything but IE: Firefox, Opera, Safari or Chrome. It doesn't matter too much which. Once your markup tests OK there, then we can hack and tweak for IE, but the bugs and quirks for IE are well known, as are the hacks to fix it. You can never trust IE to do anything right.

I don't have IE in front of me right now. I'll check into it later.
Mar 28 '10 #6
conquer
5 New Member
Made a discovery. In IE 8 it looks wrong, in IE 6 it looks fine.
Mar 28 '10 #7
drhowarddrfine
7,435 Recognized Expert Expert
IE8 does not work like IE7 compatibility mode which doesn't work like IE7 which doesn't work like IE6. IE8 is the worst browser on the planet, technically. What does that tell us about IE6? ;)
Mar 28 '10 #8
drhowarddrfine
7,435 Recognized Expert Expert
I'm confused. This is what I see in Chrome and FF and it's almost the same in IE8. Is this what you see?

Mar 28 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2718
by: sKodi | last post by:
I have a problem. When I had IIS 5.1 my Dreamweaver MX created ADODB.Recordset objects for my ASP pages. Everything worked great. But now it causes HTTP500 - Internal Server Error. What's up?
19
5248
by: Bill Davidson | last post by:
My wife's friend had a website built for his company, and it looks great using a PC. When viewed on a Mac using either Safari or Explorer the formatting is terrible. The home page is not too bad, however, any of the other pages selected have large spaces between paragraphs. I know to compare different browers when building a website but what can I suggest to him for PC/Mac problems.
47
9176
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
43
2699
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
7
4935
by: Wilhelm Kutting | last post by:
Hi again i want to replace the following layouttabel with css/xhtml: ---------------------------------- <table width="640" cellspacing="0"> <tr> <td valign="top">My Title</td> <td valign="top">my text </td> </tr> <tr> <td><img src="spacer.gif" width="140" height="1" /></td>
3
5320
by: maxhitchcock | last post by:
Hi, I made a lots tables in Dreamweaver to put my images in it then I made a menu in Javascript. I'm pretty sure there's no error in my size of cells and they are all valign="top". In Internet Explorer, there's no visual glitch or error BUT in Firefox (Opera and Netscape) there's a space just bellow my menu. It's possible too see my page if you change the IP adress in your HOSTS (search HOSTS in the search engine of your computer, open...
171
7841
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles) like it because you can split the code from the design. That is logical. But if you are the only one working on the code, it seem a little overkill. I use Dreamweaver to do my design and find it a bit of a hassle to have multiple files open...
2
1699
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
I am developing ASP.net projects for an Intranet application using Dreamweaver MX. My questions are: 1. I have had book Dreamweaver MX HOT. Where can I find more information or books for ASP.NET development using Dreanweaver? 2. Is there something I need to know between Intranet and Internet applications, as far as setting up a Dreamweaver ASP.NET site is concerned? All I know now is that there is no HTTP Address for
1
1535
by: MarkW | last post by:
Sometime back I bought a couple books on Dreamweaver and Flash for the CS2 Suite and along with it bought a book for Php, Foundation Php for Dreamweaver 8. I read the Dreamweaver and Flash books but never have read the Php book. Now that I was ready to I just upgraded to the CS3 suite. My question is, is it important to look for a newer Php book to use with this CS3 suite or would the current book be ok and up to date? Should I look...
9
2128
chumlyumly
by: chumlyumly | last post by:
Hello - Please help! I'm creating search pages using Dreamweaver 8, PHP, and MySQL database with Mac OS X. I think my code is good, but when I run my query, I come up with no data, even though I know there is data in the database that should be coming up. I'm searching two tables that are linked with a foreign key (member_id). The members table is the main table (where "member_id" is an auto increment key) , and the specialty_groups...
0
9751
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10756
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7914
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5741
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5941
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4560
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4159
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3186
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.