Center and Left Justify Web Pages

How can web pages be set up to center when the browser window
is wider than the fixed width web page and left justify when the
window is narrower than the web page? yahool.com is an example of
this type of behaviour. I'm using CS4.

Completely wrong approach. There's no need to use any
positioning at all
(including anywhere in your page).
#frame {
width:1024px; /* too wide in my opinion */
border: 5px solid #669158;
background-color: #F3EDD6;
margin:0 auto;
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"CA Traveler" <[email protected]> wrote in
message
news:gkq96m$plu$[email protected]..
> I'll check out the DW Sample page.
>
> Here is the prototype website
http://test.ironoakconnection.org/
>
> Below is the #frame css that I used to center and then
left justify the
> pages.
>
> /* original centered no horizontal scroll bar
> #frame {
> width: 1024px;
> border: 5px solid #669158;
> left: 50%;
> position: absolute;
> top: 0px;
> background-color: #F3EDD6;
> margin-left: -517px;
> }
> */
>
> /* left justified except for margin-left with scroll bar
> #frame {
> width: 1024px;
> border: 5px solid #00F;
> left: 0%;
> position: absolute;
> top: 0px;
> background-color: #393;
> margin-left: 5px;
> color: #FFF;
> }
>

Similar Messages

  • I've lost the arrows on my Safari toolbar that allow me to browse back and forth on web pages. Any  solutions guys?

    I've lost the arrows on my Safari toolbar that allow me to browse back and forth on web pages. Any  solutions guys?

    Thanks everyone! Felt a complete twit. Went to view, customize toolbars and then dragged the arrows back into the toolbar.  No idea how we lost 'em though.

  • I just upgraded to Lion and switched my web page from MobileMe to Godaddy. But since upgrading to Lion a video I placed on my web page no longer shows up. instead I get "plug-in failure". That didn't happen until the Lion Upgrade what do I do?

    I just upgraded to Lion and switched my web page from MobileMe to Godaddy. But since upgrading to Lion a video I placed on my web page no longer shows up. instead I get "plug-in failure". That didn't happen until the Lion Upgrade what do I do?

    What's the format of your video? That will give you a hint as to what plugin is failing (or missing).
    If you don't know, what's the URL of your site - it shouldn't take long for someone to work out the specifics.

  • Just moved to ISP PLUSNET and now loading web pages is dead slow

    Just moved to ISP PLUSNET and now loading web pages is dead slow.
    Like loading google will sometimes take 30 seconds to 1 minute but it used to load in a fraction of a second on my previous ISP.
    Sometimes a new URL will take over a minute so I hit Stop Loading This Page and then try again and sometimes it might load instantly, or if not, it might continue to just drag on again.
    It's so frustrating it's like being back on dial-up connection - but worse.
    It feels like PLUSNET have put something on my Mac to slow it down.
    PLUSNET has a restriction on how much I can use per month, which my previous ISP did not have, but according to PLUSNET's usage checker I am nowhere near the max, ie, I am allowed 10GB per month but the checker is showing I have used less than 100 MB so far this month.
    I wonder if the PLUSNET usage checker is slowing down my usage coz it's really noticeable that it has only started to run slow since I moved to PLUSNET.
    When I run a broadband speed check it always shows the feed coming in at around 5500 kbps or so which should be OK.
    PLUSNET told me to go through their test page and I got to the part where it says install a Virus checker and an Adware checker but I'm not sure which ones to use coz I heard some of those checkers are themselves plants that infect you with a virus or keystroke logger.
    Also I have Block Pop UP Windows running on Safari but yesterday a window popped up so that blocker seems to have been compromised somehow.
    I have 17GB available on my HD of a total of 38GB.
    Can anyone help me with this problem please?

    (First, if yours is an Intel Mac, check that Safari is not running in Rosetta, which is enough to slow it to a crawl. If you are running Snow Leopard, run Safari in 32 bit not 64 bit.)
    Adding DNS codes to your Network Settings, should gives good results in terms of speed-up:
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu. Click on TCP/IP and in the box marked 'DNS Servers' enter the following two numbers:
    208.67.222.222
    208.67.220.220
    (An explanation of why that is both safe and a good idea can be read here: http://www.labnol.org/internet/tools/opendsn-what-is-opendns-why-required-2/2587 /
    Open DNS also provides an anti-phishing feature: http://www.opendns.com/solutions/homenetwork/anti-phishing/ )
    Wikipedia also has an interesting article about Open DNS:
    http://en.wikipedia.org/wiki/OpenDNS
    Whilst in System Preferences/Network you should also turn off 'IPv6' in your preference pane, as otherwise you may not get the full speed benefit (the DNS resolver will default to making SRV queries). If you want to know what IPv6 is:
    This is Apple's guidance on iPv6:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8708.html
    Click on Apply Now and close the window.
    Restart Safari, and repair permissions.
    If that didn't do it, then try this as well:
    Empty Safari's cache (from the Safari menu), then close Safari.
    Go to Home/Library/Safari and delete the following files:
    form values
    download.plist
    Then go to Home/Library/Preferences and delete
    com.apple.Safari.plist
    Repair permissions (in Disk Utility).
    Start up Safari again, and things should have improved.
    More useful information here:
    http://guides.macrumors.com/SpeedupSafari
    Less likely, but possible, is that the slowness is caused by a Trojan such as the one called 'DNSChanger' or 'OSZ.RSPlug', which can alter the DNS settings of your network connection. This particular Trojan can be inadvertently installed if you have come across certain Quicktime movies where got a window stating that you have to download and install a particular codec in order to see the video.
    If you have agreed to that installation, your system can be infected and your DNS settings altered, which results in your system using the wrong DNS servers, which can slow web surfing to a crawl.
    This can be fixed by downloading and running a freeware utility called DNSChanger Removal Tool which you can download from here:
    http://www.versiontracker.com/dyn/moreinfo/macosx/33696
    Once you have run that utility you have to re-boot your Mac, then reset Safari, and re-enter your DNS settings in System Preferences/Network.

  • HAVE ONE WEB PAGE OPEN AND SUDDENLY ANOTHER WEB PAGE OPENS

    I can have one web page open and suddenly another web page will pop up. Why? It doesn't happen all the time. Like I said suddenly.

    Another thing you can try doing is scanning for Malware:
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    What is the website that opens up? Is it always the same, always different, one of a few, etc?

  • Can I used Dreamweaver CS5.5 to learn to build and style a web page? I see the CC version but I want to use the earlier version. THx

    Can I used Dreamweaver CS5.5 to learn to build and style a web page? I see the CC version but I want to use the earlier version. THx

    you can use the 30 trial and/or purchase from a 3rd party.
    for the trial:
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  6| 5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • My new iphone4 won't connect to the app store or iTunes. It says cannot connect to iTunes. But I logged into the game center and onto this web sit. I tryed some fixes on here but nothing has worked. Suggestions?

    My new iphone4 won't connect to the app store or iTunes. It says cannot connect to iTunes. But I logged into the game center and onto this web sit. I tryed some fixes on here but nothing has worked. Suggestions?

    HI again Andy,
    The last message had some more stuff in between the "Hello" and "Regards" - I have no idea what happened to it. But nevermind...
    I started up the Mini with the modem in one usb, and the speaker system in the other (M-Audio Sonica Theatre) - I have one of the Minis that have only 2 USB (and one FireWire) ports. The firewire has the external drive connected to it.
    So far, as I"m typing this, I AM able to be online and use iTunes simultaneously. (both SaFari and iTunes respond slower than if I was using only one or the other, but they ARE actually working - in addition to having Adium running) - So I think what you suggested ( that is was something wonky was the USB hub) was a correct, yet assessment.
    Would you have any reccommendations for USB hubs? The only thing that I have connected to the hub under normal circumstances that would be constantly "running" would be the RadioShark (even though the Radio soft isn't playing - the blue light on the RadioShark is always on) - and the speakers naturally. Everything else is of the occassional variety - iPod Sync Cable, Dual Layer External DVD Burner, and a "pass thu" to the USB ports on my Hard Drive Enclosure (which had been unplugged before the problem was noticed). The hub I current use is the
    Kensington DomeHub USB 2.0 (7 ports) Weighted Hub 33118 http://www.amazon.com/Kensington-DomeHub-ports-Weighted-33118/dp/B0002FHENE/ref= sr16/002-4275642-8664817?ie=UTF8&s=electronics&qid=1187848108&sr=8-6
    which (I thought) worked better than the "throwaway" ones I had used previously.
    You think it is the hub or something connected to it that may be causing the problem?
    Regardless, thank you for your time, and I hope to hear from you soon.

  • Storing username and passwords in web pages on safari

    Hi folks
    I am using an iPad 1 and wish to change my previous decisions regarding saving usernames and passwords for web pages within the safari browser.
    I guess I have hit the "do not save" or similar option at some stage and I now wish to recall the username and password in future.
    Any help would be really appreciated

    Make sure that Settings > Safari  > AutoFill > Names And Passwords is set 'on'. To be able to store them for sites that you've previously said 'no' to you may also need to clear Safari's history and cache : Settings > Safari > Clear Cache (and Clear History). And possibly clear cookies : Settings > Safari > Clear Cookies

  • Hanging and non loading web pages but random

    Hi New to this so please excuse me if it doesn't make complete sense! We have been on BT infinity since Oct 2011 but we have been experiencing problems with access to certain web pages the pages either do not load or it just hangs, this has now been going on for about 6 weeks but it has now got a lot worse, we have had a friendly IT specialist look at our computer and he is now of the opinion that the problem lies with either the BT line or router, please see below what we/friendly IT specialist have done and please advise if our next step is to speak with BT?
    Thanks Mick
    Issue
    Vista Client Service Pack 2 laptop slow Internet performance failure to access some web pages.
    Known Troubleshooting Approach
    **** One or more combined of these operations would normally resolve in most cases ****
    Initially checked over system settings and allowed pending windows systems updates and other updates.
    Removed Trusteer Rapport software (known issues with slow performance) 
    Updated JAVA & Full re-install of Adobe Flash Player (components required for website animations\operations)
    (Note : Adobe Flash Component was not registered)
    Cleared Internet temp files (delete of web files\history\cookies etc)
    Reset of Internet Explorer settings (to address instability issues with Internet Explorer)
    Microsoft Security Essentials (Combined Anti Virus & Anti Malware Software)
    Quick scan (15 mins usually scans core components) -all clear
    Full scan (left to run approx 2 hrs) usually not necessary - all clear
    Reset of router & restarts of router (homehub) over time
    (which included off for more than 15 mins)
    Power off of BT wall device (additional equipment involved with BT set up) and router at same time
    Laptop still slow hard wired to router (as in Ethernet cable from laptop to port on homehub)
    Checked for clean uninstall of Trusteer Rapport software
    (Checked registry which is heart of operating system settings for traces of Trusteer)
    Actually downloaded Trusteer Uninstall ulitility to ensure clean uninstall
    Install of Google Chrome (alternative Internet browser still did not work)
    Uninstall of Google Chrome
    Uninstall of Internet Explorer 9
    Uninstall of Google Desktop
    Uninstall of Mozilla Firefox (alternative browser)
    Also confirmed other laptops (Windows7) & Netbooks experience the same problems

    Hi quinnm5, myself and another poster had replied to your previous thread about the same issue here: http://community.bt.com/t5/BT-Infinity/Broadband-connection-issues/m-p/495109
    If you want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side If the the reply answers your question then please mark as ’Mark as Accepted Solution

  • How to center Text Box on Web Page? -- Web dev with Word 2013

    I'm trying to assist a user who wants to use Word 2013 for simple web page development.
    There are many tools but they want to use Word 2013.
    Actually have it working by saving the Word 2013 files as web pages... like index.htm, about.htm, etc.
    The problem is when we use the "Insert" tab in Word to create a "Text Box" or a "Shape" ...
    And align it centered on the page... it looks fine in Word but when we open it with a web browser the "Text Box" or "shape" are no longeer centered.
    We thought we had it fixed by making the "Text Box" Layout Options "In Line with Text" but again... looks fine in Word but not in a web browser.
    The question: How can we get a "Text Box" in Word 2013 to appear centered on a web page?
    thanks for any help.

    Hi:
    For webpage design, I would suggest customized form under develop tab on the Ribbon over insert object directly. I tested from my side, using customized form will lock the object position on the
    page.

  • When I try and print a web page in the print screen ALL the Print Frame options are greyed out. It won't let me print a page as I see it. I need to pring a page as is. How do I do it in the new 8.0??

    I go to print and try to select the radio button to print all frames, but It's not working

    The '''Print Frames''' options are greyed out unless the web page is made with Frames. I-Frames don't work the same.
    Check out this '''''frames test page''''' - http://www.draac.com/framestest.html <br />Is the '''Print Frames''' part of the print dialog box active?
    As far as printing a page as you see it, many web pages use '''print.css''' files for print-media. The print.css specifies exactly what is to be sent to the printer and it can control the formatting of the printed page.

  • IS THERE ANYONE LEGITIMATE THAT KNOWS WHY I CAN CONNECT TO INTERNET WITH A IBOOK G3 AND NOT OPEN WEB PAGES?  ONLY HAPPENS WITH MY LANDLORDS ROUTER THAT HE HAS PROVIDED THE PASSOWRD FOR. ONLY WAY I CAN CONNECT TO HIS SERVICE IS IF HE HAS FIREWALL DOWN. WE

    PLEASE ONLY RESPOND IF YOU KNOW HOW TO CORRECT THE PROBLEM. I'M CONNECTED TO MY LANDLORDS INTERNET VIA AN EXT NETGEAR ROUTER, PASSWORD PROTECTED, THAT HE HAS PROVIDED WITH A G3 IBOOK. FULL SINGAL, CAN'T OPEN WEB PAGES. HAS NEVER HAPPENED BEFORE.

    That's because your landlord probably is using WPA2 encryption or 802.11g or 802.11n wireless.  The iBook G3 lacks support for WPA2 encryption, which is much stronger than WEP and the original WPA.   It also only has support for 802.11b.     If you want to join a newer router with a secure firewall, get an 802.11g or better wireless ethernet bridge.
    P.S. Please avoid from using all UPPERCASE.     It is hard to read, and in internet etiquette it means you are attempting to shout and be rude.  I'm sure that was not your intent.  So please avoid from doing that again.  Thank you.
    P.P.S.  10.7.1 can't run on an iBook.   Are you sure you have an iBook and 10.7.1 is on it?  If it doesn't say iBook on your screen frame, or Apple menu -> About This Mac doesn't say Mac OS X 10.7.1, it is not 10.7.1, or an iBook.    MacBooks, which replaced iBooks in 2006, and later came out with Core2Duo and Core i processors, are the only Apple notebooks that can run 10.7.1.

  • Rt justified and left justified in the same line

    Hi Geeks ,
    i need help regarding scripts 
    i want text to be printed left justified and amount at right justified
    in same line
    TAX                                                                           12.000
    Total                                                                          140000

    in se71
    go to Paragraph formats choose a parag  which ur using
    do to tabs there u can defain as per ur req.......
    and u can use  it in editor......
    if it is useful Plz reward
    Regards
    Anbu

  • SSL usage in JAVA servlet and JSP based web page

    I have several question to adjust security setting of my web page.
    First of all, When do we need SSL in web pages, are you advise to use this technique in medium level security needed web page which means no commercial data just information based..And Second question is if I need , How do I use SSL (secure socket layer) in my web page or what do I need to implement it in my JSP pages?
    My IDE is Websphere 5.0 and server is tomcat 4.1 and database server MS sql server 2000.
    Please don't answer my question with just giving URL's, try to explain me something detailed and supported with URL's and examples. I am just a beginner in security topics (specially SSL).
    If you help me, I am really appreciated.
    Thanks in advance.
    Ergin

    I have several question to adjust security setting of my web page.
    First of all, When do we need SSL in web pages, are you advise to use this technique in medium level security needed web page which means no commercial data just information based..And Second question is if I need , How do I use SSL (secure socket layer) in my web page or what do I need to implement it in my JSP pages?
    My IDE is Websphere 5.0 and server is tomcat 4.1 and database server MS sql server 2000.
    Please don't answer my question with just giving URL's, try to explain me something detailed and supported with URL's and examples. I am just a beginner in security topics (specially SSL).
    If you help me, I am really appreciated.
    Thanks in advance.
    Ergin

  • Loading Authoring Applications like MS OFfice and CorelDraw in Web Pages in

    Hi Everyone,
    I am trying to load any authoring application like MS office, Open Office, Photoshop Accounting Application etc in a web page am designing and I don't know how to go about this. In VB this can be done using Object Linking and Embedding (OLE) but I don't know how to do this with Java Server Faces (JSF). But meanwhile am thinking of using OpenDoc and I don't have enogh facts on it. Please if anyone can help me please I'll appreciate it. You can get me through my email [email protected] or simply paste it here in the forum. It is urgent Thanks

    Go with Libre Office! It's better than Open Office, and it's very similar to MS Office. It's just as easy to use and very similar. Here's a screenshot I took so you can get an idea of just how similar it is.

Maybe you are looking for

  • Problem with page size using Illustrator CS5

    I am using Adobe Illustrator CS5. I have created a multi-layered document that is 8.5 x 11 inches. In looking at the document on the screen, it looks like the proper size, and if I were to print it out, it looks correct. However, when I export it as

  • SWITCH step in BPM

    Hi, I am designing one BPM. In my incoming payload there is one field,on the basis of this field I have to decide receiver in runtime. Please guide me to disgn this BPM. I have put switch step ,but I am getting error in BPM. Waiting for reply.

  • How do i sync my ipod to my mac if i previously had a windows?

    I just recently purchased a MacBook and love it! My only issue is when i hook my ipod up to the mac it won't sync and i know it's because i used to have a windows but how do i fix this problem so i can put all of my music from my ipod onto the mac? P

  • How can i check to see if an object is already in the array list?

    while (res.next()) {                 Schedule schedule = new Schedule();                 customerName = res.getString("CUSTOMERNAME");                 schedule.setCustomerName(customerName);                 magName = res.getString("MAGNAME");        

  • APP-ALR-04106: Please correct the user-defined SQL statement for this alert

    Hi All, I have created an alert for engineering module in R12. It got tested and was working fine. when the user testing it, while trigger the alert getting the error, "APP-ALR-04106: Please correct the user-defined SQL statement for this alert". whe