Wont complie..

i just want a txtarea in the middle and a bunch of menu action
but i keep error and i dont see why
C:\Documents and Settings\Administrator\Desktop\menu.java:60: illegal start of expression
     public void actionPerformed(ActionEvent e)
     ^
C:\Documents and Settings\Administrator\Desktop\menu.java:60: illegal start of expression
     public void actionPerformed(ActionEvent e)
     ^
C:\Documents and Settings\Administrator\Desktop\menu.java:60: ';' expected
     public void actionPerformed(ActionEvent e)
     ^
C:\Documents and Settings\Administrator\Desktop\menu.java:60: ';' expected
     public void actionPerformed(ActionEvent e)
     ^
4 errors
Tool completed with exit code 1
here the code
import java.awt.*;
import java.awt.event.*;
import java.awt.datatransfer.*;
import java .text.DecimalFormat;
import javax.swing.JOptionPane;
public class menu extends Frame implements ActionListener
     public static void main(String args[])
          menus f= new menus();
          f.setTitle("NUMBER 5");
          f.setBounds(200,200,300,300);
          f.setVisible(true);
          Panel TextPanel = new Panel();
               TextArea textDisplay = new TextArea(null,100,70,3);
               textDisplay.setEditable(true);
               TextPanel.add(textDisplay);
          MenuBar test = new MenuBar();
          setMenuBar(test);
          Menu File = new Menu("File",true);
               test.add(File);
               MenuItem Exit = new MenuItem("Exit");
               File.add(Exit);
          Menu menuEdit = new Menu("Edit",true);
               MenuItem Clear = new MenuItem("Clear");
               menuEdit.add(Clear);
               MenuItem Copy = new MenuItem("Copy");
               menuEdit.add(Copy);
               MenuItem Paste = new MenuItem("Paste");
               menuEdit.add(Paste);
          Menu About = new Menu("About",true);
               test.add(About);
               MenuItem About5 = new MenuItem("About Number 5");
               About.add(About5);
          Exit.addActionListener(this);
          Clear.addActionListener(this);
          Copy.addActionListener(this);
          Paste.addActionListener(this);
          About.addActionListener(this);
          Exit.setActionCommand("Exit");
          Clear.setActionCommand("Clear");
          Copy.setActionCommand("Copy");
          Paste.setActionCommand("Paste");
          About.setActionCommand("About");
          add(TextPanel, BorderLayout.CENTER);
     public void actionPerformed(ActionEvent e)
          String arg = e.getActionCommand();
          if (arg == "Exit")
               System.exit(0);
          if (arg == "Clear")
               textDisplay.setText("");
               textDisplay.requestFocus();
          if (arg == "Copy")
               Clipboard ab = Toolkit.getDefaultToolkit().getSystemClipboard();
               StringSelection contents = new StringSelection(textDisplay.setText());
               ab.setContents(contents, null);
           if (arg == "Paste")
               Clipboard ab = Toolkit.getDefaultToolkit().getSystemClipboard();
               Transferable content = ab.getContents(this);
               try
                    String a = (String)content.getTransferData(DataFlavor.stringFlavor);
                    textDisplay.setText(a);
               catch (Throwable exc)
                    textDisplay.setText("");
          if (arg == "About")
               String messege = "This is number 5 program allright reserve Hai";
               JOptionPane.showMessageDialog(null,message,"About Number5", JOptionPane.INFORMATION_MESSEGE);
}

You are missing a close curly i.e. this } after this line 'add(TextPanel, BorderLayout.CENTER);' to properly end you public static void main(...) method.
Also, using an IDE like Eclipse will help highlight your syntax errors.

Similar Messages

  • Code structure

    Hi,
    In my applet code below the section between the two lines of //// in the paint method doesn't need to be re-done every time I redraw just once will do fine. But when I try to move it into the start method it wont complie because the variables are not public/can't be resolved.
    So how do I move this section of code to somewhere more efficent and not get the errors?
    Thanks for any suggestions.
    Ann
    (I trimed a lot of detail out to make it easyer to see the structure I hope)
    public class ArrayExpApplet extends Applet
                           implements ItemListener {
      public void init() {
          System.out.println("initiating...");
          setBackground(new Color(224, 238, 238));;
      public void start() {
          System.out.println("starting...");
              Panel canvasPanel = new Panel();
              Canvas graph = new Canvas();
              JPanel cbp = CheckBoxPanel();
              setLayout(new BorderLayout());
              canvasPanel.setLayout(new BoxLayout(canvasPanel, BoxLayout.LINE_AXIS));
              canvasPanel.add(graph);
              canvasPanel.add(cbp);
              add("East", canvasPanel); 
         public JPanel CheckBoxPanel() {
              //Create the check boxes.
              return (p);
    // add a checkbox listener
         public void itemStateChanged(ItemEvent event) {
              repaint();
         public void paint(Graphics g) {
              System.out.println("Paint");
              double[][] expLevels = new double[4][5];
              String array_str = this.getParameter("array_string");
              System.out.println("array_string "+array_str);
              String[] rows = array_str.split (";");
              for (int k = 0; k < rows.length; k++) {
                   System.out.println("row "+k+" = "+rows[k]);
                   String[] cols = rows[k].split (",");
                   for (int l = 0; l < cols.length; l++) {
                        System.out.println("col "+l+" = "+cols[l]);
                        expLevels[k][l]= Double.parseDouble(cols[l]);
              //find max expression to scale y axis
              double max=0;
              for (int i=0; i<4; i++) {
                   for (int j=0; j<5; j++){
                        if (expLevels[i][j]>max) {max=expLevels[i][j];}
              int originX=100;
              int step=100;  //distance between exposures on x axis
              int height=200;
              int originY=height+(originX/2);
              double scale=height/(double)max;
              //scale=0.5;
              //set up an array of 5 colours
              Color[] EColor = new Color[5];
              EColor[0]= new Color(200,0,255); //magenta
              EColor[1]= new Color(0,0,255);      //green
              EColor[2]= new Color(0,255,0);      //blue
              EColor[3]= new Color(254,190,0); //yellow
              //Draw the data
              int x=originX; int y;
              for (int i=0; i<4; i++) {
                   System.out.println("CheckBox "+i+" is "+checkBoxSetting);
                   if (checkBoxSetting[i]) {
                        g.setColor(EColor[i]);
                        for (int j=0; j<4; j++){
                             y=j+1;
                             g.drawLine(x,originY-(int)(expLevels[i][j]*scale), x+step, originY-(int)(expLevels[i][y]*scale));
                             x=x+step;
                        x=originX;
              //draw axis
              //lable x axis
              //lable y axis
         public Dimension getMinimumSize() {return new Dimension(550,300);}
         public Dimension getPreferredSize() {return getMinimumSize();}
    public void stop() {
    System.out.println("stopping...");
    public void destroy() {
    System.out.println("preparing to unload...");

    This is what init() is for.
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Canvas;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Panel;
    import java.awt.event.ItemEvent;
    import java.awt.event.ItemListener;
    import javax.swing.BoxLayout;
    import javax.swing.JPanel;
    public class ArrayExpApplet extends Applet
                           implements ItemListener {
      private double[][] expLevels = new double[4][5];
      private Color[] EColor = new Color[5];
      private int originX=100;
      private int step=100;  //distance between exposures on x axis
      private int height=200;
      private int originY=height+(originX/2);
      private double scale=-1;
      public void init() {
          System.out.println("initiating...");
          setBackground(new Color(224, 238, 238));;
              String array_str = this.getParameter("array_string");
              System.out.println("array_string "+array_str);
              String[] rows = array_str.split (";");
              for (int k = 0; k < rows.length; k++) {
                   System.out.println("row "+k+" = "+rows[k]);
                   String[] cols = rows[k].split (",");
                   for (int l = 0; l < cols.length; l++) {
                        System.out.println("col "+l+" = "+cols[l]);
                        expLevels[k][l]= Double.parseDouble(cols[l]);
              //find max expression to scale y axis
              double max=0;
              for (int i=0; i<4; i++) {
                   for (int j=0; j<5; j++){
                        if (expLevels[i][j]>max) {max=expLevels[i][j];}
              scale=height/(double)max;
              //set up an array of 5 colours
              EColor[0]= new Color(200,0,255); //magenta
              EColor[1]= new Color(0,0,255);      //green
              EColor[2]= new Color(0,255,0);      //blue
              EColor[3]= new Color(254,190,0); //yellow
      public void start() {
          System.out.println("starting...");
              Panel canvasPanel = new Panel();
              Canvas graph = new Canvas();
              JPanel cbp = CheckBoxPanel();
              setLayout(new BorderLayout());
              canvasPanel.setLayout(new BoxLayout(canvasPanel, BoxLayout.LINE_AXIS));
              canvasPanel.add(graph);
              canvasPanel.add(cbp);
              add("East", canvasPanel); 
         public JPanel CheckBoxPanel() {
              //Create the check boxes.
              return (p);
    // add a checkbox listener
         public void itemStateChanged(ItemEvent event) {
              repaint();
         public void paint(Graphics g) {
              System.out.println("Paint");
              //Draw the data
              int x=originX; int y;
              for (int i=0; i<4; i++) {
                   System.out.println("CheckBox "+i+" is "+checkBoxSetting);
                   if (checkBoxSetting[i]) {
                        g.setColor(EColor[i]);
                        for (int j=0; j<4; j++){
                             y=j+1;
                             g.drawLine(x,originY-(int)(expLevels[i][j]*scale), x+step, originY-(int)(expLevels[i][y]*scale));
                             x=x+step;
                        x=originX;
              //draw axis
              //lable x axis
              //lable y axis
         public Dimension getMinimumSize() {return new Dimension(550,300);}
         public Dimension getPreferredSize() {return getMinimumSize();}
    public void stop() {
    System.out.println("stopping...");
    public void destroy() {
    System.out.println("preparing to unload...");

  • I want my spry horizontal accordian in explorer content table to be closed and also wont align left

    I've tried everything.  my accordian will stay closed when landing on the page in all browsers except explorer and also I can't get the tab text to align left no matter what I do.
    Here is the page http://www.lohud.com/legacy/advertising/mediakit/tjn_content_guide.html 
    Please help I've been at this for many many hours.
    Here is my code
    <!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"><!-- InstanceBegin template="/Templates/Main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>The Journal News Media Group</title>
    <!-- InstanceEndEditable -->
    <style type="text/css">
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    text-align: center;
    background-image: url(images/backdrop.png);
    background-repeat: no-repeat;
    background-position:top center;
    background-color: #77787B;
    .pageLable {
    font-family: arial;
    font-size: 18pt;
    color: #00adf0;
    line-height: 25pt;
    vertical-align: middle;
    padding-top: 10px;
    .pageLableTagline {
    font-family: arial;
    font-size: 18pt;
    color: #A7A9AC;
    .BlueText {
    color: #00adf0 !important;
    .descriptionFont {
    font-family: arial;
    font-size: 10pt;
    line-height: 14pt;
    .labelSub {
    font-family: arial;
    font-size: 14px;
    color: #00adf0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    .content12 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    .fontNinePoint {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    .white {
    color: #FFF !important;
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable -->
    <style type="text/css">
    a:link {
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: underline;
    a:active {
    text-decoration: none;
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    h1,h2,h3,h4,h5,h6 {
    font-family: Arial, Helvetica, sans-serif;
    h6 {
    font-size: 8px;
    color: #000;
    h4 {
    font-size: 12px;
    .fontsmall {
    font-size: 9pt;
    </style>
    <style type="text/css">
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body leftmargin="0">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="126" rowspan="3"><a href="index.html"><img src="images/Logo_Nav_Black.jpg" alt="The Journal News Media Group" width="126" height="132" border="0" longdesc="index.html" /></a></td>
              <td width="780" height="30" align="right" valign="top"><table width="657" border="0" align="right" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="61" height="32" align="right" valign="middle"> </td>
                  <td width="372" align="right" valign="middle"><a href="http://www.linkedin.com/groups/Journal-News-Media-Group-4828545?trk=myg_ugrp_ovr" target="_new"><img src="images/linkedin.png" alt="linkedin" width="16" height="16" border="0" /></a></td>
                  <td width="37" align="center" valign="middle"><a href="http://www.facebook.com/pages/The-Journals-News-Media-Group/124999397672489" target="_new"><img src="images/facebook.png" alt="facebook" width="8" height="16" border="0" /></a></td>
                  <td width="90" align="center" valign="middle" nowrap="nowrap" class="white" style="font-size:12px"><strong><a href="newsletter.html" class="white">newsletter</a></strong></td>
                  <td width="24" align="center" valign="middle" class="white" style="font-size:12px"><img src="images/dot.png" alt="" width="9" height="9" /></td>
                  <td width="90" align="center" valign="middle" nowrap="nowrap" class="white" style="font-size:12px"><strong>  <a href="contact.html" class="white">contact us  </a></strong></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td align="right" valign="top"><table width="657" border="0" align="right" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="75" bgcolor="#000000"> </td>
                  <td width="369" bgcolor="#000000"><ul id="MenuBar1" class="MenuBarHorizontal">
                    <li class="MenuBarItemSubmenu"><a href="#">About</a>
                      <ul>
                        <li><a href="our_brand.html">Our Brand</a></li>
                        <li><a href="our_audience.html">Our Audience</a></li>
                        <li><a href="giving_back.html">Giving Back</a></li>
                        <li><a href="careers.html">Careers</a></li>
                        </ul>
                      </li>
                    <li><a href="digital.html" >Digital</a>                  </li>
                    <li><a href="#">Print</a>
                      <ul>
                        <li><a class="MenuBarItemSubmenu" href="#">Journal News</a>
                          <ul>
                            <li><a href="tjn_content_guide.html">Content Guide</a></li>
                            <li><a href="tjn_print_reach.html">Print Reach</a></li>
                            </ul>
                          </li>
                        <li><a href="special_sections.html">Special Sections</a></li>
                        <li><a href="creative_ad_units.html">Creative Ad Units</a></li>
                        <li><a href="zoning_guide.html">Zoning Guide</a></li>
                        </ul>
                      </li>
                    <li><a href="events.html">Events</a>
                      <ul>
                        <li><a href="golf_show.html">Golf Show</a></li>
                        <li><a href="theater_awards.html">Metropolitan High School Theater Awards</a></li>
                        <li><a href="rockland.html">Rockland Scholar Athlete</a></li>
                        <li><a href="ray_rice_day.html">Ray Rice Day</a></li>
                        <li><a href="cookie_swap.html">Cookie Swap</a></li>
                        <li><a href="give_grow.html">Give &amp; Grow</a></li>
                        </ul>
                      </li>
                    <li><a href="#"> Specs</a>
                      <ul>
                        <li><a href="print_specs.html">Print Specs</a></li>
                        <li><a href="digital_specs.html">Digital Specs</a></li>
                        <li><a href="deadlines.html">Deadlines</a></li>
                        <li><a href="terms_conditions.html">Terms &amp; Conditions</a></li>
                        </ul>
                      </li>
                  </ul></td>
    </tr>
                <tr> </tr>
              </table></td>
            </tr>
            <tr>
              <td height="70" align="right" valign="top"> </td>
            </tr>
          </table>
          <table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="40"> </td>
            </tr>
        </table></td>
      </tr>
    </table>
    <!-- InstanceBeginEditable name="MainTable" -->
    <table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="300" valign="top" bgcolor="#FFFFFF"><table width="906" border="0" align="center" cellpadding="10" cellspacing="0">
          <tr>
            <td height="57" align="left" valign="top" class="pageLable">Content Guide  <span class="pageLableTagline">lohud.com</span></td>
          </tr>
        </table> <div id="Accordion1" class="Accordion" tabindex="0">
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">News</div>
            <div class="AccordionPanelContent">
              <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content: </strong>The latest headlines, by county, updated continuously to keep readers informed of breaking news as it happens. Here is where they go to first for the latest on issues of particular importance to area residents: crime, politics, business, education, health and New York State news.<br />
                    <strong><br />
                    Advertiser Advantage:</strong> Benefit from prime positioning and high visibility on one of the most frequently<br />
                    visited pages on lohud.com.</td>
                  <td width="180" align="right"><img src="images/digital/contentguide/lh-news.jpg" alt="News" width="180" height="154" border="0" /></td>
                </tr>
              </table>
            </div>
          </div>
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">Tax Watch</div>
            <div class="AccordionPanelContent">
              <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="685" align="left" valign="top" class="descriptionFont"><strong>Content: </strong>Money and taxes. It’s a passion topic that many area residents have a keen interest in following. Our standing Tax Watch feature on LoHud.com keeps them in-the-know with watchdog columns on government accountability, blogs from local tax experts, timely articles and columns.<br />
                    <strong><br />
                    Advertiser Advantage:</strong> Ideal environment for financial, banks, real estate, and business.</td>
                  <td width="179" align="right"><img src="images/digital/contentguide/lh-taxwatch.jpg" alt="Tax Watch" width="179" height="155" border="0" /></td>
                </tr>
              </table>
            </div>
          </div>
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">Communities</div>
            <div class="AccordionPanelContent">
              <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content: </strong>Sixteen ultra-local homepages dedicated to the unique villages, towns and cities of Westchester County, with daily updates, photos and neighborhood conversations designed to involve <br />
                    and engage readers — and have them returning regularly for updates.<br />
                    <strong><br />
                    Advertiser Advantage: </strong>Ideal for smaller advertisers looking to reach their best potential customers<br />
                    within targeted geographic areas.</td>
                  <td width="181" align="right"><img src="images/digital/contentguide/lh-community.jpg" alt="Communities" width="179" height="158" border="0" /></td>
                </tr>
              </table>
            </div>
          </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Living Here</div>
            <div class="AccordionPanelContent">
              <table width="865" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="686" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Awarded “First Place Winner/Niche Website” by the 2012 New York Associated Press! Offers an insider’s look at Lower Hudson Valley real estate for residents looking to buy, sell up, downsize or plan a renovation.<br />
                    <strong><br />
                    Advertiser Advantage:</strong> Ideal for real estate, financial, and home-related businesses. Provides a locally driven and highly targeted environment for your message.</td>
                  <td width="179" align="right"><img src="images/digital/contentguide/lh-livinghere.jpg" alt="News" width="179" height="155" border="0" /></td>
                </tr>
              </table>
            </div>
        </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Sports</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Comprehensive and updated frequently to keep fans up to date with the latest action from high school, college, major-league teams. Featuring game results, profiles of local athletes, perspective, commentary and blogs for reader interaction.<br />
              <strong><br />
              Advertiser Advantage:</strong> Action-packed environment for auto aftermarket, sporting goods, financial,<br />
              men’s interests, orthopedic and physical therapy businesses.</td>
            <td width="180" align="right"><img src="images/digital/contentguide/lh-sports.jpg" alt="Sports" width="180" height="158" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Blogs</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="683" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Can we talk? We sure can…and readers love to hear what our writers and editors have<br />
    to say. Our lively Blogs site is where they can turn to for conversation and opinion on all kinds of <br />
    subjects — community, lifestyle &amp; entertainment, news, opinion and sports, including our extremely popular Yankees blog.<br />
              <strong><br />
              Advertiser Advantage:</strong> Benefit from prime positioning and visibility on highly targeted pages that offer maximum impact and response.</td>
            <td width="181" align="right"><img src="images/digital/contentguide/lh-blogs.jpg" alt="News" width="181" height="157" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Multimedia</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> A picture is worth a thousand words and this photo/video gallery keeps readers involved and engaged with compelling local photos from the week and informative feature videos on trending stories.<br />
              <strong><br />
              Advertiser Advantage:</strong> Ideal for retailers of all kinds, benefit from prime positioning and visibility on<br />
              highly targeted pages.</td>
            <td width="178" align="right"><img src="images/digital/contentguide/lh-multimedia.jpg" alt="Multimedia" width="178" height="157" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Life & Leisure</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> The perfect complement to our daily “Life &amp; Style” print section, it’s where readers go to be inspired and entertained! Featuring complete local restaurant and food coverage, weddings/engagement announcements, home &amp; garden tips, movie &amp; TV reviews, music and more.<br />
              <strong><br />
              Advertiser Advantage:</strong> Ideal weekly environment for restaurants, entertainment and leisure-related<br />
              businesses.</td>
            <td width="180" align="right"><img src="images/digital/contentguide/lh-lifeleisure.jpg" alt="Life and Leisure" width="180" height="158" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Opinion</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Everybody’s got one — and this is where it counts. Our Opinion page on LoHud.com is just <br />
              that: opinions on the issues of the day, from our staff and from our readers, designed to inform, inspire and encourage interaction. Find editorials by our writers and editors, commentary, letters, editorial board surveys and more.<br />
              <strong><br />
              Advertiser Advantage:</strong> Benefit from prime positioning and visibility on highly targeted pages that offer maximum impact and response.</td>
            <td width="178" align="right"><img src="images/digital/contentguide/lh-opinion.jpg" alt="Opinion" width="178" height="156" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Obituaries</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Comprehensive and complete, with death notices, memorials, touching tributes and <br />
              convenient interactive features such as a search feature, free obituary alerts, one-click access to flowers and services, guest book signing and more.<br />
              <strong><br />
              Advertiser Advantages:</strong> Ideal environment for funeral homes, estate planners and florists.</td>
            <td width="178" align="right"><img src="images/digital/contentguide/lh-obits.jpg" alt="Obituaries" width="178" height="154" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
        </div>   
        <p> </p></td>
      </tr>
    </table>
    <script type="text/javascript">
    var Accordion1 = new Spry.Widget.Accordion("Accordion1",{ useFixedPanelHeights: false, defaultPanel: -1 });
    </script>
    <!-- InstanceEndEditable -->
    <table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="19" align="center" valign="middle" bgcolor="#77307d" class="white" style="font-size:12px"> <a href="contact.html"><img src="images/contactAnAdvert.png" alt="Contact an advertising expert" width="336" height="18" border="0" /></a></td>
        </tr>
      <tr>
        <td height="19" align="center" valign="middle" class="white" style="font-size:12px"><p><br />
        1133 Westchester Avenue, Suite N-110, White Plains, NY 10604   <img src="images/dot.png" width="9" height="9" alt="dot" />  P: 914-694-5500</p>
        <p> </p>
        <p><a href="http://www.gannett.com/" target="_new"><img src="images/Gannett.png" alt="Gannett" width="130" height="18" border="0" /></a><br />
          <br />
          Copyright © 2013<a href="http://www.lohud.com/" target="_new" class="white"> www.lohud.com</a>. All rights reserved.<br />
          Users of this site agree to the <a href="http://www.lohud.com/section/terms" target="_new" class="white">Terms of Service</a>, <a href="http://www.lohud.com/section/privacy" target="_new" class="white">Privacy Notice/Your California Privacy Rights</a>, and <a href="http://www.lohud.com/section/privacy#adchoices&gt;&lt;http://www.lohud.com/section/privacy #adchoices" target="_new" class="white">Ad Choices</a> <br />
        </p></td>
        </tr>
    </table>
    <p> </p>
    <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>  </tr>
    </table>
    <p> </p>
    <p> </p>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>

    It just wont align left ......This is my style sheet
    @charset "UTF-8";
    /* SpryAccordion.css - version 0.5 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    .Accordion {
    overflow: hidden;
    outline:none;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    text-align: left;
    .AccordionPanel {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is the selector for the AccordionPanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open a specific panel.
    * The name of the class ("AccordionPanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel tab container.
    * NOTE:
    * This rule uses -moz-user-select and -khtml-user-select properties to prevent the
    * user from selecting the text in the AccordionPanelTab. These are proprietary browser
    * properties that only work in Mozilla based browsers (like FireFox) and KHTML based
    * browsers (like Safari), so they will not pass W3C validation. If you want your documents to
    * validate, and don't care if the user can select the text within an AccordionPanelTab,
    * you can safely remove those properties without affecting the functionality of the widget.
    .AccordionPanelTab {
    margin: 0px;
    padding: 2px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    text-align: left;
        padding-left: 10px;
    color: #000000;
    background-color: #c0dff5;
    border-bottom-width: 6px;
    border-bottom-style: solid;
    border-bottom-color: #FFF;
    text-indent: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is the selector for a Panel's Content area. It's important to note that
    * you should never put any padding on the panel's content area if you plan to
    * use the Accordions panel animations. Placing a non-zero padding on the content
    * area can cause the accordion to abruptly grow in height while the panels animate.
    * Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
    * Content container.
    * The name of the class ("AccordionPanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel content container.
    .AccordionPanelContent {
    overflow: auto;
    outline:none
    margin: 0px;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    padding-left: 10px;
    padding-right: 10px;
    height: 200px;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "AccordionPanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the Accordion.
    .AccordionPanelOpen .AccordionPanelTab {
    background-color: c0dff5;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .AccordionPanelTabHover {
    color: #999999;
    background-color: c0dff5;
    .AccordionPanelOpen .AccordionPanelTabHover {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * Accordion has focus. The "AccordionFocused" class is programatically added and removed
    * whenever the Accordion gains or loses keyboard focus.
    .AccordionFocused .AccordionPanelTab {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    text-align: left;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open when the Accordion has focus.
    .AccordionFocused {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    .AccordionPanelOpen
    .AccordionPanelTab {
    background-color: c0dff5;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* Rules for Printing */
    @media print {
      .Accordion {
      overflow: visible !important;
      .AccordionPanelContent {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    font-size: 12pt;
    padding-left: 10px;
    padding-right: 10px;

  • T60 thinkpad wont turn on

    Hello, I am hoping someone can help me with my problem.  My Lenovo t60 thinkpad wont turn on.  It boots up all the way to the hit ctrl+al+delete box and when I do hit it nothing happens.  I have tried restarting it, pulling the battery, etc... and nothing has worked yet.  Any suggestions?   thank you!!! 

    Hi and welcome to the forum!
    So technically speaking it turns on and goes to Windows startup where it gives you an option to press Ctrl-ALt-Del? I think your T60 is in need of re-installation of Windows, but try repair option from the Windows disc first (depending on the version of Windows you on it).
    If repair doesn't work, then you can try pressing ThinkVantage button during boot to put back your T60 to factory state, doing so will wipe off all data on your thinkpad though. The R&R gives you few options to save your important data on external devices like USB drive etc, do so before using factory preload option.
    Hope it helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Mail wont open and restart cancelled by mail

    when I try to open my e-mail it wont open - it just doesnt do anything.  When I try to download updates or shut down computer it says it is intereupted by mail.  Help

    Force Quit the Mail Application
    Click the Apple Logo in the top left corner of the screen
    Click "Force Quit"
    Select the MAIL application
    Force Quit the app
    After the application is quit then you should be able to restart your computer.
    The Application is fully quit when the is no little glowing dot under the application icon.

  • Adobe cloud just spins - wont start

    adobe cloud wont open - it just spins around

    BLANK Cloud Screen http://forums.adobe.com/message/5484303
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html
    Mac Spinning Wheel https://forums.adobe.com/message/5470608
    -Similar in Windows https://forums.adobe.com/message/5853430

  • My iphone 5c wont let me download apps

    Help me my iphone 5c wont let me download apps and i already verified my account and it says connect to mac and i don't have one.

    If you have an existing ID, but no credit card to associate with your account, you'll have to redeem an iTunes gift card. If you don't want to do that, you'll have to create a NEW ID by following the directions here:
    http://support.apple.com/kb/ht2534

  • My app store wont let me download apps, says they are not available in the uk please help??

    my app store wont let me download apps, says there not available in the uk?? please help??

    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • My app store wont let me download apps, says the card is expired and theres a problem with previous purchase can someone help me pls?

    My app store wont let me download apps, asks me to update my payment details then says theres a problem with previous purchase and card is expired which is untrue someone help me pls

    This is a User to User Forum...
    See Here for
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

  • My ipad wont let me download certain apps because it needs ios 7 but when i check update it says there is none?

    my ipad has IOS 5.1.1 version and i know there is newer update for them as when i go to download certain apps it wont let me because it needs IOS 7 but when i have plugged it into itunes it says no update needed?

    Hello courtneys100,
    Thanks for using Apple Support Communities.
    From your post it appears that you are using an earlier iPad, which can only update to iOS 5.  Some developers do offer compatible versions of their apps for people running older iOS versions, but ultimately it is up to that developer to make an older version.  Check out the article for more information about installing the latest compatible version of an app on your iPad.
    Install the latest compatible version of an app on an earlier version of iOS or OS X
    Cheers,
    Alex H.

  • My iphone wont let me download free apps!!!

    okay so i used a visa gift card i had gotten as a payment method to use to download music on itunes and then finally it ran out of money. then later when i tried to download an app it said "sign in required" so i signed in then it said my payment method isnt working but i have no other meathod and i cant cancel the one i have so i tried again and it keeps saying the same thing.. it wont let me download anything.. what do i do?

    You probably have a past due balance in the iTunes store. If so, you'll have to enter a new payment type, or use an iTunes gift card to resolve the outstanding balance before you can proceed to download free apps, or install app updates.

  • My iPhone wont let me download some apps that i have payed for on on my account; it says my iPhone is not authorized for this computer, but it is.

    My iPhone wont let me download some apps that i have payed for on on my account; it says my iPhone is not authorized for this computer, but it is.

    No, iTunes never says an iPhone is not authorized.
    This is occurring on a computer, correct?
    Is the computer authorized for the account the media or apps were acquired with?

  • HT4623 My account wont let me download apps ive reseted two times and it says i havent enterted right and i dont know what else to do??

    My apps wont download its really bothering me

    Define "won't let me."
    What type of reset did you do?

  • My ifone4 wont let me download apps it says error

    Hi ive had my ifone 4 for 3 days brand new and ive tryed downloading apps it wont let me da message error please try again later keeps coming up wot do i do

    What EXACTLY does the error message say?

  • My iphone wont let me download apps and is telling me to put in credit card stuff for free apps help me

    my iphone wont let me download apps and is telling me to put in credit card stuff for free apps help me

    You can create a new Apple ID without using a credit card for download free apps by following this guide: http://support.apple.com/kb/ht2534.  Follow it exactly as writtien.  Note that you have to download and try to install a free app and then create the ID.

Maybe you are looking for