Faux Columns - Problems Understanding and Implementing

Here's my site. It's not functional yet, so clicking on links won't do you any good. You can if you really want to, though:
http://www.ladyhawkslair.com/index04.html
The layout content consists of
A header (left; position absolute)
mainContent (floated right)
mainNav (floated left)
sidebar (floated left)
footer (cleared: both)
wrapper (contains everything and provides stone texture background)
I've read a little about faux columns, but
1) I'm not entirely sure I understand the concept. I'm really new to CSS.
2) I want to apply a fix to my current site and not re-do everything.  Because I am new to CSS, it's taken me forever!
The examples cited on the pages I read dealt with columns of the same length.  On my page, the "main content" starts at the top and the sidebar starts further down.  I could cheat and add more height to the sidebar and main content, but it might not look very good if someone is using a font-size of 30 or something.  Also, my footer would get lost. (Would this be an adequate if nothing else works?
Here's my code : http://www.ladyhawkslair.com/code.txt
If you can help me apply a column fix to my current design, please explain it to me like I'm five years old.
If I have to redo everything, I could put the header, mainNav and sidebar into a single column, since they are the same size.  In that case, still explain it to me like I'm five.

I've messed around with a wrapper similar to the one you made for me (very nice by the way), but I don't think the faux column approach will work for me without a major page design overhaul.  The repeating structure is interrupted at various points by a 15 px border of the stone texture, which I would like to keep, especially around the header. The wrapper background is then out of sync with the rest of the page. (The tear pattern doesn't match between the background for the sidebar and the background for the wrapper.)  I tried setting top padding. I can get the two to sync, but then the top of the page looks ridiculous.
I could re-design the header, mainNav and the sidebar into a single column, but sync between the wrapper and the images on the sidebar would still be a problem because I would like to keep the 15px border around the logo on the left and (if possible) between "main nav" and the sidebar.
I've read about a javascript solution, but there are some issues:
1) I know nothing about javascript
2) I'm wondering if the two columns must start at the same place on the page.  My "sidebar" div starts way below the "main content" div. I'd like both to extend to the end of the "main content" div.
3) If I created a two-column page (each column starts at the same distance from the top of the page, would the javascript work? Will it work with the page layout as it is?
My last resort would be to set the height to "auto" on the main content and match the height of the sidebar according to default font size.  It may not look as pretty as it could for some people, but it's better than nothing, I suppose.
If you can think of a better option for me, let me know, especially if someone could help me with the javascript.
P.S. Here is the "last resort" solution: http://www.ladyhawkslair.com
P.P.S It turns out it's not much of a solution because it doesn't look the same in live view, Firefox and IE.  Each is different.

Similar Messages

  • I used my Photoshop Elements 11 program yesterday and it worked fine; today I tried to open it and got a C++ Runtime Error. I am not tech savvy so need a solution I can understand and implement...if I uninstall and reinstall the program will it resolve?

    A little more info -- the program is running on Windows 8.1, 64 bit OS. 
    I originally purchased the program from Amazon -- could I uninstall and then re-download from there to resolve this?
    Thanks!

    Thank you so much.  The error provided no clues as to which MSVC runtime should be reinstalled so I removed the program from my computer and reinstalled it. It is working fine now.  Really appreciate your help and quick response!

  • Problem with faux column and min 100% height

    hello
    i',m trying to create a faux column on this page:
    http://www.malcmabe.co.uk/listtest.html.
    the column i'm trying to do is the left hand side menu
    column.
    i just can't get this to work, so i'm obviousley missing
    something.
    also, i've set the wrapper as minimum height of 100%. this
    isn't working, so my hunch is that it's having a knock on effect to
    the measurements of the left hand column....but i may be wrong
    any help would be appreciated.
    the css file is
    http://www.malcmabe.co.uk/listtest.css
    malc

    malcster2 wrote:
    > hello
    >
    > i',m trying to create a faux column on this
    > page:
    http://www.malcmabe.co.uk/listtest.html.
    > the column i'm trying to do is the left hand side menu
    column.
    >
    > i just can't get this to work, so i'm obviousley missing
    something.
    >
    > also, i've set the wrapper as minimum height of 100%.
    this isn't working, so
    > my hunch is that it's having a knock on effect to the
    measurements of the left
    > hand column....but i may be wrong
    >
    > any help would be appreciated.
    >
    > the css file is
    http://www.malcmabe.co.uk/listtest.css
    >
    > malc
    Malcolm
    That's not quite how faux columns work - you'd make an image
    the width
    of your container with the dimensions you need - perhaps a
    line only to
    separate a left and right column or something a little more
    detailesd -
    the image's height can be sliced very small as it will repeat
    on the y
    axis, attached via css to the container. You can then use
    margins or
    divs floated left and right to keep your content on either
    side.
    Something like this I made earlier......
    http://www.bealeandpyper.co.uk/
    and the background image......
    http://www.bealeandpyper.co.uk/p7bpassets/images/p7bp_layout.jpg
    btw most of us in here use the faster NNTP for accessing the
    newsgroups
    - OE, Outlook, Thunderbird and/or dedicated mail/newsreader
    apps would
    do to access them. Try clicking this link.....
    news://forums.macromedia.com
    HTH
    chin chin
    Sinclair

  • Problem with faux column and 100% min height

    hello
    i',m trying to create a faux column on this page:
    http://www.malcmabe.co.uk/listtest.html.
    the column i'm trying to do is the left hand side menu
    column.
    i just can't get this to work, so i'm obviousley missing
    something.
    also, i've set the wrapper as minimum height of 100%. this
    isn't working, so my hunch is that it's having a knock on effect to
    the measurements of the left hand column....but i may be wrong
    any help would be appreciated.
    the css file is
    http://www.malcmabe.co.uk/listtest.css
    malc

    malcster2 wrote:
    > hello
    >
    > i',m trying to create a faux column on this
    > page:
    http://www.malcmabe.co.uk/listtest.html.
    > the column i'm trying to do is the left hand side menu
    column.
    >
    > i just can't get this to work, so i'm obviousley missing
    something.
    >
    > also, i've set the wrapper as minimum height of 100%.
    this isn't working, so
    > my hunch is that it's having a knock on effect to the
    measurements of the left
    > hand column....but i may be wrong
    >
    > any help would be appreciated.
    >
    > the css file is
    http://www.malcmabe.co.uk/listtest.css
    >
    > malc
    Malcolm
    That's not quite how faux columns work - you'd make an image
    the width
    of your container with the dimensions you need - perhaps a
    line only to
    separate a left and right column or something a little more
    detailesd -
    the image's height can be sliced very small as it will repeat
    on the y
    axis, attached via css to the container. You can then use
    margins or
    divs floated left and right to keep your content on either
    side.
    Something like this I made earlier......
    http://www.bealeandpyper.co.uk/
    and the background image......
    http://www.bealeandpyper.co.uk/p7bpassets/images/p7bp_layout.jpg
    btw most of us in here use the faster NNTP for accessing the
    newsgroups
    - OE, Outlook, Thunderbird and/or dedicated mail/newsreader
    apps would
    do to access them. Try clicking this link.....
    news://forums.macromedia.com
    HTH
    chin chin
    Sinclair

  • I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

    I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

    Hi ,
    In your write back XML  try the below  query insert
    INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
    Regards
    Rajagopal

  • This sign appeared in my account: "Your payment method was declined. Update your biiling info'. After adding new information about my others cards I see the same sign. Can't understand what the problem is and what should I do. Need help!!!

    This sign appeared in my account: "Your payment method was declined. Update your biiling info'. After adding new information about my others cards I see the same sign. Can't understand what the problem is and what should I do. Everything used to be good before.
    Do anyone know what I supposed to do in that situation?
    Really need help!
    Thanks in advance.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Column Problems Between Explorer and Firefox

    First, I apologize if this is something that has been posted.
    The search function doesn't seem to be working, so I've been unable
    to check for previous posts on-point.
    I am having trouble with the columns in a table layout on a
    site I am designing. It's located at
    www.staggsmarketing.com/fleishell.html. The columns render properly
    in firefox, but not at all so in Explorer. If you view the Explorer
    version, the problem is quite obvious, so I won't explain further.
    If anyone can take a look at the site and suggest what I've
    done wrong, I would appreciate it. It was designed in CS3, and I've
    run all the standard dreamweaver tests (from the results tab) to no
    avail.
    Thanks in advance!

    > As to Walt's apparent suggestion that it's a total
    mistake to rely on DW
    > without extensive HTML/CSS knowledge, I hope nobody else
    is scared away
    > from DW
    > after reading it.
    Walt's suggestion was right on target. Using DW with no
    knowledge of HTML
    will always produce sub-optimal results.
    > I've designed maybe 4 to 5 dozen sites with DW and only
    a
    > scintilla of coding knowledge compared to many of the
    folks on these
    > forums,
    > and I really have only had to deal with three or four of
    Walt's blind
    > alleys
    > (including this one).
    You are in blind alleys you do not yet know about. This
    philosophy is
    short-changing you AND your paying customers.
    > Web design is a hobby for me
    And your output will always reflect this.
    > I recommend it to anyone with an
    > "HTML and CSS for Dummies" level of knowledge.
    I don't. It will be a continual frustration for them,
    especially if they
    want to rise above the 'hobby' level.
    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
    ==================
    "testaggs" <[email protected]> wrote in
    message
    news:[email protected]...
    > Alan, thanks -- I took a look at the path you were
    talking about, and it's
    > a
    > leftover from something before I put the site online. I
    am able to remove
    > it
    > without issue. Still doesn't fix the column problem; I
    may take Walt's
    > advice
    > and start over on the columns if I don't get any
    more-helpful posts on the
    > problem, but I'll wait a few days to see what others
    might suggest. The
    > few
    > times I've run into real problems before in DW, it's
    always been a simple
    > fix
    > that was just outside my skillset. I'm hoping someone
    sees that here and
    > says,
    > "You idiot, it's the ???? tag."
    >
    > As to Walt's apparent suggestion that it's a total
    mistake to rely on DW
    > without extensive HTML/CSS knowledge, I hope nobody else
    is scared away
    > from DW
    > after reading it. I've designed maybe 4 to 5 dozen sites
    with DW and only
    > a
    > scintilla of coding knowledge compared to many of the
    folks on these
    > forums,
    > and I really have only had to deal with three or four of
    Walt's blind
    > alleys
    > (including this one). I agree it's a great tool for
    those with good
    > coding
    > knowledge; but even with only an introductory level of
    coding knowledge,
    > I've
    > found it to be a fantastic program. Would I be better if
    I had that
    > knowledge?
    > Yes, loads. Would I be able to design anything with my
    current coding
    > skills
    > but WITHOUT DW? Not even a one-line blank page (that's
    an exaggeration,
    > but
    > you see the point). Web design is a hobby for me, and DW
    has been a
    > great
    > vehicle to help me make it a useful one. I recommend it
    to anyone with an
    > "HTML and CSS for Dummies" level of knowledge.
    >

  • Hello, my English his my second languish, i hope i will be understandable and will understand you... I just use photoshop to modify a picture. First i renamed it, then transformed it, after i save it under the new name. My problem is that in the web site

    Hello, my English his my second languish, i hope i will be understandable and will understand you.

    First see if the image is in RGB, Image CMYK is not displayed on the Internet
    The second image name has to be imported in website programming. For example: On the website the image is figura.jpg name if you rename the image to figura1.jpg the site will not find the image.
    In Photoshop to save as web it will save us now for internet formats. PNG, JPG, Gif

  • Faux column challenge

    I had a site working in tables, but switched to divs to avoid a problem with Spry tabbed panels. Now I am having challenges creating Faux Columns to re-create the look I had with tables:
    The page has a false three-column look so that a header graphic can "pop out" of the left side of the page. I set up the header and right sidebar divs, as well as the main page content and footer. To make the right sidebar faux column, I had a background graphic the width of the sidebar aligned right and repeated. So far so good.
    But then I had a problem when the main content div was shorter than the sidebar. The gray background - which I used to create the invisible first column - shows through at the bottom of the main div before the footer. Oops.
    I thought the simple solution was to create a background graphic the width of the main content + sidebar and align that right as I had the sidebar graphic. Bingo. No more problem with short page content. (Although it did mess up the nice muted background image).
    But ... now when the page content is *longer* than the sidebar, it works in Safari and IE but in Firefox the background graphic somehow doesn't kick in, and the gray shows through at the bottom of the sidebar. Also in IE, the footer shows up at the bottom of the sidebar, not the bottom of the page, even though there's a clearfloat.
    I am sure there is something SIMPLE I'm forgetting to do, but as I'm looking I'm not seeing it. Ideas?
    URLs:
    http://www.inkwellxwords.com  - shows the original design in tables
    http://www.inkwellxwords.com/iwxabout.html - shows the div rewrite with the long page content issue
    http://www.inkwellxwords.com/iwxsubscribe.html - shows the div rewrite with short page content
    CSS file is inkwell.css

    I'mnot sure I understand all your issues, but try this
    Add to your footer rule
    #footer     {
         background-color:#CC3300;     clear:both;     height:20px;     width:820px;     margin:auto;) Remove <table width="820" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="72">&nbsp;</td>
        <td width="748" bgcolor="#CC3300">&nbsp;</td>
      </tr>
      </table>
    See what that does for you.
    Gary

  • Java.sql.SQLException: Invalid column type: getInt not implemented ....

    I am working on SQLJ for EJB-CMP on websphere 5.1. I can successfully run insert methods. But when i run find method to get the objects. I got the runtime exception as follows:
    The stacktrace is:
    java.sql.SQLException: Invalid column type: getInt not implemented for class oracle.jdbc.driver.T4CRowidAccessor
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
         at oracle.jdbc.driver.Accessor.unimpl(Accessor.java:387)
         at oracle.jdbc.driver.Accessor.getInt(Accessor.java:497)
         at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:489)
         at oracle.jdbc.driver.UpdatableResultSet.getInt(UpdatableResultSet.java:437)
         at com.ibm.ws.rsadapter.cci.WSRdbResultSetImpl.getInt(WSRdbResultSetImpl.java:1831)
         at com.ibm.ws.ejbpersistence.dataaccess.RawBeanData.getInt(Unknown Source)
         at com.hsbc.fxg.esd.persister.websphere_deploy.ORACLE_V9_1.FXDealPersisterBeanExtractor_6847a04c.extractPrimaryKey(FXDealPersisterBeanExtractor_6847a04c.java:52)
         at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionImpl.processSingleRow(Unknown Source)
         at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionImpl.processRow(Unknown Source)
         at com.ibm.ws.ejbpersistence.dataaccess.AbstractResultCollection.get(Unknown Source)
         at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionIteratorImpl.next(Unknown Source)
         at com.ibm.ejs.container.finder.FinderResultServerImpl.nextPrimaryKey(FinderResultServerImpl.java:883)
         at com.ibm.ejs.container.finder.FinderResultServerImpl.getWrapperBase(FinderResultServerImpl.java:525)
         at com.ibm.ejs.container.finder.FinderResultServerImpl.getAllWrapperCollection(FinderResultServerImpl.java:772)
         at com.ibm.ejs.container.finder.FinderResultFactory.finderResultCollection_Common(FinderResultFactory.java:192)
         at com.ibm.ejs.container.finder.FinderResultFactory.getCMP20FinderResultCollection(FinderResultFactory.java:80)
         at com.ibm.ejs.container.EJSHome.getCMP20Collection(EJSHome.java:2851)
         at com.hsbc.fxg.esd.persister.EJSCMPFXDealPersisterHomeBean_6847a04c.findByStatus(EJSCMPFXDealPersisterHomeBean_6847a04c.java:196)
         at com.hsbc.fxg.esd.persister.EJSRemoteCMPFXDealPersisterHome_6847a04c.findByStatus(EJSRemoteCMPFXDealPersisterHome_6847a04c.java:177)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.CORBA.iiop.ClientDelegate$3.run(ClientDelegate.java:1140)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1138)
         at $Proxy0.findByStatus(Unknown Source)
         at com.hsbc.fxg.esd.persister._FXDealPersisterHome_Stub.findByStatus(_FXDealPersisterHome_Stub.java:438)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
         at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
         at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:352)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    I am using oracle version 10g. And Jpub 10.2 as the translator. How can i solve this problems? thx

    Looking at your trace, I assume you're trying to access ROWID or something like that, which is NOT Integer. If it is just ROWID, you should probably get it as string, if it just some NUMBER, you may try to access it as Long or BigDecimal instead. Or, if nothing helps, try to get this field valus as string also.

  • Issue with Faux Column solution for 2 Column website

    Hi - I hope you can help me
    I have come across a problem which I haven't seen before using the Faux Column method in DW CS5 - there is a white line appearing down the right side of my sidebar which I can only imagine is caused by the repeated background image I have set in the body tag.
    The code I have added to the body tag in my css style sheet is;
    background: #FFF url(../images/faux_background.jpg) repeat-y 50% 0;
    Website where the issue is occuring is www.nurtureearlylearning.co.nz.   The issue so far is appearing in Chrome, Firefox and IE.   IN Chrome and FIrefox, it will appear and disappear as you adjust the screen size but there is no consitency with what size the browser is.
    Please keep in mind that website is not finished yet - just an issue that i'd like to resolve so far
    Any help would be appreciated - thanks!
    Clint

    I'm using Firefox and I don't see a white line.  Not entirely sure why you need a background image at all for this layout  since the entire page is white.
    See a live example of Faux Columns
    http://alt-web.com/TEMPLATES/3-col-white-gray.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Can I create a curved faux column?

    I am relatively new to web design, Dreamweaver and CSS and I am not sure what are the limitations involved.
    I would like to create a 3 column layout with a the sidebar having a curved look instead of a simple straight box
    and have it scalable according to content.
    I understand the concept of the faux column and was wondering if there are any method that could be modified to achieve the result?
    Is my only option to create the background in Photoshop?
    Thanks

    Hi
    To reply to Myleniums answer, using css3, you would have to apply css3 rounded corners to just one corner of the item, along with adjusting the corner width and color to get the rounded effect, then apply a background color to get the left hand item. Finally using css3 transform rotate the item inside a div to the required position.
    I think everyone will agree, this is not worth the effort when a simple image of the 'curve' placed inside a div with the required color and a placed background image, would create the same effect.
    PZ

  • Faux column background not aligned in smaller browser window...

    I'm working on a three-column webpage.  I'm using fixed-width columns, with the left and right columns floated (started with a dreamweaver layout).  I am also using a background applied to the <body> tag to apply the faux column look, so that the side column backgrounds flow all the way down the page.
    My layout is a total of 780px wide, but the background image I'm using is 2000px wide.  It's the same image that was used in the previous version of the website, and I can only guess that the image is that wide to "fill" the extra space around the main content when the browser window is wider than 780px.  Because the image is so wide, I have it styled to center on the page.  When my browser window >= 780px wide, everything looks great... the faux columns line up perfectly with the divs.  However, when I make the window less than 780px, things get messy.
    My layout elements stay where they are, meaning that the left edge of the container stays aligned with the left edge of the screen and a scroll bar appears at the bottom.  However, since my background is set to center itself, it continues to try to center itself in the browser window.  Basically, the content is not centered in the browser window, but the background is, causing the faux columns to not line up with the divs.  The relevant CSS I have applied is:
    body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 12px;
        color: #666666;
        background-repeat: repeat-y;
        background-position: center;
        background-image: url(../img/BG-gray.gif);
    #container {
        width: 780px;
        margin: 0 auto;
        text-align: left; /* this overrides the text-align: center on the body element. */
    Note: everything within the container div stays where it should relative to the container, so I didn't include the CSS for them, though I can post it up later if you really need to see it.
    Is there a way to keep everything lined up in a smaller browser window? Or, would it be better to trim down the background image to the same width as the container?
    Sorry for the long message, but I'm new at this.  Please don't eat me.

    Same problem, only worse.  That causes the background to show from the very left edge of the image.  All my text is in the gray area in the example below.  Let me try to clarify...
    The background image is something like this (colors are for clarity):
    (filler)
    Left faux column
    Main content goes here. This is always in the center of the browser window.
    Right faux column
    (filler)
    Where the combined width of the blue, white, and red sections is 780px.  This is what I want my layout to line up with, the blue and red columns being the faux left and right columns, respectively.  The gray areas are "filler" that colors the excess width in browser windows that are wider than the fixed width of the main content.  With the background set to centered, the white stripe is always centered in the browser window.  As long as the window is wider than my layout, the layout is centered in the browser window as well.
    I'm looking for a way to either center the background relative to the layout container, not the browser window, or to keep the layout container centered in the browser window when the window is narrower than the layout.

  • Parameterized inheritance and implementation

    I'm learning generics, and I'm having a problem getting the following to work
    I have a base class with some data/behavior
    public abstract Base<E> {
    //...Then there is a concrete class that extends Base and implements Map
    public Concrete<E extends Object & Map<K,V>> extends Base<E extends Object & Map<K,V>> implements Map<K, V>{
    //...I cannot seem to specify that the type for Base must be a Map<K, V>.
    I've thought about containing and delegating, but really Concrete IS-A Base and Concrete IS-A Map.
    Am I missing something about inheritance and generics?
    Any suggestions?

    James,
    Based on your previous posts I think you understand generics as well as I do, and in some aspects, probably better.
    I was trying to capture my thought processes (and that is quite hard since mostly this happens sub-consciously - its quite hard to drag it up into consciousness then document it, but the effort was worthwhile for me and hopefully for others as well).
    In this particular case, E is Map<K,V>, but there could be all sorts of relationships between the type variables, the idea is to identify these and back substitute them, slowly getting rid of type variables until you can't get rid of any more. The ones you are left with are the ones that need to be type parameters.
    take the other post from yesterday
    http://forum.java.sun.com/thread.jsp?thread=554360&forum=316&message=2719355
    as another worked example...
    from
    "And I'm trying to create a special generic container (List) which would only take elements that
    implement the Keyable interface above. For example:
    public class ListOfKeyables <E extends Keyable> extends AbstractList<E>{..."
    and
    "Now, besides standard List methods that use type varable 'E' in their definitions, I would also
    like to have a special method like this:
       public E getByKey(Object key)   {   ... "
    I would start with (ignoring their "E extends Keyable" suggestion, its too premature for that).
    public class ListOfKeyables < ???? > extends AbstractList<E> {
        public E getByKey(Object key) { ... }
    } but "only take elements that
    implement the Keyable interface" suggests replacing E with Keyable<K> thus
    public class ListOfKeyables < ???? > extends AbstractList<Keyable<K>> {
        public Keyable<K> getByKey(Object key) { ... }
    Note In this case the substitution getting rid of E introduced another type variable (K), thats OK, its still a step toward a solution.
    Then the original poster said "But I would like to constrain the 'key' argument in this method to be of type that is specified as a type parameter to the Keyable interface"
    So after implementing this requirement we have
    public class ListOfKeyables < ???? > extends AbstractList<Keyable<K>> {
        public Keyable<K> getByKey(K key) { ... }
    }At this point there is no more substitutions or requirements to fulfill.
    So we look through and see what type variables are still unresolved. These (in this case there is only one K), are then the type parameters of the class, and thus we have what I suggested in that post
    public class ListOfKeyables <K> extends AbstractList<Keyable<K>> {
        public Keyable<K> getByKey(K key) { ... }
    }As a final step, we need to look at the type parameters and decide if they need any constraints (K extends something), These might come from some use of the type parameter ( such as if Keyable constrained its K parameter, we would need to do the same), or from the application requirements. But in this case, there are not any.
    At a certain level of abstraction, this process is not a whole lot different to the process you use when working out what parameters a method or constructor needs (and that process also tends to happen below the consciusness threshold).
    In really simplistic terms, the answer to both "what parameters do I need" questions is "all the ones you can't get from somewhere else or derive from the ones you already have".
    Bruce

  • How to connect Template project and Implementation project

    Hi Experts,
         I would like to know how to connect Template project and Implementation project
        in Solution maneger.   Please help.
    Best regards,
       Gaito

    Hey Gaito,
    great. Now that you have a template project, you need to create one or more templates within the project template.
    Go to tab Templates (of your Templ Proj) and activate 'Global Rollout Functionnality' to be able to use the templates.
    Create a new template thanks to button create. Visibility will be set to red 'private'. You ll have to set it to visible so it becomes visible from your implementation project.
    You ll see when trying to do that next message 'No scenarios/configuration structures assigned to the template XXXX'. That means that in SOLAR01 you did not define a scenario that ll be used in template you re trying to create
    In order to do that go to SOLAR01 for template project, select/create scenarios in tab structure and set in column template value of your template (the one you re creating in SOLAR_PROJECT_ADMIN) and in Global Attribute set value t Global
    You l definitely find more info on this in sap document SMI310 (course). I don t know if you can find it on internet
    Hope this helps
    Regards
    Khalil

Maybe you are looking for

  • Configure Pick Applet in Query Mode

    Hi, I am trying to configure pickapplet on virtual BC in query mode, but Static picklist is coming instead of Pickapplet. Created one Dynamic picklist and a Pickapplet. Specified the Picklist at BC level and Pickapplet at Applet level in control. Ple

  • I accidentally got into the full page view and would rather see the tabs at the top. how to get that back?

    i want to have the menu items at the top of the page but accidentally lost them. how to get them back? thanks

  • ALV Row Counter or row number

    hi, plz i want to make row counter or row number in alv report , how can i? ex. NO  :  Name   :  age 1      :  ahm    :  12 2       : a2        :  25 3        :  a3       : 30 30 waiting answers thanks

  • Pulseaudio no sound

    Followed the wiki and started daemon, used the fuser commands to check that nothing was using sound first and restarted daemon after closing all apps but no sound. Here is my /etc/asound.conf: # Use Pulseaudio by default pcm.pulse { type pulse ctl.pu

  • Backing up apps

    When I plug in my ipad 2 to my laptop I get a message that there is an update.... When I select download and update I get another warning saying that I have not backed up my purchased apps and to do so... When I select "back up" in iTunes, I don't se