Dreamweaver Frames

I am using Dreamweaver 8 and love using frames. The problem is that I create some great looking websites it 1024 resolution, but if I get in a computer with a different resolution it shift everything to the right which then ruins everything!. Is there anyway to keep everything centered in the middle of the page? PLEASE HELP!
moose21Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

prunckleCommented:
There are several ways you can achieve this.  the most basic way is to use CSS or the <center></center> tags around the main table.

This becomes more complicated if you have dynamically positioned elements or dynamically generated content.  I've written a lot of JavaScripts to handle this issue, and will be willing to help if you are interested.  One site that I created on an academic server needed just such a fix.  take a look at http://www.uwm.edu/StudentOrg/lprfc/  If you're interested in specific help along these line, please let me know and I would be happy to help!
jprunckle@yahoo.com
0
moose21Author Commented:
I really appreciate you helping me with this!!!! Anyway the only two areas I need help with when it comes to Dreamweaver is CSS and the resolution problem.... unfortunately for me it sounds like they are related. I did not create the pages inside of a table, is that what I should have done? Also I have used a lot of layers, is that bad? I have created one top frame that goes along the top. Then below that I have a frame down the left of the page, the right, and a main frame.

Once again thank you very much!  
0
prunckleCommented:
Okay...no real problem...are you using a frameset or iframes?

And layers aren't an issue...I've scripts that can dynamically position them based on available screen width....
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

prunckleCommented:
If you want, send me the link to your site, and I can get a feel for what we're working with....
0
moose21Author Commented:
http://centennialschool.net/~incerb/test_site/

its really sloppy at this stage because for one the school has given me no real info yet.
0
prunckleCommented:
Try uploading this in place of your index page and let's see how it looks.  We may have to change some of the layering at this point and adjust the height of the main section of the page, but it's a good starting point.  Plus using the iframes gives you the smae functionality you get from the full frameset....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Centennial School K-12</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
body {
	background-color: #000000;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;	
}
-->
</style></head>
 
<body>
<div align="center">
<table width="994" cellpadding="0" cellspacing="0" border="0">
   <tr>
      <td height="155" colspan="3">
         <iframe src="top.htm" name="topFrame" marginheight="0" marginwidth="0" height="155" width="*" frameborder="0" scrolling="no" noresize></iframe>
      </td>
   </tr>
   <tr>
      <td width="165">
         <iframe src="left.htm" name="leftFrame" marginheight="0" marginwidth="0" width="165" height="*" frameborder="0" scrolling="no" noresize></iframe>
      </td>
      <td width="664">
         <iframe src="main.htm" name="mainFrame" marginheight="0" marginwidth="0" width="664" height="*" frameborder="0"></iframe>
      </td>
      <td width="165">
         <iframe src="right.htm" name="rightFrame" marginheight="0" marginwidth="0" width="165" height="*" frameborder="0" scrolling="no" noresize></iframe>
      </td>
   </tr>
</table>
</div>
</body>
</html>

Open in new window

0
prunckleCommented:
Not a huge issue at this point, but we'll want to change the DOCTYPE declaration to TRANSITIONAL
0
prunckleCommented:
Let me know how this looks for you...then we can start with dynamic positioning of your layer elements.  THere's several angles we can work towards here.  Just let me know!
0
moose21Author Commented:
Hey buddy thanks for the help. I uploaded that page. It cut off quite a bit of the page, but when I change the resolution IT STAYS CENTERED....YEA!!!! If you dont mind take a look at the site one more time and tell me when you think. I work today but will get on here first thing tonight!
0
prunckleCommented:
moose21,

do me a favor...if it's not too difficult, can you send me a .zip of the site (with the images and all?)  that'll make it a lot easier to turn around as I can test locally, and give you the exact pointers you need!  That way I have the images too, and I can make sure it looks how you want it!

Look forward to hearing from you!

Scot
0
moose21Author Commented:
Scot,
 I cant explain enough how much I appreciate you helping me with this. Unfortunately man I am not going to be able to work with you tonight or Saturday night because of some stuff that came up thats out of my hands. I sure hope you will be available SUNDAY because that would be so great!!!!

Anyway have a great weekended and hope to talk to you Sunday buddy!
Rich
0
prunckleCommented:
Rich!

No worries.  I enjoy doing this...so it's no problem!  I'll be available on sunday before 5 p.m. Central Timae and again sometime after 7 ish.  Hope all goes well...it difficult when unexpected situations arrise.

Talk to you soon,

Scot
0
moose21Author Commented:
Hey sorry it took me so long to get back to you. Anyway last time we talked we produced this
http://centennialschool.net/~incerb/test_site/
the main page is staying centered which is what we want but everything else looks cut off

Rich
0
prunckleCommented:
RIch,

If you want you can just send me a .zip of the site to NOT_ON_EE@yahoo.com and we can get the iframes working correctly...

Scot


ADMIN EDIT - NO 'EMAIL' SOLUTIONS PLEASE
0
moose21Author Commented:
Hey man hows it going. Hey what exactly would I have to do to send you everything as a zip??? I feel like we are defiantly on the right track!
0
prunckleCommented:
Are you using windows?  Just right cllick on the root directory that you have created your site in and select "add to zip"  it should created a directory containing the subdirectories tithin the site and then I can give it a run through dreamweaver and get everything positioned out properly for you....

Scot
0
prunckleCommented:
Don't sweat Jason's comments too much...he may have had too much coffee at this point in the evening.

He's correct about the relative positioning and CSS, but he's missing the fact that you're not using the Adobe product. MM likes tables.  it's not a problem, though...we'll get it taken care of.

Scot
0
moose21Author Commented:
You are being too kind thanks! By the way I hate to sound completely stupid but the zip thing has me a little confused....sorry ????
0
prunckleCommented:
no worries....I've been in your same situation myself, so I can appreciate it....  are you on a windows platform - XP actually?

If so, you can open windows explorer and right click on the directory that contains all of your web files for the site "root folder"  then you can select "send to" from the menu which opens up another menu...one of the choices should be "compressed (zipped) folder"  It will compress all the files in the root folder into a single file like webstuff.zip  Then you can attach that file to an email...instead of trying to send all the files individually or giving me the username and password to your FTP server.....

DOes that help some?

Scot
0
prunckleCommented:
Or you can download the WinZip program from www.winzip.com and use the wizzard interface to compress the files...either way, ti whould work out okay...
0
moose21Author Commented:
The only thing I can remotely think that you could be talking about is found here....
http://centennialschool.net/~incerb/

I hate to take to much of your time man
0
moose21Author Commented:
By the way click on the link that says example located on the home page.... I did it in a table and it seems to work with diff resolution....maybe I should just do that for all the pages
0
prunckleCommented:
Oh....I was just going to have you send me the files that you have saved locally on your computer....I assume the imagesyou're using are in the export directory?

And we could go either way with the table or layers....it just depends on how you'd like to do it....

Give me a few minutes to give the info a whack....

Scot

BTW, I'm not worred about the time at this point.  I'm waiting for a client to finish some stuff on his end and it's taking him quite  a while...and I'm cool with helping out....if I get enough points on here, then I can start asking questions for some of the stuff that I don;t understand....
0
prunckleCommented:
Rich....

Sorry but my computer seems to have gotten a bad script on it....is it cool with you if I set it to run a virus scan and send you some file updates in the AM....is there an email address ehre I can contact you?

Scot
0
moose21Author Commented:
hey buddy its all good. I think I am going to take the table way and run with it. I have other possible site jobs on the way so I better learn a way I can do. I really do appricate all you have done for me Scot, I really do. I'm not sure how to get you your points but I will click the accept solution button....is that correct?
0
prunckleCommented:
Yeah, I think you click the accepted solution button and then it allows you to grade the response A-F or something like that.....

And using the tables is a bit less complicated, but sometimes lacks the functionality that youcan get from frames....or iframes

Scot
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
moose21Author Commented:
Well man if its ok can I keep your email on hand for later possible advice?
0
prunckleCommented:
Yeah, no worries....

I'm always willing to lend a hand....a lot of this stuff can be really confusing and really poorly explained, so feel free to ask any time!

Scot
0
moose21Author Commented:
Your a hell of a person willing to help people out like this!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.