Centre a web page

i put a background image on my design and it aligned to the
left.. how can i centre align it.. and again is the use of layers
advisable..

> and again is the use of layers advisable.
Never, until you understand absolute positioning and the
downside to its
use.
To center your background image, use CSS on its container -
body { background-position:center; }
(this will center the background image on the page body)
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
==================
"makate" <[email protected]> wrote in
message
news:g16228$ckn$[email protected]..
>i put a background image on my design and it aligned to
the left.. how can
>i centre align it.. and again is the use of layers
advisable..

Similar Messages

  • 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;">

  • I have just updated to 3.6.4 and my browsers web pages only display in a narrow column in the centre of my screen.

    I have just updated to 3.6.4 and find that my browser web pages only display in a narrow column in the centre of my 16 inch screen.
    How can I stretch the web pages to fit my screen ?
    == This happened ==
    Every time Firefox opened
    == After ungrading to Firefox 3.6.4

    Set the pref <b>browser.tabs.insertRelatedAfterCurrent</b> to <i>false</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • How do you insert live web pages in keynote?

    How do you insert live web pages in keynote?

    Insert a 2D Pie chart on the slide (Insert > Chart > 2D Pie), then place a circle from Shapes overlaid in the centre:

  • How can I make my web page fill up the entire browser screen regardless of monitor it is viewed on,

    I have noticed that some websites are designed so that the page expands to fill in the entire screen, regardless of the size of the monitor. Here is an example: https://www.draft2digital.com/support/
    I have viewed the Muse tutorial that expands the Footer area to fill in the whole screen, but it does not address how to do this for the main part of the web page, or the header. I have looked at the site setup section and do not see where I could set it to expand.
    Any help would be appreciated.
    Thanks.

    Okay, in your link the blue bars would be in muse as a blue box then drag the right side so that it stamps just outside your page area. This will make muse program it so you will always see it extend to fill the browser window. Do the same on left side and you should be good. It will work even better if you also centre the rest of your content under page, page properties, padding - check the box for centre horizontally. Any content you want to extend with the browser, while the rest stays centred, you have to drag extending the content so it snaps just outside the main page in muse.
    Hope this helps.

  • Firefox loads a web page then the web page go's halfway across the screen

    Not a lot I can tell you I have never had this problem before with Firefox.When the web page loads it comes up as normal then it moves to about the centre of screen sorry but thats all I know.

    i have the exact problem but still waiting for some1 to have a solution, its a pain i can only view the whole page if i click to full screen but then i cant see my other programmes in the background, never had this problem before, just started today

  • Adding content to a web page [was: Help with basic question (i think)]

    Hi there everyone, first time in this forum.
    Im creating a website for the first time in dreamweaver after using other programmes and have so far created a banner and nav bar across the left hand side. I am unsure on how i am meant to add any content into the actual centre of my page as there is no box there to write in or add pictures and when i create a image or div or table they all just hug the top of my page and refuse to go next to the navigation bar like i need to it! im sure it is simple but i am finding it so much harder to use than any other programme.
    Im trying to do a list of pictures and descriptions for my mums business.
    any help would be greatly appreciated.
    thanks!
    Harry

    Harry, I have moved your post from the HTML5 Pack forum to the Dreamweaver General Discussion forum, which is the most appropriate place for this sort of question.
    Dreamweaver is a professional web development program that requires at least basic understanding of the underlying web technologies: HTML and CSS. It's not a WYSIWYG program where you can just drag and drop items on a page. To give you a better understand of how Dreamweaver works, it might be a good idea to try the Building Your First Website tutorial here: http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html.
    Since you're new to this forum, I also suggest you take a few moments to read How to get help quickly, and browse through the Dreamweaver FAQ.

  • Talk Talk wifi connection but safari will not load any web pages?

    I have a new Ipad and it is connected to TalkTalk wifi. But the problem is that Safari will not load a single web page?
    Are there any known issues with this problem. My PC connects to the same wifi network and is running fine.
    The build bar for the web page I try to access turns 3/4 blue but then gives an error message, 'cannot connect to server'
    TalkTalk call centre kept saying that they do not support Ipad? But would not elaborate!
    Apple call centre updated IOS 6.1.2 and reset network settings but no solution as yet.
    Do I need to take this back?
    Has anyone had a similar problem?

    How old is your MBP?
    Do you have APP?
    Does this happen all the time? Does it happen on a specific site? What internet connection do you have?

  • With firefox the web pages in all sites have started loading to the right on the computer screen, and therefore I cannot tab down ?

    Hello,
    my web pages in firefox are loading to the right of centre, and therefore I cannot scroll down.
    This started in the past couple of days and occurs with all websites.
    Thank-you.

    go to help at the top of your browser then click on restart with add-ons disabled, firefox will close then it will open up with just basic firefox, then you can swicth the add-ons back on and it should be ok, ive just done this myself and it worked

  • How do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA certfificate i can't open web pages with this, how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC CA certfificate i can't open web pages with this

    how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?

    Hi
    I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
    Especially the section Don't which says -
    DON'T
    Don't post a series of questions in  a single post. Splitting them into separate threads increases your  chances of a quick answer.
    PZ
    www.pziecina.com

  • Open web pages from an applet

    I'm developing an applet that has to open some web pages.
    The only way I know is to use the method showDocument that
    needs and URL. So, how to pass parameters to the web page?
    I don't want to put them in the URL: everyone can see
    "secret data"!
    Help me, please.

    Take a look at this example that uses a JEditor pane to hold the HTML page.
    //Create a new JEditor Pane
    jep = new JEditorPane( );
    //Ensure the pane is not editable
    jep.setEditable(false);  
    //Use this to get local HTML file
    URL fileURL = this.getClass().getResource("Manual/Manual.htm");
    //add the html page to the JEditorPane
    jep.setPage(fileURL);Ok the core line of code here is this.
    URL fileURL = this.getClass().getResource("Manual/Manual.htm");The standard method for accessing a html file via a URL is thus. As you can see its very similar.
    URL fileURL = new URL("http://www.comp.glam.ac.uk/pages/staff/asscott/progranimate/docs/Manual/Manual.htm");this.getClass().getResourse() will return the file location of the class you are working with.
    By doing the following you can access manual.html in a folder called Manual that sits in the same file location as the class file you are using.
    URL fileURL = this.getClass().getResource("Manual/Manual.htm");I hope this helps.
    Andrew.

  • In the previous version i was able to close my mozilla and to open it again, the web pages which i was working with remained however i've tried many ways to have this advantage again but it is not working what can i do ???

    in the previous Mozilla version i used to leave some web sites opened and when i start working again my Mozilla showed the web pages i was working with in that occasion, i have looked in the options menu but there is no way, perhaps it was an add-on and now it is removed??? i would like to have this advantage again in my Mozilla could it be possible?? thx!

    Your webpages/tabs are still there. When you start firefox again, there is a "Restore Previous Session" icon below. If you click that, it will open up all your tabs again.
    Or you could see this article for better understanding-
    http://support.mozilla.com/en-US/kb/Firefox%20does%20not%20ask%20to%20save%20tabs%20and%20windows%20on%20exit?s=how+to+save+tabs&as=s#os=win&browser=fx4

  • XML Publisher Report EXCEL output Huge stored as Web Pages

    Hello
    I have a XML Publisher Report which generates EXCEL output and the output file size is huge.
    What I notice that it is stored as Web Pages *.htm; *.html (Save as Type) in Excel this is the reason it is huge.
    If I save as Microsoft Office Excel Workbook *.xls it Reduce the size.
    I don't know how to save as ".xls" through XML Publisher using PL/SQL.
    Any body knows? please Help..
    XML Publisher Template Builder for WORD
    Version 5.6 Build 45
    PATCH        BUG_NUMBER
    XDO.H     *3263588*
    4.5.0     *3554613*
    5.0.0     *3822219*
    5.5.0     *4206181*
    5.0.1     *4236958*
    5.6.0     *4561451*
    5.6.1     *4905678*
    5.6.2     *5097966*
    5.6.3     *5472959*
    Thanks.

    Hi Vetsrini,
    We're on 10.1.3.4.1 and siebel 8.1.1.3 and when trying to open a report from within siebel in the output format EXCEL (selected from the parameter applet), it just opens the document in the browser.
    Is there a way to get it to open directly in Excel? I guess the reason is the file extension*.EXCEL, how could we get the extension to be in excel format (xls)?
    We don't want our users to have to do this themself.
    Regards,
    Hakan

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How can I get just the text to resize, rather than the entire web page?

    I used to be able to re-size just text on a webpage by typing Ctrl + +. Today, the entire webpage re-sizes, and when I move to another page it reverts. (I see this mostly in Facebook.). Why did this change, and can I go back to having just the text re-size?

    ''How can I get just the text to resize -- zoom text only''
    steps
    #"Alt" if no menu bar, then
    # View > Zoom > Zoom Text Only
    Zoom text of web pages - MozillaZine Knowledge Base
    :http://kb.mozillazine.org/Zoom_text_of_web_pages
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

Maybe you are looking for