Probably a Simple Alignment Problem

Ok this one is really bugging me. I'm using a BoxLayout and I want the items to align on the left edge rather than in the middle. I read through the tutorial for this exact thing, I've consulted several examples doing this exact thing, but it doesn't work for me. Maybe I've been looking at this code too long to spot the error and someone here can point me in the right direction.
I read that OBJECT.setAlignmentX(LEFT_ALIGNMENT) or OBJECT.setAlignmentX(Component.LEFT_ALIGNMENT) should set the objects alignment property and that BoxLayout should respect that and position it properly. I don't know why there are 2 methods, I assume that LEFT_ALIGNMENT and Component.LEFT_ALIGNMENT are actually the same reference to a "0" alignment value? Anyway, I found both of these listed as the solution to this problem, but neither seem to work in my program. I even tried sticking "0" in for the reference and I get the same error when I compile:
PhoneDatabase.java:217: <identifier> expected
     lblMaker.setAlignmentX(Component.LEFT_ALIGNMENT);
                                  ^So what is this identifier that it wants and why does this exact code compile quietly in other programs?

     lblMaker.setAlignmentX(0.0f);Gives me the same error, <identifier> expected, pointing at the 0.0f.
I tried importing Component and even awt.* and still no luck. Correct me if I'm wrong, but since the JLabel descends from Component shouldn't it automatically have access to the setAlignmentX method?
Everything in this panel should be left aligned so the problem Michael Dunn mentioned shouldn't be an issue.
Message was edited by:
michael.payne

Similar Messages

  • Probably a simple resultset problem???

    Hi everyone, basically when i select a shop from a combo box it populates the table with employees of this shop, if there are no employees in the shop (nothing in the result set) i would like an error message to be displayed telling the user there are no employees within that shop. However im having problems with two varieties of code to do this, see below:
    //PROBLEM ONE: This code shows the correct error message and shows the employees but only the employees after the first ame in the result set (for example if 4 rows in result set only 3 are displayed)
    JComboBox combo = (JComboBox)e.getSource();
                         String shopName = (String)combo.getSelectedItem();
                   try {
                   ResultSet eID = al.convertShopName(shopName);
                             String id2 = "";
                             while (eID.next()) {
                              id2 = eID.getObject(1).toString();
                   ResultSet empNames2 = al.getAvailableNames(id2);
                   if (!empNames2.next()) { //This is used to show error message
                        JOptionPane.showMessageDialog(null, "There are no available employees within the selected shop", "Error Message",
                                           JOptionPane.ERROR_MESSAGE);
                   else {
                           model.addData(empNames2);
                        table = new JTable(model);
                           for(int i = 0; i < column_count; i++) {          
                                table.getColumnModel().getColumn (i).setPreferredWidth (200);                   
                   catch (SQLException sql2) {
                        System.out.println("Failed while re-populating JTable with your staff");
    //PROBLEM TWO: In this option i have out the error message code and tried to change it but now all the correct employees are displayed for every shop but an error message it is not displayed:
    JComboBox combo = (JComboBox)e.getSource();
                         String shopName = (String)combo.getSelectedItem();
                   try {
                   ResultSet eID = al.convertShopName(shopName);
                             String id2 = "";
                             while (eID.next()) {
                              id2 = eID.getObject(1).toString();
                   ResultSet empNames2 = al.getAvailableNames(id2);
                   if (empNames2 == null) {//Changed it to this but DOESNT WORK
                        JOptionPane.showMessageDialog(null, "There are no available employees within the selected shop", "Error Message",
                                           JOptionPane.ERROR_MESSAGE);
                   else {
                           model.addData(empNames2);
                        table = new JTable(model);
                           for(int i = 0; i < column_count; i++) {          
                                table.getColumnModel().getColumn (i).setPreferredWidth (200);                   
                   catch (SQLException sql2) {
                        System.out.println("Failed while re-populating JTable with your staff");
    Can anyone help where by i can show all employees and also the error message
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    JComboBox combo = (JComboBox)e.getSource();
    String shopName =
    tring shopName = (String)combo.getSelectedItem();
                   try {
                   ResultSet eID = al.convertShopName(shopName);
              String id2 = "";
              while (eID.next()) {
              id2 = eID.getObject(1).toString();
              }The above sets id2 to the first column from the last row. That's all it does. If you have 100 rows, the first 99 will be skipped. Is that what you want?
    >                   
                   ResultSet empNames2 = al.getAvailableNames(id2);
    if (!empNames2.next()) { //This is used to show
    ow error message
    JOptionPane.showMessageDialog(null, "There are no no available employees within the selected shop",
    "Error Message",
                                  JOptionPane.ERROR_MESSAGE);
                   else {
                   model.addData(empNames2);
                        table = new JTable(model); Okay, I assume addData does rs.next() and extracts from the ResultSet. But look, in the "if", you're doing rs.next() once. If the first thing you do inside of addData, then you call next() in the if, and then immediately call next() again, so you never do anything with the first one.
    A couple of possibile solutions:
    * inside addData, do the gets first, and the next() at the end of the loop. You'll probably have to adjust your loop termination test.
    * Don't check first, just call addData, and have it return the number of rows added, or a boolean for whether it added any, use that result to decide whether to throw the exception.

  • Probably a simple fix ...

    why doesnt my page look the same in the browser as it does in dreamweaver?
    < what it looks like in dreamweaver ... perfect
    < what it looks like in my browser ... all spread out and messed up
    there is probably something simple i am doing or not doing but i cannot figure it out hopefully someone can help me out
    thank you so so so so much!
    here is this page's code if needed:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Designs by Christina Mae  |  School { print }</title>
    <script type="text/javascript">
    <!--
    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_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_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>
    <style type="text/css">
    <!--
    body,td,th {
    color: #A78462;
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    -->
    </style></head>
    <body onload="MM_preloadImages('slices/school-motion/motion_rollover_09.gif','../slices/school- print/print_rollover_04.gif','../slices/school-print/print_rollover_06.gif','../slices/sch ool-print/print_rollover_10.gif','../slices/school-print/print_rollover_09.gif')">
    <table width="1024" height="384" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="221"><table width="221" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="221"><img src="../slices/school-print/print_01.gif" width="221" height="73" /></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_03.gif" width="221" height="71" /></td>
          </tr>
          <tr>
            <td><a href="../web&amp;motion/DESIGNS_motionweb.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','../slices/school-print/print_rollover_04.gif',1)"> <img src="../slices/school-print/print_04.gif" name="Image8" width="221" height="18" border="0" id="Image8" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_05.gif" width="221" height="33" /></td>
          </tr>
          <tr>
            <td><a href="../freelance/DESIGNS_freelance.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','../slices/school-print/print_rollover_06.gif',1)" ><img src="../slices/school-print/print_06.gif" name="Image11" width="221" height="21" border="0" id="Image11" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_07.gif" width="221" height="552" border="0" usemap="#Map3" /></td>
          </tr>
        </table></td>
        <td width="803"><table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="655" nowrap="nowrap" bgcolor="#F9F3DE"><script type="text/javascript" src="swfobject.js"></script>
    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player.
    <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
    <script type="text/javascript">
    var fo = new SWFObject("viewer.swf", "viewer", "800", "600", "8", "#f8f0dd");
    fo.write("flashcontent");
    </script></td>
          </tr>
          <tr>
            <td nowrap="nowrap"><table width="605" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="553"><p><img src="../slices/school-print/print_08.gif" width="591" height="113" /></p></td>
                <td width="52"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="42"><p><a href="../resume.pdf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','../slices/school-print/print_rollover_09.gif',1)" ><img src="../slices/school-print/print_09.gif" name="Image13" width="212" height="23" border="0" id="Image13" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><a href="mailto:[email protected]" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','../slices/school-print/print_rollover_10.gif',1)" ><img src="../slices/school-print/print_10.gif" name="Image12" width="212" height="22" border="0" id="Image12" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><img src="../slices/school-print/print_11.gif" width="212" height="68" /></p>
                      </td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <div align="center"></div>
    <map name="Map" id="Map"><area shape="circle" coords="114,449,42" href="DESIGNS_home.html" />
    </map>
    <map name="Map2" id="Map2"><area shape="circle" coords="112,447,40" href="DESIGNS_home.html" />
    </map>
    <map name="Map3" id="Map3"><area shape="circle" coords="114,445,43" href="../DESIGNS_home.html" />
    </map></body>
    </html>

    It's always nicer to see the live page on remote server so we can see the images and everything in context.
    Try changing this:
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    to this:
    body {
    background: url(../webimages/background.gif) repeat;
    Also,  remove the height="value"  from your tables.  It's not valid code.
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Probably a simple SQL Query - Newbie

    I want to select entries from a table that has 2 columns where the first column value is contained within the 2 column....Does that make sense?
    The first is a varchar that contains a value for a customer. The second is a varchar that contains a a textual description of a problem the customer has. My problem is that I only want to select the entries in the table where the second column contains a description that includes the first column value.
    eg. I want to select rows that have the following condition:
    column1 has value of "customer1"
    column2 has a value of "an error was reported by customer1 on service blah"
    but not these
    column1 has value of "customer1"
    column2 has a value of "an error was reported by customer2 on service blah"
    This is probably a simple question but I've spent time looking at how to do it and can't seem to manage...any help would be appreciated....Thanks

    Hi Barbara,
    I've never used the CONTAINS operator before. I compared the use in this situation to the other methods and found the others to be FAR less resource intensive, despite working on unindexed columns, as I demonstrate below.
    It would seem that CONTAINS is unsuited to this type of simple query. Can you shed any light on this, from the perspective of somebody who has used it before? Is this type of performance penalty normal? If so, it could seem that CONTAINS is fairly useless next to LIKE.
    [email protected]> desc test;
    Name                                        Null?    Type
    COLUMN1                                              VARCHAR2(20)
    COLUMN2                                              VARCHAR2(100)
    [email protected]> select count(*) from test;
      COUNT(*)
         10000
    Elapsed: 00:00:00.00
    [email protected]> select * from test where instr(column2, column1) > 0;
    10000 rows selected.
    Elapsed: 00:00:00.18
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=23 Card=8328 Bytes=532992)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=23 Card=8328 Bytes=532992)
    Statistics
              5  recursive calls
              0  db block gets
            821  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          10000  rows processed
    [email protected]> select * from test where column2 like '%'||column1||'%';
    10000 rows selected.
    Elapsed: 00:00:00.18
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=23 Card=8328 Bytes=532992)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=23 Card=8328 Bytes=532992)
    Statistics
              5  recursive calls
              0  db block gets
            821  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          10000  rows processed
    [email protected]> create index testidx on test(column2) indextype is ctxsys.context;
    Index created.
    [email protected]> select * from test where contains(column2, column1) > 0;
    10000 rows selected.
    Elapsed: 00:00:56.80
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=25008 Card=4 Bytes=284)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=25008 Card=4 Bytes=284)
    Statistics
          55201  recursive calls
              0  db block gets
          85857  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
            204  sorts (memory)
              0  sorts (disk)
          10000  rows processedThanks in advance,
    Anthony

  • Alignment problem in converting smartform printpreview into PDF

    Hi all,
    I am getting some alignment problem in converting smartform printpreview into PDF format, i.e the format of PDF is different from printpreviw of smartform.
    kindly suggest something so that alignment is not changed while converting to PDF.
    Regards,
    Sumalatha

    use below f.m to convert it into 255 characters....
         CALL FUNCTION 'QCE1_CONVERT'
            TABLES
              t_source_tab         = i_tline
              t_target_tab         = so_ali[]
            EXCEPTIONS
              convert_not_possible = 1
              OTHERS               = 2.

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • JDeveloper IDE simple setting problem

    Hi,
    Recently we switched to JDeveloper from Visual Cafe .I have a simple setting problem.How can I set the options so that IDE gives, the core java classes and packages,and our application classes and packeges, prompts in imports as well as in code.Where to set the options.
    eg: when I write
    import java. it should prompt all the pakages.
    Thanks in advance.
    -Gopal
    null

    I am not sure I understand what you are requesting, but ...
    You can configure JDeveloper projects to include various libraries by default.
    This is done by selecting menu Tools | Default Project Properties.../ Libraries tab.
    You should define a library for your classes.
    You can import any of the packages / classes from all the libraries which your project includes.
    It would be incorrect for a tool to automatically add a bunch of import lines at the top of every file because each file should import what it needs and just as importantly, not import what it does not need depending on the component type (e.g. a servlet should not include javax.swing.* ).
    An easy way to import elements into JDeveloper is to type in something like:
    import java.
    // and then type in Ctrl Space
    and this launches the package browser, you can select packages or classes to import.
    You can also do this at the variable declaratiton point such as typing in:
    foo() {
    Frame x
    // Press Control Alt Space
    and this will correctly change the type (Frame) to the type you select in the package browser and add the import statement.
    -John
    null

  • Alignment problem on abap report after Unicode conversion

    Hi,
    I've recently convert my system to unicode. Now my user is complaining the aged debtor report (ABAP) is having a column alignment problem when displaying the Japanese character.
    I'm not sure what to do now. Have anyone experience this and let me know how can I sove the problem?
    /Eida

    Hi,
    you need to regenerate the data
    For this regeneration, you start the program RKETREGP with the parameter
    application class 'KK', subclass '01' and table name 'KKROBJ'.
    br, Guido

  • Probably incredibly simple question, so sorry. I have just changed e-mail after many many years and I want to e-mail everyone in my mac mail client with the new e-mail address at the same time.

    Probably incredibly simple question, so sorry. I have just changed e-mail after many many years and I want to e-mail everyone in my mac mail client with the new e-mail address at the same time.

    If you are using Address Book, open it, create a new Group, select all you contacts by click the top one while holding down the shift key and then select the last one. Drag the contacts to the group, then send an e-mail to the group.

  • Having a image alignment problem using clearbox

    Hi,
    I'm having an image alignment problem. I cannot figure it out. I'm using the clearbox - lightbox dreamweaver widget. Using Dreamweaver CS6.
    Actual page located here. Any help would be appreciated.
    http://dirtysouthink.com/gallery/dustin2.html

    This has very little to do with Dreamweaver. DW is merely a tool to assist you in building a web site. It is purely a matter of styling (CSS).
    When I look at the structure, I see
    BODY-CONTENT (width: 490px)
         GALLERY (width: 452px)
              CONTAINER (width: 500px)
                   ITEM (width: 150px)
    From this I can deduce that:
    GALLERY will fit inside BODY-CONTENT
    CONTAINER will NOT fit inside GALLERY or BODY-CONTENT
    ITEM will fit three times into CONTAINER
    To start with, I would reduce the size of the CONTAINER so that it fits inside of its parent. Then I would adjust the width of the ITEM so that only two of them fit inside of the CONTAINER.

  • Probably super simple...ACL/VLANs

    I have a VLAN 6 that is dedicated to a Partner organization (they share our bandwidth and schedule conference rooms with our Exchange).
    Question is how do I configure ACLs to direct ALL traffic to and from Partner, exception of accessing our Outlook Web Access and DNS servers in VLAN 1, and our websites in VLAN 2 ?
    This is probably super simple but I keep ending up with traffic going where I don't want it to.  Thanks so much...
    (And if anything else seems wacky about this setup, blame the last IT guy)

    What is the platform you are using??? ASA, router??
    Thanks,
    Varun Rao
    Security Team,
    Cisco TAC

  • Same alignment problem! can ANYONE help??

    Hi guys i still need help with my alignment problem! My nav
    bar lokos good in the preview window of fireworks
    CLICK
    HERE TO VIEW THE NAV BAR IN FIREWORKS
    but when previewed in a browser or exported into dreamweaver,
    the navbar is all out of order
    CLICK
    HERE TO VIEW THE NAV BAR IN DREAMWEAVER
    Can anyone tell me what is going on?? i really need to launch
    the website ASAP.
    Thankyou!

    10totti wrote:
    > Hi guys i still need help with my alignment problem! My
    nav bar lokos good in
    > the preview window of fireworks
    >
    >
    http://img97.imageshack.us/my.php?image=nav1yp1.jpg
    I hate being harassed by ads and will not review images on
    the image
    shack site any longer. Post the screen shot or original file
    to your
    personal site.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    Design Aid Kits:
    http://www.webdevbiz.com/pwf/index.cfm

  • Simple OOP Problem. Help!

    This is just a simple OOP problem that i cant decide on a best
    implementation for.
    im passing an object to an instance of, 'TabbedFrame', which is just
    a frame with a Tabbed Pane in it that is holding custom panels.
    however, these custom panels need access to the object being
    passed to 'TabbedFrame' and to some methods in it.
    i cant make them static however so how do i gain access to them?
    is my only option to pass the 'TabbedFrame' to each panel?
    like - jtabbedpane.add( "Panel 1", new mypanel1(this));
    here is code:
    new TabbedFrame( DataObject );
    public class TabbedFrame{
    public TabbedFrame(DataObject do){
    this.do = do;
    jtabbedpane.add( "Panel 1", new mypanel1() );
    DataObject do;
    public class mypanel1{
    public mypanel1(){
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    }i would just pass the DataObject to evey panel (there are 12) but
    i also need to be able to call methods in the 'TabbedFrame'.
    Any help would be appreciated!

    Modify mypanel1's constructor:
    public class mypanel1{
    TabbedFrame tf;
    public mypanel1(TabbedFrame tf){
    this.tf = tf;
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    DataObject theDo = tf.getDataObject();
    tf.someMethod(); // Call method on the TabbedFrame
    }In TabbedFrame:
    public TabbedFrame(DataObject do){
    this.do = do;
    // Modify call to constructor to pass "this" TabbedFrame.
    jtabbedpane.add( "Panel 1", new mypanel1(this) );
    }

  • Banner Alignment Problem

    I am having an alignment issue with a website that I recently built using dreamweaver.
    http://bacs.myweb.uga.edu
    There is not an alignment problem on the front page (index.html), but subsequent pages (http://bacs.myweb.uga.edu/currentstudents.html) change the alignment of the banners below the tabs for each section.  Screen resolutions of 1280X800 do not have any alignment issues, but pretty much any other resolution changes the alignment.  Is there a solution to this problem?  Rather than posting all the code, you should be able to get it from the links above.  Thanks in advance.
    Frustrated in Athens,
    Aldo

    html
    <body>
    <div id="wrapper">
    </div>
    </body>
    css
    #wrapper {
    width: /*the width of your content */
    margin:0 auto; /*this will centre align it*/
    padding:0;

  • Paper Alignment problems!

    I have a HP F4280 all in one printer, just recently when doing any type of printing, everything is printed but comes off alignment, that is not straight on the page. How can I fix this paper alignment problem? I've had this printer for 2 years now and just recently the alignment is off, I haven't done anything different!

    The troubleshooting page here may help.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for

  • Error in xml to html transform function in 11g(Help needed urgent)

    We are migrating from 9g to 11g.Code given below is working fine with 9g but giving following error while converting xml to html. Error:Exception occurred in XML_TO_HTML :ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-0

  • MSS How to edit internationalized text in EP iViews

    Hi, Trying to edit internationalized text in the portal. I am wondering if I can go from the PCD and use 1) Translation Worklist Coordination or 2) Worklist Translation. I am having problems with my portal, so can not do much. Should I use option 1 o

  • ORA 12154 on OCIServerAttach

    Hi! I get an ORA 12154 when calling OCIServerAttach. The OCIEnvCreateand two OCIHandleAlloc calls are OK. This setup used to work with 32bit pcs. But on 64bit pcs the troubles arise. If we do tnsping on the the same server name, it responds. So I can

  • Smartforms need to generate one DC NO

    Hi Experts, I am developed one Delivery challan smartform. It's working is fine, but the probelm is i am create one ZTABLE with the fields (Date, Delivery Number,Route ,DCNO and CDCNO) while i am execute the smartforms i need to update the DCNO with

  • I need help getting my facetime to connect

    I need help getting my iphone 4 to connect to facetime.  It will dial, then say connecting, the just hangs up