How Center any page in the web browser and make the tag div main to kiss the top of the page?

Okay, so I got in trouble with a couple of things. One, when I look at the my page in live view, it is perfectly centered, but when I open in a web browser, it is on the left of the page. Two, I can not get the main div to kiss the top of the page. Here is the code, so I hope someone can help out me. = P

< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "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 = UTF-8 "/ >"

< title > sheet of copper through < /title >

< style type = "text/css" >

.main {}

Width: 980px;

}

{.bannerarea}

height: 200px;

Width: 950px;

}

< / style >

< style type = "text/css" >

{#apDiv1}

position: absolute;

Width: 200px;

height: 115px;

z-index: 1;

left: 74px;

}

{#apDiv2}

position: absolute;

Width: 360px;

height: 226px;

z-index: 1;

left: 95px;

top: 136px;

}

{#apDiv3}

position: absolute;

Width: 445px;

height: 297px;

z-index: 1;

left: 519px;

top: 299px;

}

< / style >

< link href = "CLC/CLC.css" rel = "stylesheet" type = "text/css" / > "

< style type = "text/css" >

{#apDiv4}

position: absolute;

Width: 447px;

height: 300px;

z-index: 2;

left: 517px;

top: 628px;

}

{#apDiv5}

position: absolute;

Width: 479px;

height: 292px;

z index: 3;

left: 33px;

top: 291px;

}

{#apDiv6}

position: absolute;

Width: 950px;

height: 242px;

z index: 4;

}

{#apDiv7}

position: absolute;

Width: 480px;

height: 300px;

z-index: 5;

left: 34px;

top: 627px;

}

< / style >

< / head >

< body >

< div class = 'hand' >

< div id = "apDiv6" > < img src = "CLC/features" width = "950" height = "250" alt = "BanniΦre" / > < / div > "

< p > < / p >

< p > < / p >

< div class = "text" >

< p > < / p >

< p > < / p >

< p > < / p >

< p > < / p >

< p > < / p >

< div id = "apDiv5" >

< h3 > < strong > copper crossing sheet < facilities > is an acre 23 complex dedicated to the care of animals. We have created a warm and friendly destination for lovers of pets. Weather you have a cat or Canary, a dog or a frog, we can help you take care of your pet. On campus, you will find: < / h3 >

< p > < a href = "f" > < strong > Animal Kingdom Veterinary Hospital < facilities > < /a > - their staff compassionate and is specialized in the care of domestic and exotic animals. < /p > medical

< p > < a href = "f" > < strong > Comfort Bed & amp; Bath < facilities > < /a > a great pet pension for dogs, cats, birds, reptiles and small mammals which also offers grooming of animals. < /p >

< p > < a href = "thereatureconservancy.org" > < strong > The Creature Conservancy < facilities > < /a > - an organization non-profit unique offering various educational programs with exotic animals, summer camps, visits and a variety of animals on display. "" < /p >

< p > < strong > < a href = "f" > dogwood Veterinary Referral Center < /a > < / strong >-a centerthat one full service surgery and Imaging provides exceptional care for pets with neurological problems. < /p >

< / div >

< p > < / p >

< p > < / p >

< p >

< div id = "apDiv4" >

" < iframe width ="444"height ="250"frameborder ="0"scrolling =" "marginheight ="0"marginWidth ="0"src =" http://maps.google.com/maps?f=q & source = s_q & hl = in & geocode = & q = 4940 + ann + rd + ann arbor-saline + + a ROOR + MID + 48103 & aq = & sll = 42.250821, - 83.756397 & DPA = 0.004813, 0.008476 & ie = UTF8 & hq = & hnear = 4940 + nn + Arbor-saline + Rd, + Ann + tree + Charter + canton + Michigan + 48108 & he's = 42.21421, - 83.797332 & spn = 0.004815,0.008476 & t = h & z = 14 & output = embed "> < / iframe > .

< p > 4940 Ann Arbor Saline RD Ann Arbor MI 48103 < /p >

< / div >

< br / >

< p > < / p >

< / blockquote >

< / div >

< p > < / p >

< blockquote >

< p > < / p >

< blockquote >

< p > < / p >

< / blockquote >

< / blockquote >

< div id = "apDiv3" > < img src = "CLC/arialCLC.jpg" width = "444" height = "300" / > < / div > "

< p > < / p >

"< div id ="apDiv7"> < img src ="... / downloads/copy of PICT0029. Width of "JPG" = "444" height = "300" / > < / div > "

< / div >

< / body >

< / html >

Thank you! (The site is not live yet, it's that I would have just posted the URL.)

Add:

.main {}

Width: 980px;

Auto margin: 0;

position: relative;

}

Tags: Dreamweaver

Similar Questions

  • How can I connect through a Web browser?

    When I tried to connect to check my mail, I suddenly got an error message stating that I need to connect via a web browser, and since I can't connect. I haven't changed the settings and do not know what is actually wrong.

    Your email provider will have a web page where you can connect to your e-mail account. Use an Internet browser to access your web e-mail providers page and sign in to your account. You will need to ask your provider about the error message since it is coming from them.

  • How to upgrade Safari is a Web browser supported?

    How to upgrade Safari is a Web browser supported? My main browser is Yahoo. After the update to my OS X 10.6.3 to 10.6.8 I tried to access my email through Yahoo. Before the upgrade, my Yahoo mail had to be basic messaging. I was hoping once I upgraded to 10.6.8 I would be able to upgrade to the latest features of Yahoo mail. He said that I use a browser not supported. When I clicked on upgrade of your browser, it took me straight to Firefox to download. I downloaded Firefox. I can access the new Yahoo mail via Firefox, but, not through Safari. How can I also make Yahoo mail on Safari?

    Open the Mac App Store and try to download El Capitan. If you get told that it is incompatible with your computer or not desired, choose about this Mac from the Apple menu, check if the computer has at least a Xeon or CPU Core 2 Duo(not Core Duo) and 2 GB of RAM, and if this is the case, click here and order a download code for Lion 10.7; the Apple Online Store also sells codes for 10.8 Mountain Lion to download, but it has the same system requirements as El Capitan. Note that if the maximum of your computer operating system is 10.7.5, you will probably still need to use Firefox.


    Back up your data and control your applications for compatibility before upgrading. In particular, Mac OS X 10.7 and newer do not support PowerPC programs such as versions of Microsoft Office prior to 2008.


    (137973)

  • How to switch web browser and which one should I use

    How to switch web browser and which one should I use thanks

    FireFox.
    http://www.Mozilla.org/en-us/Firefox/new/

  • need help! How to open a folder via web browser

    Hi all LV'ers.

    as indicated in the subject, I try to find a way to display the shared folder w / in the network of the company via web browser. is this possible? is there an easier way? I never been used FTP vi before any other vi or to deal with this situation, but I tool of web publishing successfully used to access from the front before LV remotely using "web publishing tool. BTW, im using LV 8.5.1.

    My goal for this is to let our boss to have quick access to data from excel files (w / "s" because many excellent report file is generated daily data updates) lay in the remote computer (this computer runs the LV program and we can view its façade remotely via web publishing tool (, but I also need to consult the file on this computer that contains the files). That's why im finding a way to access a specific excel file, but a specific folder. of course, we can access the folder through "my network places > entire network > microsoft windows network" If the folder is shared, but our boss is a lot easier if we LV programmers can create a button to lead automatically to the folder containing the files they need.

    I hope that someone already dealing with that can shared their solutions.

    appreciate your help!

    Kind regards

    Ivel

    problem solved...

    just to share with others who may encounter the same problem. the conflict is when opening a file from the remote computer (Chinese OS) w / Chinese characters in its file name with the computer that cannot recognize a Chinese police (English OS). I tried my VI (joint in the 5th msg) into the computer using the Chinese version of the OS (w / installed in LV) and it can open the Excel in remote areas with success.

    So I can change the OS version of the remote computer in English version to avoid conflicts in the future... in any case, here is the picture of the conflict. the attached VI before is OK...

    Thank you guys for coming by... This LV forum helps me a lot to learn LV software very quickly in a way that I could ever imagined...

    Xiexie!...

  • How to get out of my web browser application but beginning

    Hi all, I have a code that allows me to t odetect if a new version of my application is

    available, and I want to show a dialog if it is giving the user the ability to update/upgrade

    If they responde Yes. So I'm thinking something like what I have below might work, but its broke. :-(

    Object versionFromDb = Db.getVersion();
    
    String versionFromDescriptor =         ApplicationDescriptor.currentApplicationDescriptor().getVersion();
    
    if ((versionFromSecurityData != null) &&
        !versionFromSecurityData.equals(versionFromDescriptor))
    {
       String expandedText = "New Version Available. Do you want to exit and install?";
       int ret = Dialog.ask(Dialog.D_YES_NO,
                            msg,Dialog.NO);
    
       if(ret==Dialog.YES)
       {
         super.close(); // close main application
    
         // Get the default session
         BrowserSession browserSession = Browser.getDefaultSession();
         // now launch the URL
         browserSession.displayPage(http://www.myserver.com/myapp.jad);
    
         System.exit(0);
        }
    }
    

    I tried the command of part of the foregoing (0 and output (0, but maybe I'm not on this right, of course if I remove the super.close () and the System.exti (0), the browser burst, but I want nearby))

    for auto output and have the web browser remains open and headed to the new version.

    is it possible, or I'm going about this all wrong?

    Thank you rim

    When you call super.close (), and the display battery is empty after closing the window, System.exit (0) is called automatically. Close() returns never so, your browser code never runs.

    Get rid of the call to close() or move it to where you call System.exit (0) and get rid of the latter.

  • How do Audio/Vedio streaming between web cams and back-end servers?

    I want to implement an internet chat application, I mean, I want a front end, which connects a web cam (microphone and speaker). So I can send video and audio on a back-end server (Flash streaming? but I don't know what a good product out there, I can use) and also send A / V on another computer on the internet. Need in other words, a front end that sends one premises / webcam v (& mic) for the backend and receives remote has / v of backend for webcam (and speaker) + backend streaming server.

    Any suggestions for techniques to use? What streaming flash backend server I should sue? How to acquire A / V of webcam (& mic) and how to send A / V for webcam & speaker to play?

    Thank you very much!

    Before the end of development:-you can use Flash CS4/CS5 or Flex Builder.

    Dorsal programming - programming side server is essentially using ActionScript. You can use Flash CS4, but there is no need special tool creation, you can do with the same text editor. After that you create, you just need to place the files in the right place on FMS.

    Front-end length - you just need Flash Player installed, mainly ActiveX or plugin in your browser - which you would already have now

    Also, if you decide to write the AIR application to your front-end, you need AIR - what is free again

    Hope that answers your questions

  • EBS 11i: how to disconnect users who are web server and not yet on forms

    Hi all

    I would like to know how we can disconnect users that are web server and server not yet on the forms.
    What we do is the following:
    Adapcctl.sh for the 1-stop web server stop
    2-change AppsLocalLogin.jsp to a static page that say we are in maintenance
    3 - start web server adapcctl.sh start to ensure that users can see maintenance page

    The problem is users finding themselves in the web server (first page) but who have not yet open forms pages can still access the app after the point number 3-

    Is there a solution for this problem? Do know us what users are on the web server, but not in the forms?

    Thanks in advance.

    So in servlet mode, everyone will be disconnected

    Fix.

    What type of customizations will be unavailable? Functional customizations? New tables, simultaneous new programs, new data loaded? The thesis is available even without bouncing apache.

    Since you have posted this question in the forum 'Technology - OA framework', I assumed that we are talking about only jsp pages.

    Thank you
    Hussein

  • When embedding the HTML table for table border does not appear even if it appears in a web browser and the tables generator

    Need help.  When I add the HTML code to integrate the following table, the border appears in the table designer and if I find the table separately from muse, but when they are incorporated into the Muse from the edge of the table is not displayed.  Any ideas what I can do wrong?

    Here is the HTML Code below:

    < style type = "text/css" >

    .TG {border-collapse: collapse; border-spacing: 0 ;}}

    .TG td {-font family: Arial, without serif; do-size: 14px; padding: 10px 5px; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal ;}}

    .TG th {font family: Arial, without serif; do-size: 14px; police-weight: normal; padding: 10px 5px; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal ;}}

    .TG .tg-jlrw {do-size: 16px; text-align: center}

    .TG .tg-lvl4 {police-weight: "BOLD"; do-size: 16px; do-family: Arial, Helvetica, sans! important; text-align: center}

    .TG .tg-qnmb {make-weight: bold; do-size: 16px; text-align: Center}

    .TG .tg-wm6t {make-weight: bold; do-size: 16px}

    < / style >

    < table class = "tg" style = "undefined; table-layout: fixed; Width: 875px ">"

    < colgroup >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < / colgroup >

    < b >

    < class th = 'tg-lvl4' > print size < br < /th > >(Width x Height)

    < class th = "tg-qnmb" > model size < /th >

    < class th = 'tg-qnmb' > < /th > < br > security zone

    < class th = "tg-qnmb" > < br > print Code < /th >

    < class th = "tg-qnmb" > < br > < br > graphic border width (pixels) < /th >

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > cards & amp; The year-at-a-Glance calendars - 4 x 6, 4 x 8, 5 x 7, 6 x 8, & amp; 8 x 10: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 6 < table >

    < class td = "tg-jlrw" > 1212 x 1818 < table >

    < class td = "tg-jlrw" > 1136 x 1742 < table >

    < class td = "tg-jlrw' > 46 t < table >

    < class td = "tg-jlrw' > < table > 60

    < /tr >

    < b >

    < class td = "tg-jlrw" > 5 x 7 < table >

    < class td = "tg-jlrw" > 1515 x 2121 < table >

    < class td = "tg-jlrw" > 1439 x 2045 < table >

    < class td = 'tg-jlrw' > < table > 57(d)

    < class td = "tg-jlrw' > < table > 75

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 8 < table >

    < class td = "tg-jlrw" > 1224 x 2424 < table >

    < class td = "tg-jlrw" > 1148 x 2348 < table >

    < class td = "tg-jlrw" > 48 t < table >

    < class td = "tg-jlrw' > < table > 60

    < /tr >

    < b >

    < class td = "tg-jlrw" > 8 x 10 < table >

    < class td = "tg-jlrw" > 2424 x 3030 < table >

    < class td = "tg-jlrw" > 2348 x 2954 < table >

    < class td = "tg-jlrw" > 80 t < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > large Format prints - Posters & Collages: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 6 x 8 < table >

    < class td = "tg-jlrw" > 1818 x 2424 < table >

    < class td = "tg-jlrw" > 1742 x 2348 < table >

    < class td = "tg-jlrw" > 6 x 8 < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < b >

    < class td = "tg-jlrw" > 8 x 12 < table >

    < class td = "tg-jlrw" > 2400 x 3600 < table >

    < class td = "tg-jlrw" > 2380 x 3580 < table >

    < class td = "tg-jlrw" > 8 x 12 < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 8 x 20 < table >

    < class td = "tg-jlrw" > 2400 x 6000 < table >

    < class td = "tg-jlrw" > 2380 x 5980 < table >

    < class td = "tg-jlrw" > 8 x 20 < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 10 x 14 < table >

    < class td = "tg-jlrw" > 3030 x 4242 < table >

    < class td = "tg-jlrw" > 2954 x 4166 < table >

    < class td = "tg-jlrw" > 10 x 14 < table >

    < class td = "tg-jlrw' > < table > 165

    < /tr >

    < b >

    < class td = "tg-jlrw" > 11 x 14 < table >

    < class td = "tg-jlrw" > 3300 x 4200 < table >

    < class td = "tg-jlrw" > 3280 x 4180 < table >

    < class td 'tg-jlrw' = > 14x11E-24_STN < table >

    < class td = "tg-jlrw' > < table > 165

    < /tr >

    < b >

    < class td = "tg-jlrw" > 12 x 12 < table >

    < class td = "tg-jlrw" > 3600 x 3600 < table >

    < class td = "tg-jlrw" > 3580 x 3580 < table >

    < class td = "tg-jlrw" > 12 x 12-24_STN < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < class td = "tg-jlrw" > 12 x 18 < table >

    < class td = "tg-jlrw" > 3600 x 5400 < table >

    < class td = "tg-jlrw" > 3580 x 5380 < table >

    < class td = "tg-jlrw" > 12 x 18-24_STN < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < class td = "tg-jlrw" > 16 x 20 < table >

    < class td = "tg-jlrw" > 4800 x 6000 < table >

    < class td = "tg-jlrw" > 4780 x 5980 < table >

    < class td 'tg-jlrw' = > 20x16E-24_STN < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 18 x 24 < table >

    < class td = "tg-jlrw" > 2700 x 3600 < table >

    < class td = "tg-jlrw" > 2680 x 3580 < table >

    < class td = "tg-jlrw" > 18 x 24-24_STN < table >

    < class td = "tg-jlrw' > < table > 135

    < /tr >

    < b >

    < class td = "tg-jlrw" > 20 x 24 < table >

    < class td = "tg-jlrw" > 3000 x 3600 < table >

    < class td = "tg-jlrw" > 2980 x 3580 < table >

    < class td 'tg-jlrw' = > 20x24E-24_STN < table >

    < class td = "tg-jlrw' > < table > 150

    < /tr >

    < b >

    < class td = "tg-jlrw" > 20 x 30 < table >

    < class td = "tg-jlrw" > 3000 x 4500 < table >

    < class td = "tg-jlrw" > 2980 x 4480 < table >

    < class td 'tg-jlrw' = > 20x30E-24_STN < table >

    < class td = "tg-jlrw' > < table > 150

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 36 < table >

    < class td = "tg-jlrw" > 3600 x 5400 < table >

    < class td = "tg-jlrw" > 3580 x 5380 < table >

    < class td 'tg-jlrw' = > 24x36E-24_STN < table >

    < class td = "tg-jlrw' > < table > 180

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 72 < table >

    < class td = "tg-jlrw" > 2328 x 6912 < table >

    < class td = "tg-jlrw" > 2308 x 6892 < table >

    < class td 'tg-jlrw' = > 24x72E-24_STN < table >

    < class td = "tg-jlrw' > < table > 115

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 96 < table >

    < class td = "tg-jlrw" > 2328 x 9216 < table >

    < class td = "tg-jlrw" > 2308 x 9196 < table >

    < class td 'tg-jlrw' = > 24x96E-24_STN < table >

    < class td = "tg-jlrw' > < table > 115

    < /tr >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < class td = "tg-wm6t" colspan = "5" > 4 x 8 gift tags: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 8 < table >

    < class td = "tg-jlrw" > 1224 x 2424 < table >

    < class td = "tg-jlrw" > 1148 x 2348 < table >

    < class td = "tg-jlrw" > 48 t < table >

    < class td = 'tg-jlrw' > < table > N/A

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < /table >

    Once again... Muse removes the style code that you put into this table so your other option is to use an iframe

    example of your table in an iframe = table (by itself) and i-table (inside the iframe Muse)

  • Content of the online help cannot be displayed. Check you can launch your web browser and access to the internet.

    I get this message even with all the Adobe apps I downloaded creative cloud.

    Please visit these links for assistance:

    Resolve connectivity issues

    Log, activation, or connection errors. CS5.5 and later, Acrobat DC

  • How can I add ADOBE Reader Web site and Blogs?

    Hi guyz

    I searched the whole google but not found any way to make this work I have a lot of manuals in PDF and notes like I want the user to read my blog

    [url removed by host]

    1 is all of their license, do I need to buy to fit into the blog and the Web site or its free?

    2 if its paid then what is the price of the license?

    3. How do I integrate with server?

    4. If it is free where can I find code or Java script to put on the website?

    Any help will be appreciated thanks in advance

    Some sites have installed server software to convert PDFS to HTML, but I don't really see the point of this. Many of the benefits of PDF are lost, and PDF viewers are widespread. (For example, built into Safari, Chrome, FireFox, iPhone/iPad, Android, Windows 8). It is an old idea of the time when it was difficult to persuade people to download Adobe Reader.

  • How to put in place two sound devices and make two of them work at the same time?

    I am on Windows 7 Ultimate and I have a problem...

    I downloaded the SRS Audio Essentials software that improves the sound quality

    And I have Realtek audio device which is an audio driver that come with bulit in sound card

    But the problem is that I can choose only one of them as the default audio device

    When I was with Windows Xp, two of them worked at the same time...

    He is the captain:

    http://www.Flickr.com/photos/96392754@N07/8812378555/

    Help, please!

    PS: Sorry for my bad English... ^_^

    Hello

    Unfortunately this does happen, as it is by design,

    Here, a single device can be marked as default device, follow these steps below for more information.

    a. Click Start, type Sound in the box to start the search.
    b. click sound in the results of search at the top of the start menu.
    c. click the reading notice the check mark next to the default device.

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • How canI take a picture of "my pictures" and make it my wallpaper?

    See above

    Hi billys1115,

    You can check if the following items to help you.

    Microsoft Windows XP - change your wallpaper

    Microsoft Windows XP - use an image as wallpaper

  • How to integrate timecode during live video publication and make viewers?

    I managed to publish the video now:

    ...

    ns.attachAudio (mic);
    ns.attachCamera (cam);
    NS. Publish ("name", "record");

    But without time information.

    Has anyone managed to do this?

    Set directly on the NetStream object that is

    NS.someFunction = {function (timedata)}

    your code

    }

  • I have Windows 7 Vista. I asked several times how to open a web browser without using my mouse and the other person has given me the right answer yet, or I misunderstood the answer (the more likely scenario)

    Given that I can't grasp how to open a browser window without using a mouse, it dawned on me that I can open new windows in just a window browser.  In fact, I would like that my home page contains all my most visited sites.  However, I am such a novice at this, I don't understand half the jargon, as what is the difference between a window and a tab.  I am a CPA, and for the first time in my life, I have no support from the computer.  I have called my programmer to answer questions and fix my computer.  Now I'm on my own and not completely lost since I tried to learn from my programmers, but we can't assume that I know nothing (or almost).  Thus, when answering my questions, please pretend I'm in third year.

    What is the difference between a window and a tab, and how can I open multiple windows web browser that a

    Hello tterrie,

    In addition to the link provided by Rick, here's a complete list of available shortcuts Internet Explorer.
    Hope this helps

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for