Allowing a website to expand and shrink with a browser

I am working on a website and wanted to know how to let a
logo with butts right up to the left side of the screen but can
also shrink and strectch with the browser so it will always start
and end at the bottom and top of the browser.

Ask your boss, "How high is up?"
The notion that all the space on a page has to be filled is a
hallmark of a
rookie designer, whether on paper or screen. Your boss needs
to hire someone
with professional web design skills and then follow what he
or she suggests.
A boss who dictates things he or she has no knowledge of or
experience in is
going to end up with a disaster. The page you have created so
far is doomed
to failure. 20 layers?
(Please show this message to your boss & suggest he or
she log on here and
learn the realities of web design.)
Walt
"margin_walker" <[email protected]> wrote in
message
news:f8or9s$4hn$[email protected]..
> this is the site so far
http://www.trinity3marketing.com/
>
> i would like the left icon to stretch to the bottom but
also adapt to the
> window size i guess is what i wanted to say. my boss is
very adamant about
> that,
>

Similar Messages

  • Expandable lists that expand and collapse with one click and edit in wysiwyg

    I have a lot of text based lists on one page, so I threw them into content editor web parts so i can expand / minimize the lists. However, two clicks (one on the arrow and then one on "restore") is becoming really tiresome. How can I make expandable
    lists that expand and collapse with one click? AND they are still editable from the wysiwyg browser editing tool?
    I have already tried using Jquery to create expandable content, but the problem here is that the content can't be edited in the wysiwyg browser based editor - the expand or collapse button doesn't "work" when you are in the edit mode, so you can never
    see the expandable content to edit. I can change the content in the code but it's no good if my non-coder co-workers can't also edit it.
    I am in 2010.

    I just found the answer myself here: blog (.) pathtosharepoint.com/2008/10/25/expandcollapse-buttons-for-your-web-parts/
    Worked perfectly. Allows open and close of CEWP with one click, and you can still edit their content in the wysiwyg editor.

  • Expand and Shrink

    hey guys I am writing a program using gui's that is supposed to expand and shrink the JFrame that it is in.
    Here is my code why doesn't this work?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class expandAndShrink extends JFrame implements ActionListener
      JButton expandButton ;
      JButton shrinkButton ;
      // constructor for TwoButtons
      public expandAndShrink()                          
        expandButton = new JButton("Expand");
        shrinkButton = new JButton("Shrink");
        expandButton.setActionCommand( "expand" );   // set the  command
        shrinkButton.setActionCommand( "shrink" ); // set the  command  
        getContentPane().setLayout( new FlowLayout() );
        getContentPane().add( expandButton );                     
        getContentPane().add( shrinkButton );
        expandButton.addActionListener( this );
        shrinkButton.addActionListener( this );    
      public void actionPerformed( ActionEvent evt)
        // check which command has been sent
        if ( evt.getActionCommand().equals( "expand" ) ){
          expandAndShrink.setSize(220,170 );   
        else {
         expandAndShrink.setSize(180,130);   
      public static void main ( String[] args )
        expandAndShrink demo  = new expandAndShrink() ;
        WindowQuitter wquit = new WindowQuitter(); 
        demo.addWindowListener( wquit ); 
        demo.setSize( 200, 150 );    
        demo.setVisible( true );     
    class WindowQuitter extends WindowAdapter
      public void windowClosing( WindowEvent e )
        System.exit( 0 ); 
    }

    change this code
    public void actionPerformed( ActionEvent evt)
        // check which command has been sent
        if ( evt.getActionCommand().equals( "expand" ) ){
          expandAndShrink.setSize(220,170 );   
        else {
         expandAndShrink.setSize(180,130);   
      }to this
    public void actionPerformed( ActionEvent evt)
        // check which command has been sent
        if ( evt.getActionCommand().equals( "expand" ) ){
          this.setSize(220,170 );   
        else {
         this.setSize(180,130);   
      }~Tim

  • Expand and Shrink window

    Hey I am writing a program that expands and shrinks the JFrame that it is in but all the program does is expand the window here is my code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class expandAndShrink extends JFrame implements ActionListener
      JButton expandButton ;
      JButton shrinkButton ;
      int x,y;
      int x2,y2;
      // constructor for TwoButtons
      public expandAndShrink()                          
        expandButton = new JButton("Expand");
        shrinkButton = new JButton("Shrink");
        expandButton.setActionCommand( "expand" );   // set the  command
        shrinkButton.setActionCommand( "shrink" ); // set the  command  
        getContentPane().setLayout( new FlowLayout() );
        getContentPane().add( expandButton );                     
        getContentPane().add( shrinkButton );
        expandButton.addActionListener( this );
        shrinkButton.addActionListener( this );    
      public void actionPerformed( ActionEvent evt)
        // check which command has been sent
        x=200+x;
        y=150+y;
        if ( evt.getActionCommand().equals( "expand" ) ){
        x2 = (int)(x * 0.1); // This cast is the same as a Floor function
         y2 = (int)(y * 0.1);
         x=x+x2;
        y=y+y2;
        this.setSize(x,y);
        else{
        x2 = (int)(x * 0.1); // This cast is the same as a Floor function
         y2 = (int)(y * 0.1);
         x=x-x2;
        y=y-y2;
        this.setSize(x,y);
      public static void main ( String[] args )
        expandAndShrink demo  = new expandAndShrink() ;
        WindowQuitter wquit = new WindowQuitter(); 
        demo.addWindowListener( wquit ); 
        demo.setSize( 200, 150 );    
        demo.setVisible( true );     
    class WindowQuitter extends WindowAdapter
      public void windowClosing( WindowEvent e )
        System.exit( 0 ); 
    }

    x=200+x;
    y=150+y;The first thing you do is increase the values of x and y. Then you expand and shrink from there. Doesn't look right to me.

  • Flash doesn't work and work with another browser!!

    ''locking as a duplicate of - https://support.mozilla.com/en-US/questions/900202''
    Flash doesn't work and work with another browser!!.
    The message is " An error occurred, please try again later" just with youtube. Other sites work. Another browser works with youtube!!

    Whay do you mean "difficult with the camer?"
    Two things that might help. Reset all your settings and reset the phone.  Use the Settings app to reset all settings. Settings > General > Reset > Reset All Settings  Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that helps.

  • How to stretch and shrink with browser resize

    Is there a simple way to force stretch and shrink all
    components and text as the browser window resizes? I tried 100%
    width and height in the application tag but that only resizes the
    main container. I want to also resize eveything inside the main
    container and all the subcontainers including all text and all
    graphic objects. With SVG this was simple. I also tried the
    "Resize" effect but again that just resized the container and not
    the elements inside the container. Any suggestions would be greatly
    appreciated. Thanks.

    Each child container is based on it's parent container. So if
    you set a child height and width to 100%, it will stick to the
    height and width constraints of the parent container. In other
    words, you have to set the constraints from the top most parent
    container, down to the bottom container and components. See this
    slight modification of your example below. Setting both panels to
    height/width = 100%, both panels resize accordingly as the window
    is resized.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="onResize();" resize="onResize();">
    <mx:Script>
    <![CDATA[
    [Bindable] public var thisWidth:Number;
    private function onResize():void{
    thisWidth = this.width;
    if (this.width >= 1020){
    pnl1.setStyle("fontSize", 10);
    if (this.width < 1020 && this.width >= 500){
    pnl1.setStyle("fontSize", 8);
    if (this.width < 500){
    pnl1.setStyle("fontSize", 5);
    ]]>
    </mx:Script>
    <mx:Panel title="Panel 1" width="100%" height="100%"
    id="pnl1" fontSize="10">
    <mx:Panel title="Panel 2" width="100%" height="100%">
    <mx:Canvas width="100%" height="100%">
    <mx:Button label="Submit" horizontalCenter="0"
    verticalCenter="0"/>
    <mx:Label text="{thisWidth}" right="10" bottom="10"/>
    </mx:Canvas>
    </mx:Panel>
    </mx:Panel>
    </mx:Application>
    Changing the font size is not as easy. All I can think of is
    setting the font size based on the current size of the window, as
    in my example above.

  • My trackpad won't allow me to scroll up and down with two fingers

    my trackpad won't allow me to scroll up and down as usual .

    Check your settings in System Preferences>Trackpad.
    Your trackpad may need a thorough cleaning.  That often will restore functionality.
    If no success, make an appointment at an Apple store genius bat for a FREE evaluation.
    Ciao.

  • 2960 and configuring with a browser

    I am thinking about buying a 2960. I am not good with command line can I do advanced configuring such as traffic policing and Qos with some type of Cisco admin software?

    As a matter of fact, you can use Cisco Network Assistant (CNA) with the 2960. CNA is a free GUI-based tool that allows you to perform fairly advanced configuration including QoS.
    Here's a link with more info on it:
    http://www.cisco.com/en/US/products/ps5931/products_data_sheet0900aecd8034fbf1.html
    Hope that helps - pls rate the post if it does.
    Paresh

  • My screen dims and shrinks with a blue outline around the window.  It won't let me do anything unless it goes back to normal, but it won't stay that way for long.  What is wrong and how do I fix it?

    When I start up my screen will rapidly shrink to a smaller size with a blue border around the window.  It rapidly goes from full screen to this smaller screen with the blue border and back again.  It seems to be affected by the use of the mouse.  My mouse was old so I bought a new one....didn't help.  When I have to tabs or two applications open they seperate, shrink, and appear simultaniously on the screen.  This just started happening.

    Put in the correct password.
    http://iforgot.apple.com or http://appleid.apple.com

  • How do I get "verification code" to allow sharing photos via email and photomail with PSE11

    I have just install, yesterday, Photoshop Elements 11.  Cannot get it to allow me to share photos via email or photomail.  Message appears stating that a verification code is required, with a note that an email has been sent to our email address, which is listed on the line above...but no message ever comes.  There is also a button to click that says "resend email" and using that does nothing.  What do I do next?

    I have same problem.  I just purchased a new computer and re-installed PSE11, and this verification process appeared.  I have received no email.

  • How to allow the location for faces and places with iOS 4 on an iPhone 3GS?

    I installed ios4 on my iphone 3gs, it went well, then the first time i open the camera app it asked me to allow tha application to know the location, firs i said no... now that i really know what this feature does, i would like to allow it, any idea how to allow it again? if i open the camera application again it doesn't ask for it again
    thanks

    Thanks "justinphilly", following is the solution:
    Settings > General > Location Services > Scroll down to camera, and click yes.

  • How to get my text and graphics to scale with the browser dynamically?

    Hi there!
    I've run into an issue where, with my design - I'm trying to get text and graphics to scale and move with the browser as someone adjusts it. (As opposed to it moving and falling apart as the browser window gets too small.)
    http://www.richardsuchit.com is where it's posted at the moment.
    I'd it to maintain it's position in the center of the browser window no matter how small or large, just to adjust in size, rather in position. I wonder if this is possible?
    Looking forward to your answers! Thanks.
    -Richard

    Hi
    Here is a sample file of text that re-sizes according to your window size.
    https://www.dropbox.com/s/z7hqxejysuxs597/Sample.zip
    Regards
    Susanta Kumar Muduli

  • Hello, Im new to this website. Im having issues with my Macbook. I have the old 2009 model Macbook and it is our schools macbook. The school just upgraded these MacBooks to OSX Mavericks and when i try to open Minecraft it won't let me. It says no jd

    Hello, Im new to this website. Im having issues with my Macbook. I have the old 2009 model Macbook and it is our schools macbook. The school just upgraded these MacBooks to OSX Mavericks and when i try to open Minecraft it won't let me. It says no jdk installed. I also try to install Java SE runtime but half way through the Software Update it says cant download software because of network problem but I'm connected to the internet and i can browse stuff just fine. Can any one help with my problems. P.S. I don't know the administrator password or stuff like that. And yes we are allowed to play games and stuff on these laptops but only at home not at school so don't tell me i need to focus on school and not games. 

    Since you updated the operating system, it is probably Minecraft is missing certain files that ware remove or are not longer comparable with the new version of the OSX. what I recommend, is to check is there is an update for Minecraft and install that. If there is not update available, probably the best thing will be reinstalling Minecraft. Hope this will help you.   

  • How can i optimize my SEARCH ENGINE???I use godaddy.i contact them and they give me this conclusion:Search engines are not pulling up your other pages on your website because it is created with javascript. the content on the pages, (photo gallery.....

    conclusion from godaddy:
    Search engines are not pulling up your other pages on your website because it is created with javascript.
    the content on the pages, (photo gallery, My Recipes/Blog, History, Friends) need to be formatted to HTML, PHP or CSS. No search engines (google, Yahoo, Bing) can crawl//analyze webpages built with javascript.
    See if Apple allows iweb to create the pages in HTML format and ask how to make those changes.
    I spend more then 1 hour on the phone with them but we didn't find the solution...
    please i need help because like this nobody can rich my website...
    www.chefdiego.com
    thank you

    The part of iWeb pages that give the search engines problem is the navbar.  That's javascript based.  One way to get around that is to create another blank page in the site that's not  included in the navbar. 
    Add a text based navbar in that page with just the other pages in the site. 
    Also you can use that page for creating the sitemap for Google at Create your Google Sitemap Online - XML Sitemaps Generator.
    Have you let Google know your site exists? This website describes how to get it recognized: Get your iWeb website found in search engines like Google Yahoo MSN and Bing.
    OT

  • Netflix on iPad with restrictions set to only allow "Specific Websites Only"

    I have Netflix app installed on my child's iPad.  I have restrictions in place on the iPad too - Website restrictions set to "Specific Websites Only".
    When I do this the netflix app just spins (never gets to the Netflix login).
    If I remove restrictions to allow "All Websites" Netflix works.
    I also allowed www.netflix.com as an Allowed Website.  Also set Safari "Block Cookies" to never to see if this would help.  No luck.
    I want Netflix to work, but I also want the restrictions on the iPad to be set to "Specific Websites Only".
    Netflix support said (tried them first):
    Just spoke with my team who informed me that they have received a few of these complaints. The Netflix app was introduced on the Ipad as a partnership with Apple. We do not have much control over the function of of the permission on the device. They have asked that you reach out to Apple to determine if there is a work around.
    Anyone know how to fix this???

    hello msreyes,
    after countless hours of googling for answers i came up with a solution that works on my situation...it could work for you, its not 100% kids-proof (if your child is tech-savvy then maybe this wont work for you but anyways...)
    first step go Settings/ General/ Safari and set your search engine
    then Go to Settings/ General/ Restrictions/ Enter your passcode, after you set your restrictions (obviously this step differ from parents to kids age) just for reference here are my screenshots of how i managed the kids phone
    ok, so now to the point...next i checked "Limit Adult Content"
    and finally you type as many "search engine" and "social media"  websites you can possible find. " i know that could be quite allot of URL's but by you having Google as "default  serarch enigine and also having www.google.com in th the "NEVER ALLOW" section you kind of take away the "avility" to easly browse Safary,
    so say your child types facebook in safari search bar it will show a " website is restricted" message, thus not allowing google or any websites you strict "for that matter" to let your child roam free in the internet world.
    and to wrap things up, you can now use Netflix's app in you iPhone. and perhaps your child will never find a walk around glitch..

Maybe you are looking for