Making columns with a long list

I preformed a query and got a long list.  The output doesn't take up that much horizontal space and so I'd like to make two columns with it to save on scrolling.  Is that possible with CSS?
Here's my list looks like this:
Name: Snowfresh
Brewer: Edelweiss
Overall: 3.5
Name: Zepplin
Brewer: Leibringer
Overall: 3
And the code:
<p>German List:</p>
<table width="182" height="145" border="0">
  <?php
//Puts it into an array
while($info = mysql_fetch_array( $data )) {
//Outputs the image and other data ?>
  <tr>
    <td><?php echo  "<img src=http://localhost/beer_diary/images/beer_tasted_profile/".$info['image_id'] ."><br/>";?></td>
    <td><?php echo "<b>Name:</b> ".$info['beer_name']. "<br> ";
    echo "<b>Brewer:</b> ".$info['brewer']. "<br> ";
    echo "<b>Overall:</b> ".$info['overall_id']; }?></td>
  </tr>
</table>
<p> </p>

Yea, CSS3 columns are about as helpful as CSS3 regions at this point.  I'd recommend this article for turning a list into columns:
http://www.alistapart.com/articles/multicolumnlists/

Similar Messages

  • Macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple,

    macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple, the same error message box appeared again and again every time OK was clicked.  Now the macbook will not turn on at all

    If you're able to boot, launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all.
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.

  • I found a page with a long list of short videos to wathc on how to use my new mac, now I can't find it anywhere--anybody know where this is?

    I found a page with a long list of short videos on how to use my new imac, now I can't remember how I got there--anyone know where i can find?

    Assuming Safari, CMD+OPT+2 brings up history.

  • How to write a javascript function on a report column with type select list

    I have a report with a select list column:
    HTMLDB_ITEM.SELECT_LIST_FROM_LOV(22, "tablename"."PRIMARY", 'PRIMARY').
    The value of primary can be null, yes, no. I want to write a javascript to achieve this: once the user changes one primary value to be yes, others with 'yes' will be changed to 'no' automatically.
    Could somebody help me on this.
    Thanks.
    Jen

    Thanks Patrick for your quick reply.
    I created a dynamic action with the following steps, but the dynamic action is not taking place.
    Event: After Refresh
    Selection Type: Region
    Region: Report 1 (my report name)
    Then in the true action
    Action: Execute Javascript SCode
    Code: showHighlight();
    I even tried to get an alert, but the dynamic action is not done at all. It seems the After refresh dynamic action is not working for a region.

  • Can I set all folders to the same column with in Finder list view?

    I set Finder to display 4 columns in list view: Name, Date Modified, Size, Kind. Is there a way to apply the width of those columns to all folders? Column width is not affected by the option "use as defaults" in the view options.

    I've just seen that somebody else asked the same question lately:
    https://discussions.apple.com/message/22368987#22368987
    There seems to be no way to do what I want to do.

  • How do I open a folder on my desktop and avoid getting the left hand column with devices shared, etc and the other column with my desktop lists?

    I just want to see the contents of the folder not all the other columns!

    Finder->View-Hide Sidebar (⌘⌥ S). Once set, ⌘J and select Use as Defaults. That'll ensure all newly opened windows have that setting.

  • Long list of problems I had, culminating in iPhone no longer powering on.

    So, let me start off by saying, there is no Apple Store available save by taking a plane to another island.
    Anyway, awhile back when I updated my phone to a new version (I don't remember which), a bunch of things started happening.
    1. No WiFi, it was grayed out, and inaccessible.
    2. Would not ring if someone called me while the phone was on standby, except sometimes if it was plugged in and charging.
    3. Calls would sporadically fail, and signal strength would alternate between full bars to none, to showing "No Service", and sometimes would show "No Sim". I could usually (not always) get service or signal strength back by toggling airplane mode on or off, but the only way to get rid of "No Sim" was to power it on and off.
    4. Clock would always show the wrong time. It would seemingly stick at say... 3:40.. even though it was 6:00, then suddenly before my eyes jump forward 2 hours to the right time or still a bit behind. This also caused the alarm functions to not work, because it would usually skip over the time it was supposed to go off.
    5. Error messages would occasionally flash on the screen, but disappear so quickly as to be nearly unreadable, sometimes saying "Please connect to iTunes" but it hadn't done that one in awhile.
    6. A general sluggishness at times, also weird delays on sounds or none at all. I.E. I'd take off standby (wouldn't make swish sound), start to type a text message, only there'd be no sound while typing, but then 30 seconds later it'd make the swish sound it normally makes as you take it off standby, and resume clicking when typing.
    Restoring it through iTunes would not help at all.
    Anyway, so today, I tried restoring it like 6 times in a row out of pure frustration, and it like got stuck in recovery mode while rebooting, and when iTunes was restarting it, it just turned off.
    The iPhone will no longer turn on, even when plugging it in to my computer or to the outlet charger, no matter if I hold power or home button or both.
    Update: I just got it to power on again, about an hour after I was last trying fruitlessly. I restored it again, so it's "working" albeit with the long list of problems above still.
    Message was edited by: Dryesias
    Message was edited by: Dryesias

    If you regularly sync your iPhone, you won't lose ANY info when restoring.
    iTunes creates and maintains a backup of your iPhone - which is updated if needed as the very first step during the sync process. The backup stores all your iPhone settings, SMS messages, notes created with the Notes application, recent calls, call favorites, visual voicemail messages, and photos captured by your iPhone - basically all data stored on your iPhone not included with the sync process.
    Your iPhone has not died - not yet, but it has developed a problem which requires a Restore.
    It isn't required to have an Apple Store near you. This can be handled over the phone by calling AppleCare (800) 694-7466, but I venture to say that AppleCare will try to troubleshoot the problem over the phone before having your iPhone picked up for inspection and testing, which will very likely include a Restore just as the error message provided indicates. You can do it now, which will probably resolve the problem, or wait and do it when calling AppleCare.

  • How to error check string for LONG list of strings

    Hi All,
    Let's say I want to compare a string variable with a long list of strings to see if it matches anything in that list. Is there some built-in function that will make this easy. Or should I do it the old fashioned way and load a string array with the list and then for loop through the array comparing each element?
    Cheers,
    ScKaSx

    ScKaSx wrote:
    I'm alittle weak at using interfaces. If the string I am trying to compare is (String grade), then how do I define my List to be ("A+", "A", "A-", "B+", "B", "B-", "C+", "C", .....). This is as far as I've got:
    String grade = 'some letter to be compared'
    String [] GradeList = new String [] {"A+", "A", "A-", "B+", "B", "B-", "C+", "C", .....};Maybe I could summarize what I meant using your example:
    Set<String> PossibleGrades = new HashSet();
    PossibleGrades.add("A+");
    PossibleGrades.add("C");
    String grade = "some letter to be compared";
    if(PossibleGrades.contains(grade) )
       // do something...
    }

  • Long list of names - three columns

    Hi,  I am tryhing to do the follow:
    -  I have a long list of names which need to be continually updated.
    -  List is in Alphbetical order
    -  As the list is so long I want to have three columns per page.
    -  How can I keep updating and making sure they are in alphabetical order without having to keep organising them.
    If you select and put into ascending order it only does one column at a time not the whole list?
    Please can you help.
    Thanks.
    Ozpaws

    Hi Oz,
    I'm disappointed that we haven't heard from you since my (and Jerry's and Jeff's) most recent posts.
    I've done a bit of further exploring since then. Here's a sample of the results, using the same data as in my earlier suggestion, but with the result data moved into two three-column tables.
    The result tables (Print3x, on Sheet 1, on the right, are scaleable to the size that will fit one to a page, and additional result table need only a simple edit to the formula before it is filled into the new table. The extra column on Print3a is required to avoid a self-reference error. All Print3x tables must contain the same number of rows.
    Updating, as previously, requires a sort of the Data table (on Sheet 2, on the left) after new entries are made. Resorting of the result tables is automatic.
    The small table, Counts, on Sheet 2, is for calculations related to the transfer, and may be hidden, or moved to a third sheet, if desired.
    Formulas:
    Counts::B2: =COUNTA(Data3 :: $A)
    Counts the number of names in the list.
    Counts::B3: =ROWS(Print3a :: $D)-1
    Counts the number of rows (including the header row) in Print3a. Subtracts 1 to obtain the number of rows to fill with names.
    Counts::B4: =COLUMNS(Print3a :: $1:$1)-1
    Counts the number of columns (including the extra column) in Print3a. Subtracts 1 to obtain the number of columns to fill with names.
    Counts::B5: =B3*B4
    Calculates the number of cells used when the table is full.
    Print3a:
    A2, and filled right to column 3 and down to the end of the table:
    =IF(0+ROW()-1+(COLUMN()-1)*Counts :: $B$3<=Counts :: $B$2,OFFSET(Data3 :: $A$1,0+ROW()-1+(COLUMN()-1)*Counts :: $B$3,0),"")
    0+ROW()-1+(COLUMN()-1)*Counts :: $B$3<=Counts :: $B$2
    Compares the number of cells used to this point with the number of names to be filled in. If the number 'used' is less than or equal to the number of names, then:
    OFFSET(Data3 :: $A$1,0+ROW()-1+(COLUMN()-1)*Counts :: $B$3,0)
    Fills the current cell with the next name from the Data table.
    If the number 'used' is greater than the number of names, then:
    places a null string in the cell.
    Print3b:
    =IF((Counts::$B$5+ROW()-1+(COLUMN()-1)*Counts :: $B$3)<=Counts :: $B$2,OFFSET(Data3 :: $A$1,Counts :: $B$5+ROW()-1+(COLUMN()-1)*Counts :: $B$3,0),"")
    This is the same formula as used on Print3a, with the two bold parts replaced as shown to make each new table start at the right place on the Data list.
    For the third Print# table, Counts::$B$5 would be replaced with (2*Counts::$B$5), etc.
    Some difficulty to set up, but fully automatic once in place. To Print, go to Sheet 2, then Print. Limit the pages to print to pages 1 to the count of tables containing names.
    Regards,
    Barry
    PS: I like Jerry's method—simple and easy, requiring only a copy and paste, then setting the Pages document to three columns. The second step could possibly be eliminated by setting up a three column template, and using that for the document to paste into. (NOT tested due to lack of time at the moment)
    B

  • How tu update a column having type 'Long raw' in oracle table with an image

    Hello,
    I must change the image loading in a column with 'long raw' type in the table. I find an image data already in the table.
    I have my new imgae in a file .bmp.
    What SQL instruction I mut use to update this column to load my new image ?
    I work in Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod.
    thanks for your helps.
    Regards.

    Unless I'm missing something MSFT are making it unecessarily complex by not implementing the SQL/XML standard...
    SQL> alter table emp add ( emp_xml xmltype)
      2  /
    Table altered.
    SQL> update emp set emp_xml = XMLELEMENT("EMPLOYEE",xmlattributes(EMPNO as "id"), XMLElement("Name",ENAME))
      2
    SQL> /
    14 rows updated.
    SQL> set pages 0
    SQL> select EMPNO, EMP_XML from EMP
      2  /
          7369
    <EMPLOYEE id="7369">
      <Name>SMITH</Name>
    </EMPLOYEE>
          7499
    <EMPLOYEE id="7499">
      <Name>ALLEN</Name>
    </EMPLOYEE>
          7521
    <EMPLOYEE id="7521">
      <Name>WARD</Name>
    </EMPLOYEE>
          7566
    <EMPLOYEE id="7566">
      <Name>JONES</Name>
    </EMPLOYEE>
          7654
    <EMPLOYEE id="7654">
      <Name>MARTIN</Name>
    </EMPLOYEE>
          7698
    <EMPLOYEE id="7698">
      <Name>BLAKE</Name>
    </EMPLOYEE>
          7782
    <EMPLOYEE id="7782">
      <Name>CLARK</Name>
    </EMPLOYEE>
          7788
    <EMPLOYEE id="7788">
      <Name>SCOTT</Name>
    </EMPLOYEE>
          7839
    <EMPLOYEE id="7839">
      <Name>KING</Name>
    </EMPLOYEE>
          7844
    <EMPLOYEE id="7844">
      <Name>TURNER</Name>
    </EMPLOYEE>
          7876
    <EMPLOYEE id="7876">
      <Name>ADAMS</Name>
    </EMPLOYEE>
          7900
    <EMPLOYEE id="7900">
      <Name>JAMES</Name>
    </EMPLOYEE>
          7902
    <EMPLOYEE id="7902">
      <Name>FORD</Name>
    </EMPLOYEE>
          7934
    <EMPLOYEE id="7934">
      <Name>MILLER</Name>
    </EMPLOYEE>
    14 rows selected.
    SQL>

  • I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders

    I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders app for the COMPUTER that is more user friendly?

    sgreenie,
    If you are willing to wait, Apple - OS X Mountain Lion - Inspired by iPad. Made for the Mac explains that a "Reminders" application will be included in the next release of OS X.

  • I am using a macbook pro with system 10.6.8. I just discovered that no recent files have been backed up to the external disk using Time Capsule.  There is a long list of backups including most recent but no recent files, for some weeks, have been backed u

    I am using a macbook pro with system 10.6.8. I just discovered that no recent files have been backed up to the external disk using Time Capsule.  There is a long list of backups including most recent but no recent files, for some weeks, have been backed up.  I did a full reset of Time Machine.  I disconnected the external drive and reconnected it. It is not a matter of file types, no files and no folders have gotten backed up.  Everything looks normal though unless one goes hunting for recent files on the back up.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • I want to sync tasks in Outlook with my iPhone. I have tried Toodledo (not good) and Todo. Todo works, but it cuts off most of the text. I only get the beginning of my (long) lists. Any ideas how I can solve this problem?

    I want to sync tasks in Outlook with my iPhone. I have tried Toodledo (not good) and Todo. Todo works, but it cuts off most of the text. I only get the beginning of my (long) lists. Any ideas how I can solve this problem? I starting to regret that I switched to iPhone...

    Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
    So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
    Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
    Memory can be tested with memory diagnostics programs like Memtest+
    Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
    If the motherboard has no response then do the basics first:
    Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory.

  • How to add a column to a list created with the Dynamic List Wizard to display the values of the fiel

    Hi,
    ADDT, Vista, WAMP5.0
    We have 2 tables: clients_cli (id_cli, name_cli, tel_cli, and several more fields) and cases_cas (id_cas, idcli_cas, court_cas, and a lot of other fields).
    Clients may have many cases, so table cases_cas have a foreign key named idcli_cas, just to determine which case belongs to which client.
    We designed the lists of the two tables with the Dynamic List Wizard and the corresponding forms with Dynamic Form Wizard.
    These two forms are linked with the Convert Dynamic List and Form Wizards, which added a button to clients list named "add case".
    We add a client and then the system returns to the clients list displaying all clients, we look for the new client just added and then press "add case", which opens the Dynamic Form for cases, enter all case details and everything processes ok.
    However, when we view the cases list it display all the details of the case, including the column and values for the foreign key idcli_cas. As you can image, it is quite difficult for a human to remember the clients ids.
    So, in the cases list we added a another column, named it Name, to display the names of the clients along with cases details. We also created another recordset rsCli, selected the clients_cli table, displaying all columns, set filter id_cli = Form Variable = idcli_cas then press the Test button and everything displays perfect. Press ok.
    Then, we position the cursor inside the corresponding cell of the new Name column, go to Bindings, click on name_cli and then click on insert. The dynamic field is inserted into the table cell as expected, Save the page, and test in browser.
    The browser call the cases list but fails to display the values of the Name column. The Name column is simply empty.
    This issue creates a huge problem that makes our application too difficult to use.
    What are we doing wrong?
    Please help.
    Charles

    1.     Start transaction PM01, Create Infotype, by entering the transaction code.
    You access the Create Infotype screen.
    2.     Choose List Screen.
    3.     In the Infotype no. field, enter the four-digit number of the infotype you want to create.
    When you specify the infotype number, please remember to enter any leading zeros.
    4.     In the Screen Number field, enter the screen number of the list screen you want to enhance.
    5.     Choose Create.
    The Dictionary: Initial screen appears:
    6.     Create the list screen structure.
    7.     Choose Activate.
    8.     Return to the Enhance List Screen in the Enhance Infotypes transaction (PM01).
    9.     Choose Create All.
    The additional fields are displayed on the list screen, however, they contain no data.
    The fields can be filled in the FORM routine FILL-LISTSTRUCT in the generated program ZPnnnn00. The FORM routine is called for each data record in the list.
    Structure ZPLIS is identified when it is generated with a TABLES statement in the program ZPnnnn00.
    The fields can be filled from the Pnnnn structure or by reading text tables.

  • How to create a concatenated index with a long column (Urgent!!)

    We have a situation where we need to create a concatenated unique
    index with one of the columns as a "long" datatype. Oracle does
    not allow a lot of things with long columns.
    Does anyone know if this is possible or if there is a way to get
    around it.
    All help is appreciated!!!!

    From the Oracle SQL Reference ...
    "You cannot create an index on columns or attributes whose
    type is user-defined, LONG, LONG RAW, LOB, or REF,
    except that Oracle supports an index on REF type columns
    or attributes that have been defined with a SCOPE clause."
    Doesn't mention CLOB or BLOB types, so perhaps you
    should consider using one of those types instead. I have a
    feeling that the LONG type is now deprecated.

Maybe you are looking for

  • Can i use the same apple id for 2 iphomes

    I have an iphone 4s and iphone 5, do i use the same apple ID for both?

  • How to clear "recent" contacts listed automatically as you type email addresses in

    Hi everyone. When I go to type the address of an email I get as far as the first letter and a list of "recent" email addresses pops up, which is handy except for some reason the first one is a combination of two emails address, one I know and one I o

  • Buttons in ActionScript 3 ?!?!?!

    hi... I'm trying to make a sound controller in actionscript 3. I used to do this nicely in actionscript 2, but know it seems that nothing works as in "the old days"... I created a button and tried to add actionscript to it but it doesn't let me :-( H

  • My iPhone speakers doesn't work suddenly

    The speaker (bottom right) on my iphone 4s, which was purchased about a 9 month ago, stopped working suddenly.   Phone had 6.1.2, The headphones had no problem.   She doesn't often use the headphones.  Tried rebooting the phone, no use.

  • Can a Mac become an Airplay target?

    I'd like to stream from an iTunes app running on one computer in my household to another Mac. But instead of using that Mac to use the Library via Home Sharing, I'd like the Mac to become just a set of speakers. Can I somehow?