Grid Layout Question

If I define a GridLayout of 3 rows and 2 columns, could I add an element that use 2 columns (like a colspan in HTML) ?
Thanks in advance
<jl>

I don't think you can. But you can do it with GridBagLayout. It's just a lot harder to use, but you can make a method that makes it easy for you to set some of the most important GridBagConstraints so you don't have to do it yourself all the time.
You could also use different layouts. Lets say the last row should contain one element using two columns. You can do this by using one panel with the gridlayout 2x2, and then below you have your element using "two columns". Sometimes this approach may be easier.

Similar Messages

  • APEX Theme 25 - Responsive Grid Layout Question

    Hi
    What is the best way to control an item to be positioned right next to the other item on the same row.
    I have a select list that I would like to have an edit button right next to it.
    I created two items for example:
    P_MY_SELECT_LIST Grid set New Line to Yes, Auto
    P_MY_EDIT_LINK Grid set New Line to No, Auto
    But it is not doing what I expected.. what am I missing?
    When it was tables not divs I had no trouble but now I need to learn the kep to using the Grid.
    When I hard code the edit in the Post Element of the item it works great with 2 spaces... but I can't control the item by the AUTH Scheme. I don't want them to show up unless you have the proper role.
    Plus, I want to learn the new 4.2 way!
    Thanks, Bill

    Hi Scott, Bill,
    Because Theme 25 relies on grid for most of it's positioning, it is difficult to do accomplish what was sometimes much simpler when using the tables approach for form layouts. This also happens to be one of the biggest issues with Theme 25: proper form and label positioning.
    If we look back to using tables for form layout we would see that a structure would be created immediately when we started laying out items. Because of the way tables behave, whatever the size of your first label was controlled the width of that cell, and the cells below it. Meaning all of your labels would line up, but only take the space necessary to fit your label.
    However, with a div-based grid, this is no longer possible. There is no structured set of cells that grow / contract together as there are in tables. Because of this, it is difficult to determine the width of a given container and apply that same width to others (for example, picking up your largest label, and applying the width of that label container to the other labels which are below).
    One way to go around this problem, and what we've done in Theme 25, is to used fixed-width labels. So we explicitly set the width of labels, and that makes the layout much more predictable. We know that labels will always be a certain width, and that input fields that follow will begin from the same position. However, this is very different from how forms in tables work:
    1. All labels are the same size, so even if a label is very small, or very large, it will take the same space.
    2. We can no longer align two items be right next to each other without using grids.
    3. When using grids, we have to be mindful of the label's fixed width as it can be larger than the column it is contained in.
    We're working on a cleaner approach to this problem so creating responsive applications and laying form items is easier than it currently is. In the meantime, you can override several styles to help your particular use case.
    Here are just a few styles you can apply to your page to get form alignment to behave (with a specified region static id):
    1. Manually setting the widths of labels for a given region:
    #my_region div.fieldContainer.horizontal>label {
        width: 80px;
    #my_region div.fieldContainer.horizontal div.fieldControls {
        /* width above + 16px spacing */
        margin-left: 96px;
    2. Set Label widths to only take up the space they need:
    #my_region div.fieldContainer.horizontal>label {
        float: none;
        width: auto;
    #my_region div.fieldContainer.horizontal div.fieldControls {
        margin-left: 0;
        display: inline-block;
    3. You can allow fields to float left:
    a. Add to your inline CSS:
    #my_region div.fieldContainer {float: left;}b. Set grid layout attributes for your second item as follows:
    Start New Row: No
    Column: Automatic
    New Column: NoYou can combine these together as well. For example, applying styles #2 and #3 will let you position elements side by side and immediately after each other.
    Scott,
    For some of your issues in particular, here are some possible ways to go around them:
    1. Password field being cut off
    In addition to setting the size of the field to 60, you can apply an inline style to control the width by setting the HTML Form Element Attributes field to:
    style="max-width: 100%;"This will restrict the size of input field to be a maximum of 100% of it's container, and should no longer be hidden when your window is resized.
    2. Customer Report obscured
    You can add an inline style to your page header to set this region's content to scroll. For example giving it a static id of my_region and adding the following to your page's inline css field:
    #my_region section.uRegion>div.uRegionContent {overflow: auto;} Hope this helps!
    Shakeeb

  • Fluid Grid Layout - Beginner's Questions

    First, let me explain once again that I can't reply to my own threads because the "Reply" function isn't working in my browsers for some reason. (Thanks for your tips on my other questions, Ben Pleysier and Nancy O.)
    Anyway, I want to modify my websites so they work in mobile devices, and I now have my first Fluid Grid Layout up and running. However, there are some bugs I need to work out.
    I experimented with two or three fluid grids and just realized that they're very different for some reason. I think I inserted the wrong elements or inserted them in the wrong location.
    Does the HTML code below look OK? I understand that everything is supposed to be inside div.gridContainer, which begs the question why are the last two divs (div.fluid and div#div1) OUTSIDE div.gridContainer? Are these extraneous divs that I can delete?
    Am I supposed to have a div#page and div data-role="header"?
    It looks like all my actual content - including the footer? - should go inside div data-role="content", right? And am I going to have to apply class="fluid Paragraph" to every paragraph in my database tables?
    Some of the confusion may be because some of these unfamiliar elements (e.g. "data-role") may be HTML5, which I'm also just learning about.
    If anyone could post a link to a web page(s) using Dreamweaver's Fluid Grid Layout, so I can examine the source code, it would be really helpful. Thanks!
    <body>
    <div class="gridContainer clearfix">
      <div data-role="page" id="page">
        <div data-role="header">
        <?php require_once($BaseINC."/$MyPHP/inc/D/Shared/Body/Header.php"); ?>
        </div>
        <div data-role="content">CONTENT </div>
        <!--This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats--><br class="clearfloat">
        <header class="fluid Header">This is the content for Layout Header Tag "Header"</header>
        <p class="fluid Paragraph">This is the content for Layout P Tag "Paragraph"</p>
        <footer class="fluid Footer"><?php require_once($BaseINC."/$MyPHP/inc/D/Shared/Footer.php"); ?></footer>
      </div>
    </div>
    <!--Are div.fluid/DivBase and div#div1 supposed to be here, outside div.gradContainer? Can I delete them, or do they serve some purpose other than relaying information for getting started?-->
    <div class="fluid DivBase">This is the content for Layout Div Tag "DivBase"</div>
    <div id="div1" class="fluid">Use Insert Panel for additional Fluid Grid Layout Elements. Note: All Fluid Layout tags must be contained within the "gridContainer" div tag.</div>
    <!--I included some files that will be absolutely positioned near the top here.-->
    </body>
    </html>

    #1  Success with FGLayouts comes from experience.  I built 9 test layouts before I got an acceptable one.  A few tips.  Build Mobile first because that is what everything else is based on.  Then build Tablet & finally Desktop.  Do not tamper with code in FluidGrid.css or Boilerplate.css files.  Use a separate, external style sheet for your content styles.
    #2  Depends on whether or not you want the divs to fall outside your #gridContainer.  For example, let's say you want a 100% width header & footer that stretches the entire width of your page in all devices.  In that scenario, you would have to move <header> and <footer> tags above and below gridContainer div.  Otherwise, everything else needs to be inside the gridContainer in order to respond to the media queries.
    #3  APDivs will not work right in FluidGrid Layouts -- or any RWD for that matter -- so don't even go there.  
    Nancy O.

  • I'm designing my first website using Fluid Grid Layouts. CSS question

    I'm designing my first website using CS6 and Fluid Grid Layouts so I need a lot of help. I realize CS6 creates something called a boilerplate css file. However, in addition to that file, do I have to create an individual external style sheet for my desktop, ipad, and smart phone pages (3 separate style sheets) or should I have only one external style sheet for everything?
    Or this is there another recommended way to use Fluid Grid Layouts?

    FluidGrid Layouts creates a boilerplate.css file, a respond.js file & a Fluid.css file for you -- you name it whatever you like.  I like to call mine Fluid.css so I remember what it is. 
    Fluid.css contains mobile first -- upon which all others are based.  Inside, CSS Media queries, you'll find code for tablet and later on desktop.  So one stylesheet generated by DW covers all 3.
    TIPS: 
    FluidGrids are very temperamental.  Do not tamper with boilerplate.css or Fluid.css files.  Instead create a separate external style sheet for your typography & other custom content styles.
    Build mobile first, then tablet and finally desktop.
    Keep your designs simple and uncluttered. 
    Don't worry about content until you get the layout perfected.
    Have fun with it .  You'll probably have to start over a few times before you get what you want.
    Nancy O.

  • How can I convert my web page from a fixed width layout to a fluid grid layout?

    I'm taking a web design class (I'm using Dreamweaver CS6, btw)  wherein the professor started us out building our websites in a fixed width layout but now I want to change my site into a fluid grid layout. My "site" so far is just one long page, and I've already designed it with fluid grid adjustments in mind (most things are centered  in the layout) so it shouldn't need excessive tweaking.
    Is there a way to duplicate the site folder that holds my first page, re-open a new document in fluid, then copy the code in and tweak the width parameters for the different layouts?
    Did I just answer my own question? Help - I am new at this!!
    Thanks all,
    KC

    Herbert2001 wrote:
    A bit off-topic, but Osgood: have you ever used SASS or LESS? When you are building your own grid systems it can save you a tremendous amount of time, and it's a lot of fun.
    Take the following simple example - it generates all the 23 css classes automatically for a 12 grid system. And simply changing one variable allows you to create and calculate any number of columns!
    //variables
    $desktop: 1025px;
    $large-columns: 12;
    @media only screen and (min-width: $desktop) {
         //regular grid span classes
        @for $i from 1 through $large-columns {
            .span-large-#{$i} {
                width: percentage($i/$large-columns);
         // push classes
        @for $i from 1 through (($large-columns)-1) {
            .push-large-#{$i} {
                margin-left: percentage($i/$large-columns);
    No, not explored it yet, and may never....I don't know. I don't really make much money out of web design. It's becoming more and more difficult to find the desire to learn new techniques when the opportunities aren't really there to put them into practice on as regular basis as I would like.  I've got  a very good handle on css, php, html, jQuery - I'm not sure I want to add another layer at the moment, given I'm never quite sure how long I will continue to 'bang my head against the wall' . I'm getting to the stage where I keep asking myself do I really need the problems associated with learning new stuff to the point of being comfortable with it if the financial rewards at the end don't equate to the efforts of learning it.
    I don't really enjoy web development if truth is known. I come from a Graphic Design background which I much prefer but somehow got side tracked and pushed in this direction and there's no way back now, lol. Whilst I concede Web Development is much more exciting its also 100 times more complex/difficult and the skills needed are considerably more.
    Your example looks interesting and I should think I could pick it up reasonably easily given I work with php which uses variables on a similar basis.

  • APEX 4.2 aligning issue of Stop and Start Grid Layout item

    My APEX application application is in the process of moving from 4.0 to 4.2.  I am experiencing an issue with aligning (left margin justified) of Stop and Start Grid Layout items that have a border around them.  Earlier I had an issue with the border itself not showing up in the 4.2 application.  I was able to resolve that with a workaround by adding inline code in the CSS section of the page: #P23_OFFICE_START_TBL {width:682; border:1px solid #369; margin:5px;}. This created the border which I needed, but there are 2 Stop and Start Grid Layout items that are indented and not aligning with the border of the previous line.  I have tried a number of different things but none of them have worked.  This seems like a very simple issue to fix but I am having a tough time resolving it.
    I tried to put the item in question in a different grid, which corrected the indention but then I lost the border around the item.  It seems that the above CSS code does not work on the new grid.  I also tried to put attributes such as margin-left:5px; float: left; clear: left; float: left, in the CSS code but that did not work, too.
    Any suggestions?
    Thanks
    Ajay K

    I deleted and added back the Stop and Start Grid Layout items not aligning properly.  This worked.  Apparently, the 4.0 to 4.2 upgrade did not handle/convert these items properly.  Deleting and adding them back resolved the issue.

  • Understanding Fluid Grid Layout

    Hi,
    First of all - I apologize - my English is bad, but I hope you will understand me.
    I'm currently watching some video tutorials about responsive web design, particularly about Fluid Grid Layout/Dreamweaver.
    To get to the point and to be as simple as possible, my question is: In what cases elements do NOT need to have class="fluid"?
    For example, here's part of the code from one video tutorial:
    <body>
        <div class="gridContainer clearfix">
            <header id="header" class="fluid">
                <h1>The Best Site Ever!</h1>
                <nav id="mainnav" class="fluid">
                    <ul>
                        <li><a href="index.html">Home</a></li>
                        <li><a href="about.html">About Us</a></li>
                        <li><a href="products.html">Products</a></li>
                        <li><a href="#">Services</a></li>
                        <li><a href="#">Contact</a></li>
                    </ul>
                </nav>
            </header>
            <article id="intro" class="fluid">
                <h2>Some Title</h2>
                <p>Some thext... </p>
            </article>
    As you can see above, <header> and <article> elements that are child-elements of <div class="gridContainer clearfix"> have class="fluid". But, let's look inside <header> element - there are two child-elemets: <h1> without and <nav> with class="fluid". 
    Now, correct me if I'm wrong - If some element has child-elements - it must have class="fluid" (except for the case with ul/ol and its child-elements li), right? For example, element <article id="intro"> must have  class="fluid" because it has child element <h2> and <p>, but those child elements will not have class="fluid" because they don't have child-elements. On the other side, child-element (of the <header id="header" class="fluid">) <nav id="mainnav" will have class="fluid" because it has child element (ul). Only in case of lists there are exceptions...

    Thank you for your response. It isn't the snapping that appears to be the problem. This is an example of what I'm trying to do. Excel was the best way for me to provide a visual. Is this possible? Every time I try to place divs in a similar layout, the div will not take up multiple rows. For example div 4 would move down and where row 7 is would now be row 4. Div 2 would have also moved down because of 5. I have a large image that needs to be placed to the left of a header and vertical menu. I'm trying to keep the header and menu seperate and the image needs to be aligned to the top left of the text. I'm sorry that I'm overcomplicating this. I must admit it surprises me that the fluid grid appears to be dictated by rows. I'm wondering if for this particular design I should just stick to a table.

  • Full width slider in a fluid grid layout ???

    I'm fairly fluent in Dreamweaver building fixed pixel sites, but cannot seem to grasp fluid grid layouts. At least with what I'm trying to accomplish. mostly all of the tutorials Ive seen dont address anything complicated.
    Question:
    I'm trying to achieve a 100% nivo slider at the top of a page, with a main body area below it that only uses 960px or what ever the equivalent would be as a percentage. How do I do this?
    Initially for testing purposes, I tried to experiment by simply creating two divs. One full screen and one less than that. What I am seeing first is that after creating two divs, and placing color in the divs, when viewed in browser, it does not fill the screen and leaves a small margin on either both side. Looking into the css properties, there's padding in the grid container and the percentage is less than 100%. Why If 100% is selected when setting the new document properties.
    Maybe this is the wrong way to achieve what I'm trying to achieve, but I did attempt to get started here. I'm totally lost here guys and girls. Are there any advanced tuts out there that address this?
    Thanks in advance!
    Bob
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1">Use Insert Panel for additional Fluid Grid Layout Div tags. Note: All Layout Div tags must be inserted directly inside the "gridContainer" div tag. Nested Layout Div tags are not currently supported. </div>
      <div id="LayoutDiv2">This is the content for Layout Div Tag "LayoutDiv2"</div>
    </div>
    </body>
    </html>
    @media only screen and (min-width: 769px) {
    .gridContainer {
        width: 98.5507%;
        max-width: 1232px; (I deleted this)
        padding-left: 0.7246%;
        padding-right: 0.7246%;
        margin: auto;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #LayoutDiv2 {
        clear: both;
        float: left;
        margin-left: 22.549%;
        width: 54.9019%;
        display: block;

    Thanks for the input. I have the slider working now. Placing it before the grid container worked. Also setting the desk top grid to 81-88% answered my other question. That renders the gutters I'm looking for. But I have a question. I asked this above. If I select 100% on the mobile, 100% for tablet, and 88% for desktop, why does DW produce padding in the css files? I keep hearing references to not mess with the css file, and create a new file to perform styling. Can I safely delete this padding and change this percentage to 100%? Confusing to me. If it's mobile first, and all calculations are based on these numbers, then.... Well you understand what I'm saying.
    /* Mobile Layout: 480px and below. */
    .gridContainer {
        margin-left: auto;
        margin-right: auto;
        width: 96%;
        padding-left: 2%;
        padding-right: 2%;
    So secondly, do we create a separate css file for styling?
    And third, how do you create subsequent pages. Does this work with dwt files?
    Thanks in advance. I will get my head around this soon, I promise.
    B

  • Fluid Grid Layout Div's not snapping correctly?

    Hello, how come my fluid grid layout div's are not snapping correctly?
    Here is a picture:
    As you can see, the div tag "iphone1" is halfway in the other column. Shouldn't it be snapping to the nearest column? My mobile layout snaps perfectly fine but my tablet and desktop do not. Is it because my div tag "iphone1" is in another fluid grid layout tag "main-body"> Can you not place div's inside of div's with id's?
    I would appreciate any help as I am sure I am doing something wrong that can easily be fixed.
    Also, it is possible to change the number of columns you want for each design view after creating the page? For example, I have 20 columns in desktop view, it is possible to change to 16 if I wanted to?
    Thanks in advance!

    Hi dhint4,
    Hope things are working out for you while using new Fluid Grids.
    To answer your question around nesting of elements :
    12.2 upgrade of DW fully supports the Nesting of different fluid elements within other fluid element.
    Infact it also supports insertion of non-fluid(normal) element within fluid elements.
    This was not available in 12.0 release.
    Only caveat while nesting is not to apply same class on both Child and Parent unless the the width of both is 100%.
    Also, it is possible to change the number of columns you want for each design view after creating the page? For example, I have 20 columns in desktop view, it is possible to change to 16 if I wanted to?
    Currently its not possible to change the number of columns on the fly. We already have couple of feature request to support the same.
    Please feel free to add your vote by creating a feature request @ :https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Kindly revert if you have any issues or concerns.
    Cheers,
    Puneet

  • Trouble styling across device views ( Mobile, Tablet, Desktop) in fluid grid layout.

    Hi pros,
    I’m having a problem in Dreamweaver CC laying out and styling my website using the fluid grid layout. For the record, I have not touched the boilerplate.css or JS file and have been using my own.css file to place all my .css in. I’ve managed to get some of the content in little by little but it looks nothing like my mock up. Since I’m new to Dreamweaver and coding in general, I’ve been starting my design in the desktop view. However, when I switch to tablet or mobile view and move something around, it completely moves it when I got back to the desktop view. Also, when I put in on live view or view it in a browser, I get two different looks all together.  I try to make sure that my .css file is selected and under media I tried selecting the predefined media sizes and then under selector, there is usually 3 of each tag (one for each view I’m guessing), I select the tag associated with that view and change the properties from there. That hasn’t worked because when I go to live view or view in the browser, it looks completely off or it will screw with the other views. L
    So here are my specific questions:
    How do I style my elements specifically in each view WITHOUT messing up the desktop, or the other views? Simply clicking on a view using the icons on  the bottom and styling has not worked.
    Why is my live view so different from my browser view? I’m using the presets given in Dreamweaver for the desktop. When I view, say the logo and navigation in live view, everything is aligned but when I switch to my browser (chrome) it’s all crooked.
    Should I be using % throughout all my properties (width, height, margin, padding, positioning)? Currently I have most of my div sized using % but some margins and other properties using px. Will that affect anything?
    Can someone recommend a good tutorial? Everything that I seen either covers the basics that I already know,( adding/moving divs, switch views) but when it comes to the .css styling, they are adding a style sheet from somewhere without showing you how to do it from scratch.
    Should I design the page in a non- fixed layout and then import the .css style sheet from there? If so, how do I do that without messing with the boilerplate.css file.
    I’m taking a course in graphic and web design and we went over this very quickly and was given a lot of the material, however our final project (a full website with 5 pages) must be responsive and built in Dreamweaver. Any advice is greatly appreciated!

    Making an external style sheet.
    Go to File > New > Blank page > CSS. 
    Hit create button.
    Add some style rules to your new style sheet and save it. 
    Link your HTML pages to your new style sheet using the directions below.
    Dreamweaver, Linking HTML to External Style Sheets
    CS6 Fluid Grid layouts (17 min video)
    http://tv.adobe.com/watch/learn-dreamweaver-cs6/using-fluid-grid-layouts/
    Creative Cloud 12.2 Enhancements to Fluid Grid Layouts
    http://blogs.adobe.com/dreamweaver/2013/02/updated-fluid-grids-in-dreamweaver.html
    Step-by-Step tutorial -- Building Fluid Grid Layouts in DW CS6
    http://www.adobe.com/inspire/2012/08/fluid-grid-layouts-dreamweaver-cs6.html
    Nancy O.

  • How do I make a Grid layout?

    Here should be an easy question for someone who knows Java, but for a newbee like me, it is difficult.
    I'm using a tutorial with Eclipse as my platform. Wherever possible I'm using the visual editor to make my code.
    The tutorial calls for Grid layout with 3 rows and 1 column. Eclipse says to right click on the graphic element and use Customize layout. This works, but Customize layout tells me "No layout options to customize on the current selection".
    My question is: what do I need to add (manually?), in order to get the Grid layout?
    Thanks,
    Ilan
    import javax.swing.JFrame;
    public class FirstAppl extends JFrame {
         public static final long serialVersionUID = 1;     // needed for compiler
         public FirstAppl() {
              super();
              initialize();
          * This method initializes this
         private void initialize() {
            this.setSize(new java.awt.Dimension(171,100));
            this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
            this.setTitle("First Swing Application");
            this.addWindowListener(new java.awt.event.WindowAdapter() {
                 public void windowClosing(java.awt.event.WindowEvent e) {
                      System.exit(0);
          * @param args
         public static void main(String[] args) {
              FirstAppl frame = new FirstAppl();
            frame.show();
    }  //  @jve:decl-index=0:visual-constraint="10,10"

    First of all, thanks for the reply, which did indeed help.
    I pushed on, trying my best to use the visual editor if possible.
    I failed in all attempts to drop the jButtons onto the jFrame.
    The only way I could get it to work was to drop the jButtons onto the white area which wasn't being used. Then at least I could add an event via the visual editor, which was good. I don't know if this is possible, but if I could add a "ContentPane", then I could drop the buttons onto it. I see again and again that I need "getContentPane()". Is this possible, or do I have to wait until I know Java better to answer this one?
    Thanks,
    Ilan
    import java.awt.GridLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    public class FirstAppl extends JFrame {
         public static final long serialVersionUID = 1;     // needed for compiler
         private JButton jButtonTop = null;  //  @jve:decl-index=0:visual-constraint="59,180"
         private JButton jButtonBottom = null;  //  @jve:decl-index=0:visual-constraint="41,224"
         public FirstAppl() {
              super();
              initialize();
          * This method initializes this
         private void initialize() {
            this.setSize(new java.awt.Dimension(180,131));
            this.getContentPane().setLayout(new GridLayout(3,1));
            this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
            this.setTitle("First Swing Application");
            this.getContentPane().add(new JLabel("Swing components act like AWT"));
            this.getContentPane().add(getJButtonTop());
            this.getContentPane().add(getJButtonBottom());
            this.addWindowListener(new java.awt.event.WindowAdapter() {
                 public void windowClosing(java.awt.event.WindowEvent e) {
                      System.exit(0);
          * This method initializes jButtonTop     
          * @return javax.swing.JButton     
         private JButton getJButtonTop() {
              if (jButtonTop == null) {
                   jButtonTop = new JButton();
                   jButtonTop.setText("Top");
                   jButtonTop.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             System.out.println("top");
              return jButtonTop;
          * This method initializes jButtonBottom     
          * @return javax.swing.JButton     
         private JButton getJButtonBottom() {
              if (jButtonBottom == null) {
                   jButtonBottom = new JButton();
                   jButtonBottom.setText("Bottom");
                   jButtonBottom.setSize(new java.awt.Dimension(75,26));
                   jButtonBottom.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             System.out.println("bottom");
              return jButtonBottom;
          * @param args
         public static void main(String[] args) {
              FirstAppl frame = new FirstAppl();
            frame.show();
    }  //  @jve:decl-index=0:visual-constraint="10,10"

  • Can I use grid layout in JSF visual page designer ?

    Hello dears...
    I am using Jdeveloper 11 g and 10 g .
    When I tried to use JSF visual editor (from the component palette), and when I drag any control to the page I found that the control go to the top left of the page
    and I even can not move the control to another place in the page by the mouse.
    the JSF visual designer seems to use flow layout for the page . (the same as using flow layout in the swing applications).
    The question is Can I change the page layout to be grid layout instead of flow layout ?????? (to be able to move any control to anywhere in the page.)
    Note that in netbeans 6.1 , when u design JSF page , you have 2 options for the page layout, grid layout and flow layout and u can choose as u like.
    Is this feature found in jdeveloper 11 ?????
    if not , Can anybody tell me any workaround to design JSF pages without using flow layout ????
    Thanks in advance
    Samy
    Edited by: user10653280 on Nov 29, 2008 1:30 PM

    We don't provide absolute positioning for JSF application - this is a bad practice since it fills your JSF page with CSS code and create applications that are not portable between different screen/monitor resolutions - so we use flow layout instead and provide a much richer set of layout components.
    See info here:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_orgpage.htm#CACCBCCI

  • Apex 4.2 theme 25 grid layout setting.

    Hi
    I know this is silly question but i had to ask you because i have i tried enough , i have done this before but it not working for me right now. :(
    I have 4 region on page .
    Region 1 Grid Layout
    Start New Row     Yes
    Column          Automatic     
    Column Span     Automatic     Region 2 Grid Layout
    Start New Row     Yes
    Column          1
    Column Span     4Region 3 Grid Layout
    Start New Row     NO
    Column          5
    Column Span     4Region 4 Grid Layout
    Start New Row     YES
    Column          1
    Column Span     8In Region 4 I have 11 number field items with setting.
    New Line YES
    New Field YES
    Width 11
    Height 1
    Column Span null(default)
    Row Span    null(default) I want to arrange first 6 in column 1 last 5 in column 5
    I played around the setting by changing column on item to start with 1 and 5 respectively and and set the NO to start new row.
    But it justs move little away to right not really to actual 5 column in grid.
    Your Input is appreciated.
    Thanks

    BUG in 4.1 application theme 25

  • Green highlight when working with Fluid Grid Layout Div tags

    What does the green highlight mean when working in Live view of a Fluid Grid Layout using Fluid Grid Layout Div Tags? Sometimes they show up, but sometimes they don't. I think it has something to do with the width setting but I can't figure out what the rule is or what the highlight indicates.
    Dreamweaver CS6
    Mac OSX 10.8.2
    THANK YOU!!

    Brian McNay wrote:
    the green highlight sometimes disappears when modifying the width property of the div. My question is what does this signify?
    If you change the width of a div manually in Code view or in the CSS styles panel, Dreamweaver ceases to treat it as a fluid grid layout div, and the green highlighting disappears.
    To be treated as a fluid grid layout div, the width must be adjusted by dragging the handles in Design view. Dreamweaver snaps fluid grid layout divs to the grid that is defined when you first create the page, and it calculates the width and margins to many decimal places. If the width and/or margin doesn't match the grid dimensions, the highlighting disappears, and the div is treated as any other div.
    It's not a bug, nor are fluid grid layout divs any different from normal ones. The idea of the grid and the highlighting is to allow you to create a responsive layout according to a hypothetical grid. Once you've created the basic structure, it's best to turn off the visual guides anyway.
    Personally, I think that the implementation of fluid grid layouts in Dreamweaver CS6 leaves a lot to be desired. The basic idea is good, but it's difficult to use if you don't have a solid understanding of CSS.

  • Dreamweaver Fluid Grid Layout

    Hi everybody! Doesn't it feel like the Fall weather? I love it as I see the trees changing colors. I will miss Summer but will enjoy the Fall holidays.
    This question goes back to one I asked a while ago but it is different. I decided to update to DW CC and I can't tell you how much I love it as
    I have watched all of the tutorials and find it much easier than the previous version.
    One thing I decided to do was to use the Dreamweaver Fluid Grid layout. I totally understand how it works for the most part. When I go to DW CC and the load up screen, I Select fluid grid layouts and then I am presented with a smartphone version, a tablet version, and a desktop version. I left the defaults as they seem to be updated and correct. This is the thing, I design my mockups in PS. I guess I am baffled on how to code that offer to DW. When I always created a fixed layout, I would easily just measure out the divs in PS and then create them in DW sizing everything to perfectly match my initial mockup.
    Now that I am using a fluid layout. I am presented with columns. Again, I left them as the default. My question is, I am designing in PS, I am designing for a specific resolution of 1024x768. But I am just confused on if I need to decrease columns or add columns to fit that, or if I even need to at all. For my specific resolution, should I change the desktop columns to somehow correspond to a 1024x768 resolution? The default is 12 columns. In Photoshop, is there a way to insert a fluid like grid to help me with my mockup?
    Sorry if this is a lot, but I would appreciate any help, thank you so much!

    Hi Nancy! I hope you have been well. Thanks so much for taking the time to post screen shots.
    I thought I just needed to create a mockup in PS with a 1024x768 resolution, and slice images. With the fluid layout, I inserted for example, my header image or banner at the top and I inserted it in the desktop view, it looked normal. It was sliced in a 1024 x 768 mockup. But, when I go to tablet and smartphone, it shrinks and it looks distorted almost. Is there something I am doing wrong?
    You stated that I needed to create 3 mockups in PS based on those sizes. Does that mean I would have to slice them all and place them in their proper sized sections smart phone, tablet, and desktop?
    Here is a video I watched. It seems like this guy used the same image and it looks just fine in all sizes. Create fluid, responsive web pages in Dreamweaver | Learn Dreamweaver CC | Adobe TV

Maybe you are looking for