Center moving browser pages contents using APDiv?

Mac CS4. I am a old GoLive user trying to learn Dreamweaver and obviously carrying baggage. I like to work WYSIWYG rather than heavy code so I have been trying to emulate the GoLive table on the grid to achieve self centering in browsers (see recent job http://www.breweryartists.co.uk ). I have been using APDiv to free position items on the page but cannot find away to group and 'center position. I really like the APdiv way of working and dislike the multiple tables element of Dreamweaver that I have seen in colleagues work, I may be approaching this from an awkward angle so advise would be useful.

I really like the APdiv way of working and dislike the multiple tables element of Dreamweaver that I have seen in colleagues work,
If you like AP divs, you're in for a hard time. Read the following article, which explains the problems you're creating for yourself: http://apptools.com/examples/pagelayout101.php.
"Multiple tables element"? If you're referring to Layout Mode, it has been removed from Dreamweaver CS4. If you're referring to the practice of nesting tables inside each other, that's nothing to do with Dreamweaver, but simply a technique that web developers used for layout in the days before CSS became reliable enough. A lot of designers still cling to tables for layout, but CSS is generally the better way to go: http://www.adobe.com/devnet/dreamweaver/css.html,

Similar Messages

  • Center PDF Page Content Using JS?

    Hi all,
    I have many many pages of PDFs where the content for the page has been aligned to the top left corner of the page.
    Is there a way using the JavaScript API that I can "move" the page content so that it is more centered vertically/horizontally on the page.
    I have done some searches and have tried using the get/set PageBoxes method, I think I am on the right path but I just can't figure it out.
    Any advice would be greatly appreciated.
    Thank you!

    Thanks George.
    I must have stumbled upon that idea right when you were typing your response to me.
    If you change the Media box and the immediately change the Crop box you can then see the "shift" on the page.
    Code below for fellow developers:
    // Get the media box for the page
    var arrMedia = this.getPageBox({cBox:"Media", nPage:0});
    // Set the new media area of the box (in pixels)
    arrMedia[0] -= 90;  // Adjust Left Side - this moves it out 1.25 inches
    arrMedia[1] += 108; // Adjust Top Side - this moves it up 1.5 inches
    arrMedia[2] += 0;   // Adjust Right Side
    arrMedia[3] += 0;   // Adjust Bottom Side
    // Apply the new area to the media box of all the pages
    this.setPageBoxes({cBox:"Media", nStart:0, nEnd:this.numPages-1, rBox:arrMedia});
    // Get the crop box for the page
    var arrCrop = this.getPageBox({cBox:"Crop", nPage:0});
    // Set the new crop area of the box (in pixels)
    arrCrop[0] -= 90;  // Adjust Left Side - this moves it out 1.25 inches
    arrCrop[1] += 108; // Adjust Top Side - this moves it up 1.5 inches
    arrCrop[2] -= 90;  // Adjust Right Side - this moves it in 1.25 inches
    arrCrop[3] += 108; // Adjust Bottom Side - this moves it up 1.5 inches
    // We are doing the opposite on the right and bottom so that we
    // still maintain an 8.5 x 11 sheet of paper in the end
    // Apply the new crop area to the crop box of all the pages
    this.setPageBoxes({cBox:"Crop", nStart:0, nEnd:this.numPages-1, rBox:arrCrop});
    Thanks again George!

  • Read web page content via Sockets

    Hey,
    I have to write a program that will read web page content, using sockets.
    I got that piece of code and it works for most pages:
    Socket socket = new Socket(address, 80);
              BufferedReader input =
                   new BufferedReader(
                        new InputStreamReader(socket.getInputStream()));
              PrintWriter output =
                   new PrintWriter(socket.getOutputStream(), true);
              output.println("GET " + pageName);
              String response = "";
              String curline  = input.readLine();
              int i=1;
              while(curline != null){
                 response += "\n" + curline;
                   curline   = input.readLine();
                   System.out.println(i + curline);
                   ++i;
              output.close();
              input.close();but not for the one it is supposed to work:
    http://portalwiedzy.onet.pl/tlumacz.html
    I could get it to work using this:
    URL url = new URL(host + query);
    URLConnection uc = url.openConnection();but I really have to use sockets.
    Any advice, people? :-)

    There's an RFC that goes over the HTTP protocol (or rather, several RFCs for the several versions of the protocol). You probably want to google for that and use it as a reference for this project.

  • Centre Align Web Page Content

    Hi,
    Need some help center aligning web page content when it maximizes or is resized. I have grids, panels, etc and want these to center on page.
    Is there a property of the page/body/head/form/div that can be set for this or is javascript required to achieve this.
    Any help mcuh appreciated.
    SNI

    Hi,
    I tried what the thread did and still cannot my layout panel to center align.
    This is my jsp line:
    <ui:panelLayout binding="#{Login.pnlLogin}" id="pnlLogin" style="height: 306px; left: 382px; top: 216px; text-align: left; vertical-align: middle; width: 100%; -rave-layout: grid; horizontal-align: left;">

  • Added URL in Static Text To Open in New Browser Page

    Hi to all,
    We have added a static text with a url, to open in a new browser page. The url works as it opens in the current browser. But we would like to open in new browser page.
    we used a similar notation like the following in the static text:
    href=www.oracle.com
    target="_blank">Oracle</a>
    but this does not open in new browser.
    target="_blank" tag should open in new browser
    Does anyone have an idea what maybe happening.
    Edited by: KF~PTP on Feb 18, 2010 12:05 AM
    Edited by: KF~PTP on Feb 18, 2010 12:05 AM
    Edited by: KF~PTP on Feb 18, 2010 12:07 AM
    Edited by: KF~PTP on Feb 18, 2010 12:09 AM
    Edited by: KF~PTP on Feb 18, 2010 12:09 AM
    purposely left out <a tag from reference....as in my post....only the link was coming about.

    Introduce a "target=blank" into the HTML code!

  • UI element in Webdynpro to align the content area at the center of the page

    Hi Experts,
    I am looking for a UI element in webdynpro which can keep the entire content area aligned to the center of the page as well as can provide the borders along the content area.
    Please suggest if there exists any such UI element in webdynpro.
    P.S. We are using NWDS Version: 7.01.00
    Thanks in advance for the replies.
    Regards,
    Anurag

    Hi Anurag,
    What you can try is to put all of your UI elements in Group and then do the alignment. Set the visibility property of the group header to invisible. This will give you a border.
    Hope this solves your problem.
    Regards
    Abhinav Sharma

  • Emailing page contents as HTML using ADF faces

    I have created a JSPx page contaning ADF visualizations like tables, DVT charts, gauges etc. My application needs to send the content of this rendered page as email attachment . My application will provide an email editor where user can write some text as message and it needs to attach the contents of page having tables, charts etc as attachment to this email. How this can be achieved?
    using showPrintablePageBehaviour, opne my page in another browser window and from there user can copy paste the source of ths page into file and can send it as an email attachment. But I want this manual step of copy paste should not be there. Directly the page contents should be saved in html file. can this be achieved through some APIs?
    I have read that emaillable pages can be created declaratively, but need some info on creating that through APIs.

    The link to http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/adffaces-skin.war
    seems to work for me.
    In any case to change the skin you are using you change the adf-faces-config.xml file.
    To get it to change at runtime - just put a reference to a value in a backing bean instead of the fixed "oracle" and then change the value in the bean at runtime.

  • How to get all previous versions page contents of a publishing page using SharePoint Client Object Model 2010

    How to get all previous versions page contents and other field values of a publishing page using SharePoint Client Object Model 2010?
    Thanks,
    Osmita

    Hi Osmita,
    Greetings.
    Here are the links that helps you. It has code attached to it.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a0d2ab40-99ba-4368-8505-1dc559ef6469/get-content-of-previous-version-of-page-sharepoint-2010?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/faaf419f-997e-4150-9911-48cc375c3b46/how-to-get-previous-published-versions-of-publishing-pages-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Muse page content "jumps" when using menu button

    I Created a simple portfolio website in Adobe Muse. Two pages (projects and contact) and for both using the same underlaying stramien page (don't know the English word for that). I added a menu widget to navigate between the two pages. Works fine, but whenever I use the menu button the page content (text and/or pictures) make a little vertical jump before they are in their right position. Obviously this little "jump" is not like it is supposed to be. The website is not yet published or online, cause it's not finished yet, but the problem occurs when I preview what I've made so far.
    What could be the cause of this problem and how can I repair it ??
    Alexander

    are you using Chrome?
    try loading my page, www.stacystechpubs.com using Chrome.
    Then you see a bar of menu items across the page (home, who am I, terms,...) try clicking on one, then the next one, then the next one. You'll see the box 'Stacy's Tech Publications' jumps when you click on a link.
    If you still aren't sure what I mean I need to take a screen capture video and upload it.

  • Experience Manager doesn't show left nav to browse the pages/content collection

    Hi,
    We are using Endeca Experience Manager with ATG 11.0. We have created application and triggered baseline update successfully, all the steps are successful.
    When we open Experience Manager it doesn't show the pages/content which will create by default with Discovery data/pages.
    Please help us on this.
    Thanks in advance,
    Ravinder P

    Thanks for the reply Tim,
    We tried to access in both Chrome and FF, both doesn't show the left nav. We are suspecting that this could be issue with editors or application issue.
    Thanks,
    Ravinder P

  • Centering page content

    I have a site where my content (banner, navbar, content box, etc) is all fixed.  When I preview and scale the browser window the background image (1366 x 768 no-repeat cover) will stretch but the content is fixed to the left.  I would like all my content and divs to stay in the center when i stretch but I have so many divs inside divs that the usual method of setting the width to 90% and 5% on the left and right margins is difficult to achieve.  Is there a way to place all my page content inside 1 div that i can keep centered?

    I don't need to see everything.  I just need to see one example HTML page with the corresponding CSS.  2 files shouldn't be any big deal to upload.
    A less preferred 2nd option is for you to copy & paste your HTML & CSS code into this web forum using the advanced editor > Syntax highlighting > Plain.  Do not use email for this, it won't come through.
    Nancy O.

  • I like Firefox browser when I use my Yahoo mail reverts to "oreiginal/old " version from latest version and this does not bhappen with Exploer or Chrome

    Using Firefox browser I can convert to the newest version of Yahoo mail and for this conversion it works satisfactorily. If I close Yahoo mail , either going to another site or closing the Browser, next time I open Yahoo mail it has reverted to old version (occasionally this does not happen but 80% of time it reverts). This does not happen with Explorer or Chrome. I have ensured updated Firefox. Tried Yahoo Ask for answer but no luck.I like Firefox Browser.

    hi ghrobert39, it is an issue with the new yahoo layout,see :
    http://answers.yahoo.com/question/index;_ylt=Ah_K4HUp4sat2HACnDjjfLniDn1G;_ylv=3?qid=20121213000810AAUYfSE
    http://answers.yahoo.com/question/index;_ylt=AkaQjlpKRxhYzrk5rgeMkvviDn1G;_ylv=3?qid=20121212164112AASaQcC
    [http://help.yahoo.com/kb/index?locale=en_US&y=PROD_ACCT&page=content&id=SLN8821 Overview of the new Yahoo! Mail design]
    i hope this is the answer : http://answers.yahoo.com/question/index;_ylt=AjpJXHmHQWc_qTtD86_2imfiDn1G;_ylv=3?qid=20121213051550AAsOJ6g
    thank you

  • Page content disappears in Edit mode - Custom Master Page

    Hi All,
    Below are the two issues I have with my master page.
    1) I am facing the strange issue with the pages created using custom page layouts and custom master page.
    In browse mode, everything looks perfect and as expected. But when I try to edit the same page, all content disappears as soon as page ribbon appears. When I click back on Browse tab on the ribbon, everything appears back normally. 
    2) Also When I apply my custom master page as site master for Publishing site it works I can see all my custom design and layout. But when I apply same for team sites, unless I change system master to my custom master page, it doesn't reflect my design.
    Does anyone face this issue before? 
    Thanks
    Pramod
    Pramod

    Once in edit mode, are you able to view the page's source and do a "Find" on a certain keyword that should normally appear in your page's content? Is it there?
    I'm trying to determine if its a server side issue with your master page's code that's causing the content not to be sent back across the wire to the user or if the content is there but just not properly presented. Thanks
    Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com

  • Image Slide In Moves Entire Page Contents

    Hello,
    I'm having an issue with a lightbulb image I want to make slide down on page load (using Spry effect "slide"). After it slides in, I want to have it swap to a "lit" lightbulb image when moused over. I currently have the image swap working correctly in IE 7, Firefox, and Chrome. BUT instead of just the bulb sliding in, the entire page is sliding in.
    I do have several different position declarations for different page elements, so perhaps I just have too much going on!
    Here's the webpage: http://www.artistnatalieblake.com/daubie/index.html
    Here's my CSS for positioning of all the page elements:
    #background {      position:fixed;      top:0;      left:0;      height:100%;      width:100%; } #btns {      float:left;      margin:10px 0;      width:650px; } #bulb { } #bulbslide {      display:none;      float:left;      position:absolute;      margin:-100px 0 0 -10px; } #content {      position:fixed;      z-index:0; } #footer {      color:#ccc;      font-family:'HandelGothicDMedium';      font-size:.8em;      letter-spacing:.1em;      padding:10px 0;      text-align:center;      width:600px; } #info {      color:white;      float:left;      font-family:'HandelGothicDMedium';      text-align:center;      width:500px; } #logo {      margin-top:15px;      vertical-align:top; } #main {      margin-left:175px; } #pagelabel {      float:left;      left:131px;      position:absolute;      top:400px; } #textpane {      background: transparent url(images/white75.png);      float:left;      padding:25px;      width:600px; } #textpane p {      position:relative;      z-index:1;      zoom:1; } 
    Here is my relevant scripting created by Dreamweaver:
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_effectSlide(targetElement, duration, from, to, toggle)
         Spry.Effect.DoSlide(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    And relevant HTML:
    <body onLoad="MM_preloadImages('images/bulb.png','images/bulblit.png');MM_effectSlide('bulbslid e', 4000, '0%', '100%', false)"> <div id="bulbslide" onmouseover="MM_swapImage('bulb','','images/bulblit.png',1)" onmouseout="MM_swapImgRestore()"> <img id="bulb" src="images/bulb.png" alt="lightbulb" width="193" height="489" id="bulb" /> </div>
    Thanks for any suggestions!

    This is one of those times when I have to say, "just because you CAN do something, doesn't mean you should."
    If you disable CSS in your browsers, the bulb image swap behavior works just fine.  The various other problems with your page layout stem from trying to be too cute for cute's sake. 
    Do not use positioning for primary layouts.  Stick with plain old default CSS positioning (unspecified or static) for 98% of your layouts.  When you start messing around with Fixed and Absolute positioning without a complete understanding of what they do, you will invariably create problems where none should exist.
    For the time being, revert your CSS to default (no positioning, no z-indexes).  When you get the layout to work in all browsers, then you can start introducing other advanced features one at a time.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • The webpages become so wide and overlap the screen. I think the 100% width is messed up. Now I cant view the page content of any website I have FF 5 .0.1. Why?

    The page content is moved to left about 40%. But there is no horizontal scroll bar below the browser so its impossible to see the content on the right side of the page. I think its a bug.

    @James - So is Flash Firefox's Achilles' Heel? It's a bit disappointing if Safari and Chrome could run PS.com without a problem. I was hoping it was a setting I could change or tweak to make everything flawless again. I really don't want to migrate to another browser.... :(

Maybe you are looking for

  • Battery Problems - BIG Battery Problems

    Since upgrading to 2.0, WiFi is KILLING my battery. I am not even getting 8 hours of standby. I have shut off all PUSH and FETCH settings and my battery is still draining like a Hummer. I didn't have this problem with 1.1.4. The only way to slow down

  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ Missing in Registry

    I was trying to disable autorun on my labtop using the registry but the following registry folder is missing on my system:  HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ I am running Windows 7 Home Premium x64. Is thi

  • AP Reserve Invoice table

    Hi All, I was trying to write a query whereby it list out only AP Reserve Invoice that the status is Open (which has not copy to GRPO yet), however, I do not know which table or any columns that differenciate between AP Invoice and AP Reserve Invoice

  • 16 bits gray 0 to 32768 - why?

    This question might have been answered before but I could not find a clear one searching the forums. First I understand 32768 and not 32767 (from 0 that would be 15 bits) because it simplifies the math and accelerate processing. Can someone confirm t

  • Problem in Math library in flash

    Hello to all; My name is Ammar Tayeem, this is the first post in this forum. Yesterday I got a problem with me in the process of calculation in a flash in ActionScript 3, the problem appear in the following Code (When make a multiplication operation