Center dreamweaver pages regardless of the resolution

I am creating a web site in dreamweaver.The problem is that I created the site with my computer being at 1024 resolution and it looks great, but when I get on a different computer and is at a different resolution everything gets shifted to the left.

I desperately need help!
Rich
moose21Asked:
Who is Participating?
 
chilternPCConnect With a Mentor Commented:
Hi Moose21, glad you like it in a few weeks you'll be websiting like a pro, also in dreamweaver they have predefined designs - if you open dreamweaver and goto file - new
select general, select "starter pages" in first column and in second column select a page design /layout you want.
0
 
chilternPCCommented:
use tables with a border of zero (i.e. invisible) and centre the tables.
make the table width NO WIDER than 700 pixels - then it can be seen in all resolutions.
put all your text and images inside the table - use other tables inside the table to layout the page.
but really when the panic is over start to use CSS

seeattached = cut andpaste this into dreamweaver and save as you will see what I mena.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
 
<body>
<table width="700" border="0" align="center" cellpadding="2" cellspacing="2">
  <tr>
    <td><p>&nbsp;</p>
    <p>&nbsp;</p>
    <table width="78%" border="0" align="center" cellpadding="2" cellspacing="2">
      <tr>
        <td width="49%">this is text </td>
        <td width="51%">this coulde be a image </td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p></td>
  </tr>
</table>
</body>
</html>

Open in new window

0
 
moose21Author Commented:
Thanks for the help! Let me try this. Also I know the problem seems to be because I am not using CSS, but the prob is that I just graduated from College and they NEVER showed us it.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
moose21Author Commented:
I added an image and text and YES when I change the resolution it stayed center YEA!!!!! Is it hard to position tables? Is it hard to add an image or text where you need it?
0
 
chilternPCCommented:
try adding a table withseveral columns and before putting an image put another table then put the image in the table and position the table.
hope this helps.
0
 
moose21Author Commented:
This helps a lot man. You gave me hope. Im not sure how this site works cause its my first day but I assume I just accept as solution?
0
 
Jason C. LevineNo oneCommented:
>> but the prob is that I just graduated from College and they NEVER showed us it.

You should go back to school and deliver a swift kick to the genital area of each professor who failed to show this to you.  Then demand your money back.  CSS isn't new....

>> but I assume I just accept as solution?

Yes, accept chilternPC's post as the solution and give it an A grade.
0
All Courses

From novice to tech pro — start learning today.