Aligning a web page to the centre

I've just completed the first half of the "Studio 8 training
from the source" tutorial book. Through this I've created a basic
site for the fictional company "jade valley" which incorporates a
header with animated buttons created in fireworks and exported
partly as html and partly as css into dreamweaver. in dreamweaver
i've then had to add extra layers into the document beneath this
header.
Everything is aligned to the left of the page.
What i would like to know is how to adapt this page or create
a new page where everything is central, so that no matter the size
or shape of the screen it is viewed on, the complete page layout
always appears centrally placed, much like if you used a centrally
aligned table. I tried using a single table cell and pasting
everything into it, but this didnt seem 2 work.
Can anyone help me?

<table align="center", would be one way.
#wrapper { margin:0 auto; width:760px; }, would be another.
It depends on your skill level with HTML and CSS as to which
method you
would want to use.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"abimpson" <[email protected]> wrote in
message
news:f1smp5$4ij$[email protected]..
> I've just completed the first half of the "Studio 8
training from the
> source"
> tutorial book. Through this I've created a basic site
for the fictional
> company
> "jade valley" which incorporates a header with animated
buttons created in
> fireworks and exported partly as html and partly as css
into dreamweaver.
> in
> dreamweaver i've then had to add extra layers into the
document beneath
> this
> header.
> Everything is aligned to the left of the page.
>
> What i would like to know is how to adapt this page or
create a new page
> where
> everything is central, so that no matter the size or
shape of the screen
> it is
> viewed on, the complete page layout always appears
centrally placed, much
> like
> if you used a centrally aligned table. I tried using a
single table cell
> and
> pasting everything into it, but this didnt seem 2 work.
>
> Can anyone help me?
>

Similar Messages

  • Aligning whole web page for browser in Dreamweaver CS4

    Hi, I am trying to align my web page so that it is central on screen when viewed in a browser?
    Can any one help??!
    Thanks.
    Andrew.

    Sorry for the delayed reply!
    Web address is www.williamwellschauffeuredcars.co.uk & My code is as below - Nothing special!
    <!-- saved from url=(0014)about:internet -->
    <html>
    <head>
    <title>William Wells Chauffeured Cars - Luxury Chauffeur Driven Car Hire For Special Occasions - Wedding cars etc.</title>
    <meta name="verify-v1" content="TtB6ybKkiGf/QN1r25xnZxBUBsi/etdq4TRCrwGbsaI=" />
    <meta name="description" content="William Wells Chauffeured Cars have been supplying 'special occasion' transport for more than 25 years. We have several choices of fully licenced modern or classic vehicles for you to consider - Including our prestigious
    S Class Mercedes-Benz Long Wheel base Limousine bearing the exclusive number plate 'LUV 1'">
    <meta name="keywords" content="wedding car hire, wedding cars, hire a wedding car, my wedding, bride, groom, bridesmaids, limo hire for wedding, classy wedding cars, mercedes s class wedding car, london wedding cars, chauffeured cars, wedding services, i want to hire a wedding car">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!-- Save for Web Styles (index.psd) -->
    <style type="text/css">
    <!--
    #Table_01 {
    position:absolute;
    left:0px;
    top:0px;
    width:1024px;
    height:768px;
    #homelogo {
    position:absolute;
    left:0px;
    top:0px;
    width:512px;
    height:255px;
    #index1-02 {
    position:absolute;
    left:512px;
    top:0px;
    width:512px;
    height:255px;
    #index1-03 {
    position:absolute;
    left:0px;
    top:255px;
    width:40px;
    height:52px;
    #index1-04 {
    position:absolute;
    left:40px;
    top:255px;
    width:18px;
    height:72px;
    #Home {
    position:absolute;
    left:58px;
    top:255px;
    width:65px;
    height:52px;
    #index1-06 {
    position:absolute;
    left:123px;
    top:255px;
    width:22px;
    height:72px;
    #Contact {
    position:absolute;
    left:145px;
    top:255px;
    width:137px;
    height:52px;
    #index1-08 {
    position:absolute;
    left:282px;
    top:255px;
    width:2px;
    height:72px;
    #index1-09 {
    position:absolute;
    left:284px;
    top:255px;
    width:740px;
    height:52px;
    #index1-10 {
    position:absolute;
    left:0px;
    top:307px;
    width:40px;
    height:20px;
    #index1-11 {
    position:absolute;
    left:58px;
    top:307px;
    width:65px;
    height:20px;
    #index1-12 {
    position:absolute;
    left:145px;
    top:307px;
    width:137px;
    height:20px;
    #index1-13 {
    position:absolute;
    left:284px;
    top:307px;
    width:740px;
    height:20px;
    #index1-14 {
    position:absolute;
    left:0px;
    top:327px;
    width:8px;
    height:230px;
    #gif {
    position:absolute;
    left:8px;
    top:327px;
    width:476px;
    height:317px;
    #index1-16 {
    position:absolute;
    left:484px;
    top:327px;
    width:540px;
    height:230px;
    #index1-17 {
    position:absolute;
    left:0px;
    top:557px;
    width:8px;
    height:176px;
    #index1-18 {
    position:absolute;
    left:484px;
    top:557px;
    width:540px;
    height:176px;
    #index1-19 {
    position:absolute;
    left:8px;
    top:644px;
    width:476px;
    height:89px;
    #designer {
    position:absolute;
    left:0px;
    top:733px;
    width:232px;
    height:35px;
    #index1-21 {
    position:absolute;
    left:232px;
    top:733px;
    width:24px;
    height:35px;
    #index1-22 {
    position:absolute;
    left:256px;
    top:733px;
    width:768px;
    height:35px;
    -->
    </style>
    <!-- End Save for Web Styles -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
    <!-- Save for Web Slices (index.psd) -->
    <div id="Table_01">
    <div id="homelogo">
      <a href="index.html">
       <img src="images/homelogo.jpg" width="512" height="255" border="0" alt=""></a>
      </div>
    <div id="index1-02">
      <img src="images/index1_02.jpg" width="512" height="255" alt="">
    </div>
    <div id="index1-03">
      <img src="images/index1_03.jpg" width="40" height="52" alt="">
    </div>
    <div id="index1-04">
      <img src="images/index1_04.jpg" width="18" height="72" alt="">
    </div>
    <div id="Home">
      <a href="index.html">
       <img src="images/Home.jpg" width="65" height="52" border="0" alt=""></a>
      </div>
    <div id="index1-06">
      <img src="images/index1_06.jpg" width="22" height="72" alt="">
    </div>
    <div id="Contact">
      <a href="contact.html">
       <img src="images/Contact.jpg" width="137" height="52" border="0" alt=""></a>
      </div>
    <div id="index1-08">
      <img src="images/index1_08.jpg" width="2" height="72" alt="">
    </div>
    <div id="index1-09">
      <img src="images/index1_09.jpg" width="740" height="52" alt="">
    </div>
    <div id="index1-10">
      <img src="images/index1_10.jpg" width="40" height="20" alt="">
    </div>
    <div id="index1-11">
      <img src="images/index1_11.jpg" width="65" height="20" alt="">
    </div>
    <div id="index1-12">
      <img src="images/index1_12.jpg" width="137" height="20" alt="">
    </div>
    <div id="index1-13">
      <img src="images/index1_13.jpg" width="740" height="20" alt="">
    </div>
    <div id="index1-14">
      <img src="images/index1_14.jpg" width="8" height="230" alt="">
    </div>
    <div id="gif">
       <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="476" height="317">
         <param name="movie" value="homepage.swf">
         <param name="quality" value="high">
         <param name="wmode" value="opaque">
         <param name="swfversion" value="6.0.65.0">
         <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
         <param name="expressinstall" value="Scripts/expressInstall.swf">
         <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
         <!--[if !IE]>-->
         <object type="application/x-shockwave-flash" data="homepage.swf" width="476" height="317">
           <!--<![endif]-->
           <param name="quality" value="high">
           <param name="wmode" value="opaque">
           <param name="swfversion" value="6.0.65.0">
           <param name="expressinstall" value="Scripts/expressInstall.swf">
           <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
           <div>
             <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
             <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
           <!--[if !IE]>-->
            </object>
         <!--<![endif]-->
          </object>
    </div>
    <div id="index1-16">
      <img src="images/index1_16.jpg" width="540" height="230" alt="">
    </div>
    <div id="index1-17">
      <img src="images/index1_17.jpg" width="8" height="176" alt="">
    </div>
    <div id="index1-18">
      <img src="images/index1_18.jpg" width="540" height="176" alt="">
      </div>
    <div id="index1-19">
      <img src="images/index1_19.jpg" width="476" height="89" alt="">
    </div>
    <div id="index1-21">
      <img src="images/index1_21.jpg" width="24" height="35" alt="">
    </div>
    <div id="index1-22">
      <img src="images/index1_22.jpg" width="768" height="35" alt="">
    </div>
    </div>
    <!-- End Save for Web Slices -->
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>

  • Can multiple web pages use the same cookie?

    I have an applet that will reside in several different web pages. The applet creates a cookie that saves user preferences and loads them when the user next uses the applet. The problem is that I want the same cookie to load when the user views the same applet at a different IP Address. Is this possible? If so, how? I am currently using the netscape JSObject stuff to write and read my cookie.
    Thanks,
    Derek

    Sorry, you cannot access cookie across domains.
    If being able to access same cookie from different pages in the same domain satisfies you need, read on.
    Let's suppose you have two html files kept on your server as follow::
    MyHTML/main.html
    MyHTML/subDir/A.html
    Now, let say that when you save the cookie, the path is not specified. A.html will not be able to access the cookie set by main.html. However, if you specified PATH=/ (along with other values and expiry date-and-time), both html files will be able to access the same cookie via the document.getMember method.
    This is more of a JavaScript question than a Java question and you might want to pay a visit to the link below:
    http://forums.internet.com/WebX?[email protected]^[email protected]
    you can go to the bottom of that page, click search and type in cookie and you'll see a lot of Q&A on the topic.
    Good Luck
    V.V.

  • I can't print any web page. after the print command, it wants to save xps files. on cannon printer. vista system

    can't print any web page. after the print command, it wants to save as a xps file.
    == This happened ==
    Every time Firefox opened
    == after up grade to 3.6.6 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)

    I found that Firefox/XPS had deleted all printer driver setups except for the XPS connection. I had to reinstall my printer connection in order to have that selection present in the printer dialogue box.

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • Have published iweb site for five years with no problems and just opened a new site and get - 404: Page not found  This error is generated when there was no web page with the name you specified at the web site.-is the problem with iweb or with hosting?  T

    I am sorry if thie is republished-My first time doing this and I am not sure what goes where and where to hear feedback.
    Have published iweb site for five years with no problems and just opened a new site and get -
    404: Page not found 
    This error is generated when there was no web page with the name you specified at the web site.-
    Troubleshooting suggestions:
    Ensure the page you are linking to exists in the correct folder.
    Check your file name for case sensitivity . Index.htm is not the same as index.htm!
    Temporarily disable any rewrite rules by renaming your .htaccess file if it exists
    is the problem with
    iweb or with hosting?
    One Apple tech started to fix Iweb and had to end session and the next said problem with hosting at Network Solutions as it published
    to local folder. NWS has checked sttting a few times-
    Any help would be extremely appreciated as trying to fix this for about five weeks
    Thanks VG
    <Email Edited by Host>

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it. (Even though I've now noticed you mis-spelled it! - anyway, never post your address in a forum.)
    You have a site here: http://virginiagordon.com/www.virginiagordon.com/WELCOME.html
    If that's not the page you are having trouble with, what is that page's URL?

  • Opening a web page in the same window ...

    Hi all,
    I wanted to open a web page in the same content area(window) and not in an external window . Could you tell me how its done ...
    Regards,
    Jayant.

    hi
    check out this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/83/e7c24122e3c317e10000000a155106/content.htm
    create a exit plug as mentioned in link.
    in the action event handler of button gives this.
    public void onActionExitButton(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExitButton(ServerEvent)
    String logoffURL="http://help.sap.com/saphelp_erp2005/helpdata/en/16/d3643fce8bb01ae10000000a114084/frameset.htm";
    wdThis.wdGetDynamicProgrammingInterfaceViewController().wdFirePlugToexit(logoffURL);
        //@@end
    hope this helps,
    Regards,
    Arun

  • What the best ways to save web pages  on the cloud ? Using an iPhone ?

    Dear folks
    I read a lot of web pages on iPhone that I need to refer to / come back to later
    I have limited space on my iPhone and do not want to clutter the phone saving all these pages
    What are the best options to
    a) save these web pages on the cloud ?
    B) Or mail them to myself ( again store on some specific gmail or so account ? )
    Or
    C) It would also be great to convert  them to PDF and mail them to myself or  save them on box dot net or Dropbox
    Or
    d) save them initially on the phone but , eventually move them in batches to my hard drive thru backups
    What is the best option ? And  What are the best ways to do this
    Free apps / solutions preferred
    If not so paid ones are okay 
    TIA
    Regards
    Subu

    Import photos to your computer, then delete the copies that reside on the phone. Also remove apps you no longer use.

  • Web page inside the Director Stage

    Hello All,
    Is there a way for me to tell Director to bring up a web page
    inside the stage?
    I would like to have my own buttons on the lower half of the
    window and a internet browser on the upper half.
    Also I would like the user not to be able to access the URL
    bar.
    Thank you all

    If it's PC only, you can use the ActiveX control for free.
    One problem is if
    it's for filling out forms the tab key doesn't work.
    "medonald1" <[email protected]> wrote in
    message
    news:f7ggk1$frb$[email protected]..
    > Hello All,
    >
    > Is there a way for me to tell Director to bring up a web
    page inside the
    > stage?
    >
    > I would like to have my own buttons on the lower half of
    the window and a
    > internet browser on the upper half.
    >
    > Also I would like the user not to be able to access the
    URL bar.
    >
    > Thank you all
    >

  • Ff24, windows 8: displaying bookmarks in a sidebar no longer resizes the web pages to the remaining viewable area. ff24 does do it on my other windows 7 pc's

    ff24, windows 8: displaying bookmarks in a sidebar no longer resizes the web pages to the remaining viewable area. ff24 does do it on my other windows 7 pc's

    Are you sure that you are opening the Bookmarks sidebar and aren't using the Bookmarks Menu button that show the bookmarks in a drop-down list?
    Firefox has two bookmark buttons with a star in the Customize window.<br />
    One star button has a drop-marker that open the Bookmark menu and may appear on the Navigation Toolbar or on the Bookmarks Toolbar if the menu bar is hidden.<br />
    The other star button without the drop-marker opens the bookmarks in the sidebar (View > Sidebar > Bookmarks).
    You can drag the Bookmarks menu button with the drop-marker in the Customize window from the toolbar palette on a toolbar (e.g. Navigation Toolbar or Tab Bar or to the left side of the Bookmarks Menu Items).<br />
    If you do not see the drop-marker then try them both to see which works.
    *https://support.mozilla.org/kb/How+to+customize+the+toolbar
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
    *You can toggle the Bookmarks sidebar via View > Sidebar > Bookmarks (Ctrl+B)
    *You can toggle the History sidebar via View > Sidebar > History (Ctrl+H)

  • Why don't any web pages fit the screen? I have to zoom adjust every single page.

    why don't any web pages fit the screen? I have to zoom adjust every single page.

    You can use an extension to set a default font size and page zoom on web pages:
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • Printing does not print the web page only the http info at top of page and dated and time at bottom of page, nothing in between. help! Thanks.

    Printing a web page works fine from the microsoft windows browser but fire fox browser will not print a web page only the heading at the top and the date and time at the bottom.

    Does that happen on all pages or only on some?
    You can try to reset the print prefs on the about:config page.<br />
    * http://kb.mozillazine.org/Problems_printing_web_pages
    You can open about: pages via the location bar like you open a website.

  • How can I upload my web page to the internet?

    How can I upload  my web page to the internet. When I click on "publish" it automatically takes me to mobileme - which is no longer accepting members..

    http://financialbin.com/2011/06/13/steve-jobs-confirms-discontinuation-of-iweb-i n-icloud-transition/
    I don't think you can upload pages from iWeb anymore.
    Information about the MobileMe transition

  • My MacBook Air won't load web pages from the internet. It will connect to phone hotspot and run fine. The apple store reset the library and network preferences and it ran fine for a little bit, now slow again. Any ideas?

    My MacBook Air won't load web pages from the internet. It will connect to phone hotspot and run fine. The apple store reset the library and network preferences and it ran fine for a little bit, now slow again. Any ideas?

    My MacBook Air won't load web pages from the internet. It will connect to phone hotspot and run fine. The apple store reset the library and network preferences and it ran fine for a little bit, now slow again. Any ideas?

  • Why will safari not load web pages with the prefix "fhp"?

    Why will safari not load web pages with the prefix "fhp"?

    Because it doesn't recognise them as valid addresses - just as the error message  says.
    Firefox is similar : Firefox doesn't know how to open this address, because the protocol (fhp) isn't associated with any program.
    Where are you seeing this problem ?.

Maybe you are looking for

  • DVD encoded with PQDVD converter is not full screen on iPod

    I have just encoded a DVD with PQDVD iPod converter (www.pqdvd.com), it has an aspect ratio of 2:40:1. I stretched the movie in pqdvd to 320X240. Once finished when I watch it on my iPod it isnt full screen with black bars on top and bottom. I have t

  • Cannot open older pictures in iPhoto library after upgrade

    Hey there! I just updated my iPhoto from 6.? to iPhoto '08. When I open it, I can access events & pictures that are almost a year old, but no older. When I open the iPhoto "package" on my desktop, I find all of my older photos, still intact. How can

  • How do you add a waypoint to your itinerary in maps?

    How do you add a waypoint to your itinerary in maps?

  • Screen captures now replaced by "checkerboards"

    Back in the days of 10.5, I used to be able to grab screen shots (still images) from movies and TV shows using shift-cmd-4 (e.g., in iTunes or Quicktime Player). Now, I just get a gray checkerboard pattern where the show used to be. Is this a "hardwa

  • WebGain Studio

    Does someone know when WebGain Studio will be released? And is this product all that its touted to be? Regards Raja