Colors in textArea

how can i color the rows of the JtextArea ?
for example; i have to set text as a table form, so i want to set the head line backgroung with a color and the others row's backgroung of another color.

You need to use a JTextPane. Read the JTextPane API and you will find a link to the Swing tutorial that explains how to use attributes to color text.

Similar Messages

  • How to set background color for textarea

    Hi all,
    I have created an application in Apex 3.2.
    I am now able to disable the text fields, select lists and textarea.
    Ex:
    function disableDD()
      var v_ddays              = document.getElementById("P2_DELINQUENCY_DAYS");
      v_ddays.value            = "";
      v_ddays.disabled         = true;
      v_ddays.style.background = '#cccccc';
    }The background color thing is working for all the text fields, but the same is not working with the textarea.
    Any help please....

    There is no button involved in the following code, but it may
    be of use to you:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    private var origColor:uint;
    private function init():void {
    origColor = dc.getStyle("selectionColor");
    public function setBackGrdColors(newColor:uint):void {
    dc.setStyle("selectionColor", origColor);
    if(dc.selectedDate){
    var dayOfWeek:Number = dc.selectedDate.day;
    else{
    return;
    switch(dayOfWeek) {
    case 0:
    if(sun.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 1:
    if(mon.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 2:
    if(tue.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 3:
    if(wed.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 4:
    if(thu.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 5:
    if(fri.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 6:
    if(sat.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    default:
    break;
    ]]>
    </mx:Script>
    <mx:VBox horizontalAlign="center" verticalGap="20">
    <mx:DateChooser id="dc" textAlign="left"
    change="setBackGrdColors(cellColor.selectedColor)"/>
    <mx:HBox width="100%" horizontalAlign="center">
    <mx:CheckBox id="sun" label="Sun"/>
    <mx:CheckBox id="mon" label="Mon"/>
    <mx:CheckBox id="tue" label="Tue"/>
    <mx:CheckBox id="wed" label="Wed"/>
    </mx:HBox>
    <mx:HBox width="100%" horizontalAlign="center">
    <mx:CheckBox id="thu" label="Thu"/>
    <mx:CheckBox id="fri" label="Fri"/>
    <mx:CheckBox id="sat" label="Sat"/>
    </mx:HBox>
    <mx:HBox width="300" horizontalAlign="center">
    <mx:Label text="Background Color" />
    <mx:ColorPicker id="cellColor"
    selectedColor="#FF00FF"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>

  • Set color in TextArea for certain String

    I need to highlight some Strings in different color than the setForeground() in the TextArea. Is it possible and how can I accomplish it?
    Help is great appreciated.
    Anna

    I am able to use JTextPane to highlight certain string now.
    Thanks a lot.
    Though I am having problem on mouse double click on a file name.
    For TextArea, the getSelectedText() will pick the full path name of the file. For JTextPane, the selected text is just part of the string.
    Following is the text:
    Test report is saved in file C:\tests\pf2150\JTAG\888_test.rpt
    The file name is
    C:\tests\pf2150\JTAG\888_test.rpt
    My mouse is over the file name but double click only picks JTAG or pf2150 or ...
    Could anybody help?
    Anna

  • Flash CS5 How does one change background color in TextArea Component

    I'm trying to change the background color of a TextArea Component.  Does anyone know how to do this?
    function processXML(e:Event):void {
      var strTextBox:String;
      myText.visible=true;
      myText.setStyle("contentBackgroundColor", 0x000000);  //Does not work..nor does   myText.setStyle("backgroundColor",0x000000);
      myXML = new XML(e.target.data);
      strTextBox = "<a href='" + myXML.Branch[0].linkURL + "'> More Info...</a>";
      myText.htmlText=strTextBox;

    for that one you have use styles:
    var newFormat:TextFormat = new TextFormat;
       newFormat.bold = true;
       newFormat.size = 18;
       newFormat.color = 0xFFFFFF;  //I'm wanting white font on black background.
       //apply the format:
    myText.setStyle("textFormat",newFormat);
       myText.visible=true;
      myText.textField.background=true;
      myText.textField.backgroundColor=0x000000;

  • Changing scrollbar color in textarea

    I would like to change the color of the scrollbar that
    appears in a textarea. I have tried various methods and nothing
    seems to work. I would appreciate any help on this.
    Thanks,
    Jothishankar

    textarea has an insert method therefore you may be able to change the text color and insert it at the same position to obtain the different color. i haven't tried it just a suggestion.

  • How can i change the color in textarea

    Hi to all, i am making the chat application in java , i want to show the client message in different color in text area , i have only one window which shows both client and server messages . i am sending you my program can u tell me how to change the color.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    public class cwDraft extends JFrame {
    static private JTextField enter;//user write text in this area
    private JTextField ip;
    static private JTextArea display;
         JButton b1;
         JButton connect;
    static String s=" ";
    static String s1=" ";
    static String s2=" ";
         static DatagramSocket socket;
         static DatagramPacket packet;
         cwDraft() {
              super("chat server");
              setSize(400, 300);
              Container c = getContentPane();
              //c.setLayout(new FlowLayout());-
              display=new JTextArea();
              display.setToolTipText("display area");
              c.add(new JScrollPane(display),BorderLayout.CENTER);
              ip=new JTextField("127.0.0.1",15);
              ip.setToolTipText("enter ip here");
              c.add(ip,BorderLayout.EAST);
              enter=new JTextField(30);
              enter.setToolTipText("enter message");
         c.add(enter,BorderLayout.NORTH);
              b1 = new JButton("Send");
              b1.setToolTipText("send message");
              b1.addActionListener(new B1Listener());
              connect=new JButton("connect");
              connect.setToolTipText("connect to other computer");
              c.add(connect,BorderLayout.SOUTH);
              connect.addActionListener(new ConnectListener() );
              //enter=new JTextField();
              c.add(b1,BorderLayout.WEST);
              show();
              addWindowListener(
              new WindowAdapter() {
              public void windowClosing(WindowEvent e) {
              System.exit(0);
         } // constructor
         public static void main(String[] args) {
              new cwDraft();
              try {
                   socket = new DatagramSocket(3082);
              } catch(Exception ex) {
                   ex.printStackTrace();
              do {
                   byte data[] = new byte[100];
                   packet = new DatagramPacket(data, data.length);
                   try {
                        socket.receive(packet);                    
                   //display.append(s2);
                   } catch(Exception ex) {
                        ex.printStackTrace();
                   s1 = new String(packet.getData(), 0, packet.getLength());
                   //System.out.println(s);
                   display.append(packet.getAddress() +"says"+ s1 +"\n");
              } while(true);     
         } // main
         private class B1Listener implements ActionListener {
              public void actionPerformed(ActionEvent e) {
                   s = enter.getText();          
                   byte data[] = s.getBytes();
                   try {
                   //     packet1 = new DatagramPacket(data, data.length);
                        packet = new DatagramPacket(data, data.length, InetAddress.getByName(ip.getText()), 3082);
                        socket.send(packet);
                        display.append(packet.getAddress() +"says"+ s +"\n");
                   } catch(Exception ex) {
                        ex.printStackTrace();
                   //enter.setText(s2);
              } // actionPerformed
         } // B1Listener
    private class ConnectListener implements ActionListener {
    public void actionPerformed(ActionEvent e) {
         //String s1=" ";
         byte data[]=s.getBytes();
         try {
                        packet = new DatagramPacket(data, data.length, InetAddress.getByName(ip.getText()), 3082);
                        display.append("connected to:" + packet.getAddress() +"\n");
    catch(Exception ex) {
                        ex.printStackTrace();
    } // class

    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.Color;
    public class MultiColouredText extends JFrame {
       public MultiColouredText() {
       StyledDocument doc = new DefaultStyledDocument();
       JTextPane pane = new JTextPane(doc);
       pane.setEditable(false);
       pane.setFont(new java.awt.Font("Verdana", 0 , 16));
       MutableAttributeSet mas = new SimpleAttributeSet();
          try {
             StyleConstants.setForeground(mas, Color.yellow);
             StyleConstants.setBackground(mas, Color.blue);
             doc.insertString(doc.getLength(), " Hello ", mas);
             StyleConstants.setForeground(mas, Color.blue);
             StyleConstants.setBackground(mas, Color.yellow);
             doc.insertString(doc.getLength(), " World ", mas);
             StyleConstants.setForeground(mas, Color.red);
             StyleConstants.setBackground(mas, Color.green);
             doc.insertString(doc.getLength(), " And ", mas);
             StyleConstants.setForeground(mas, Color.green);
             StyleConstants.setBackground(mas, Color.red);
             doc.insertString(doc.getLength(), " Farewell ", mas);
          catch (Exception ignore) {}
       getContentPane().add(pane);
       setSize(250,56);
       show();
       public static void main(String[] args) {
          new MultiColouredText();
    }

  • How can i change the font color in TextArea ?

    I want to change the font color in text area or text field
    i'm not using swing (i'm using only AWT)
    so don't show me solutions in swing because it won't help me.
    is it possible anyway?
    thanx

    Hi,
    Have you tried the following ?
    yourTextArea.setBackground(yourColor);with yourColor being a Color object.
    BadLands

  • Change label color for Textarea

    Hello All,
    I have a text area and I'd like to change the color of the label. I've seen multiple suggestions on the forum including...
    <span style="color:RED"><Invoice Comments</span> but nothing seems to work, any advice?
    Just to clarify I'm adding this in the actual label name field.
    Thanks!
    Edited by: blue72TA on May 13, 2011 6:38 AM
    Edited by: blue72TA on May 13, 2011 6:38 AM
    Edited by: blue72TA on May 13, 2011 9:15 AM

    Jure2 wrote:
    Hi blue72TA,
    I think the problem is the "&lt;" sign in your label. Escape it with &amp;lt; like this:
    &lt;span style="color:RED;">&lt;Invoice Comments&lt;/span>JureAlmost! It's giving me...
    <Invoice Commentswhen I try to get rid of the less than "<" the whole label disappears?
    Edited by: blue72TA on May 13, 2011 9:08 AM

  • How to set two colored text in one textarea

    hello friends,
    i am busy preparing chat frame which shows messages in textarea, it shows two things, one the name of chatter , the other is the message, i want the two things of different color, you can change the text color of textarea by setForeground(), but what if i want different colored text in same textarea, can anybody help me???

    I don't know if this will help u...try make sense of it :
    DefaultStyledDocument doc = new DefaultStyledDocument();
    JTextPane tp = new JTextPane(doc);
    tp.setFont (new java.awt.Font ("Arial", 1, 12));
    JScrollPane lscroller = new JScrollPane(tp);
    lscroller.setForeground (new java.awt.Color (102, 102, 153));
    lscroller.setPreferredSize (new java.awt.Dimension(496, 273));
    lscroller.setVerticalScrollBarPolicy(
    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    jPanel2.add ( lscroller );
    prepareAllStyles();
    void prepareAllStyles()
    aset = new SimpleAttributeSet();
    //set bold and red
    StyleConstants.setForeground(aset,Color.black);
    StyleConstants.setBold(aset,true);
    ht.put(BOLDRED,aset);
    aset = new SimpleAttributeSet();
    //set italic and green
    StyleConstants.setForeground(aset,Color.red);
    StyleConstants.setBold(aset,true);
    ht.put(ITALICGREEN,aset);
    AttributeSet current = (AttributeSet)ht.get(BOLDRED);
    doc.insertString(doc.getLength(),displaymessage + "\n",current);
    tp.setCaretPosition( doc.getLength() );

  • Is there a way to disallow web pages to modify foreground color of elements if background of those elements was not changed as well (and vice versa)?

    I have very sensible defaults for my display; i.e. I have dark GTK scheme (dark gray background, light gray text) that suits me way more when working on my computer while it's dark around. I, however, like looking at web pages as how they were mean to be seen. Unfortunately, most of web designers don't think about anyone having non-default colors set up.
    Example one ( http://www.cedok.cz ):
    This site's CSS style has "color: rgb(45, 45, 45);" for the whole <body> but for <select> elements there is no "background-color" set. This means there is a select box rendered with dark gray background and dark gray foreground (text color). This is pretty badly readable (obviously).
    To mention one particular element from this site: e.g. <select id="ctl00_ContentPlaceHolderLevySloupec_HledaniMultiTab1_HledaniZajezdu1_ddlTypZajezdu">
    Example two ( https://support.mozilla.org/en-US/questions/new/desktop/customize/form ):
    On this page (where I'm currently filling in this question) the <textarea id="id_content"> has "background: ... rgb(255, 255, 255);" set, but with my default font color, this textarea is rendered as light gray text on a white background. Again, pretty unreadable (and eye-hurting).
    I can provide screenshots and more reasoning if needed.
    I'm asking if there is (or might be) an option (even disabled by default) or at least an add-on which would keep default colors unless both foreground and background colors were specified. I think this might make Firefox very usable for many people which like to have their default colors configured.
    In case you won't be able to help me by fixing this, could you redirect me to the right place where I could get this requested in a way that might be really possible to happen (bugzilla?).
    Thank you very much in advance.

    Thanks for the reply, but I'm sorry, no. I don't want any addon that customizes colors, I want to use default colors and only prohibit changing them unless both background and foreground colors are changed.
    I have made no color changes WRT to Firefox *only*, I just changed the default for the whole toolkit (gtk in this case). The thing I need is to disable changing *only one* property out of two ({back,fore}ground). Whenever the second one gets set as well, this new setting (both of them) may get reflected, but not before that. It'd be nice to keep this when changing the colors back (deleting the style), but that's not necessary.
    I hope that's understandable, feel free to ask for if that's not the case.
    To express what I mean a bit more precisely, see the attached image. In that image there are four textareas (one of the elements that gets affected by this). First one is a default one (which I want to have if the page has nothing set), the second one is nicely modified to fit for example to a blue-ish page (this one I like as well).
    Second row of textareas shows how the final element looks like if the page has only one of these elements set up. First one changes background without changing font color, the second one vice versa. Both of them are very badly readable, especially with low lighting around.
    This is consequently the same case when it comes to default page background which I cannot set at all, because too many pages have only "color:" set without changed background and that is completely messed up then. Going to extremes, I might mention all color-related modifications (see how ugly the borders look when the background is changed and nothing is done to these borders, their size and color is kept default), but I understand that's too much.

  • Colorful Web Forms does not work in IE like it does in Firefox

    Well, I have this great colorful web form that I got from Paulo Vale. The colors of the textareas, textfields, and select lists all change colors as they should when I mouseover them and when I set focus and type in them .......... if I am in Firefox.
    When I try to run my application in IE, none of this works.
    Does anyone know what I need to do to get this to work in IE like it does in Firefox?
    Thank you,
    Maggie

    Yes, I can provide the code.
    Thank you, Andy
    &lt;style type="text/css"&gt;
    select.slCamp {
    color:
    #000000;
    background-color:
    #FFFFCC;
    cursor:
    pointer;
    select:hover.slCamp {
    color:
    #000000;
    background-color:
    #E6FF97;
    select:focus.slCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    textarea.taCamp
    background-color:
    #FFFFCC;
    textarea:hover.taCamp {
    background-color:
    #E6FF97;
    color: #000000;
    cursor: pointer
    textarea:focus.taCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    cursor: text;
    textarea.taOptCamp
    background-color:
    #FFFFFF;
    textarea:hover.taOptCamp {
    background-color:
    #E6FF97;
    color: #000000;
    cursor: pointer
    textarea:focus.taOptCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    cursor: text;
    select.slOptCamp {
    color:
    #000000;
    background-color:
    #FFFFFF;
    cursor:
    pointer;
    select:hover.slOptCamp {
    color:
    #000000;
    background-color:
    #E6FF97;
    select:focus.slOptCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    &lt;/style&gt;
    Andy, anything that has an 'Opt' in the name is used with a field or list that is optional. I did this so that there would be a difference in the manddatory and optional fields.
    Edited by: mjhamilton on Jan 5, 2009 12:01 PM

  • How to add landing page s-parameter to a form submission?

    Hi,
    Really hoping somebody can help me. This is something I have seen used in many of my previouse roles and I would like to introduce it to my current position but am a bit lost. We develop our website inhouse and are currently in the process of migrating it to Dreamweaver CSS, which I am unfamiliar with.
    What I want to do is introduce a tracking code that allows me to see excatly where the original click came from on all Email submissions (conversions).
    What i would like to happen is, when a lead form from our website is submitted there is a hidden default field that comes through to us on the Email submission. That field should (if all goes to plan) pull the S parameter from the URL of the landing page. This S parameter is a code that I have generated and placed in the destination URL of all PPC ads and campaigns (as below)
    I believe I have the correct piece of script ,  I’m just not sure how to place it and what I need to amend within it .
        <form action="jspostto.htm" method="get">
            <input type="hidden" id="hiddenParameterValue" name="hiddenParameterValue" />
            <input type="submit" value="Submit" />
        </form>
        blah<br />
        <script language="javascript" type="text/javascript">
            document.getElementById("hiddenParameterValue").value = getParam("f");       
        </script>
    An example of the kind or code I am putting in is www.sapphiresystems.com/uk/sunsystems/index.htm?s=GUKAOOH02&K={keyword} in the destination URLs of PPC campaigns and Facebook links to the website as such www.sapphiresystems.com/sapb1/index.htm?s=FBSAPBOX.
    Really appreciate any help or insight you can offer,
    Many thanks
    Kiti

    Hi Both,
    Apologies, yes we are on PHP,
    This is what is really throwing me off .... i don't know what WEBBOT is? I have posted everything that was between form tags, just incase i let anything important out.
    Again really appreciate all the help and advice,
    Thanks , Kiti
    <!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script language="JavaScript" type="text/javascript"><!--
    function FrontPage_Form1_Validator(theForm)
      if (theForm.Name.value == "")
        alert("Please enter a value for the \"Name\" field.");
        theForm.Name.focus();
        return (false);
      if (theForm.Email.value == "")
        alert("Please enter a value for the \"Email\" field.");
        theForm.Email.focus();
        return (false);
      if (theForm.Heard_Sapphire.selectedIndex < 0)
        alert("Please select one of the \"Heard_Sapphire\" options.");
        theForm.Heard_Sapphire.focus();
        return (false);
      if (theForm.Heard_Sapphire.selectedIndex == 0)
        alert("The first \"Heard_Sapphire\" option is not a valid selection.  Please choose one of the other options.");
        theForm.Heard_Sapphire.focus();
        return (false);
      return (true);
    //--></script><!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="../../_derived/nortbots.htm" onsubmit="location.href='../../_derived/nortbots.htm';return false;" language="JavaScript" name="FrontPage_Form1" webbot-onsubmit="return FrontPage_Form1_Validator(this)" webbot-action="--WEBBOT-SELF--">
        <!--webbot bot="SaveResults" U-File="../_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" S-Email-Address="[email protected]" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Sapphire Website - SunPlanning demo request" S-Builtin-Fields U-Confirmation-Url="thanks_demo.htm" --><input type="hidden" name="VTI-GROUP" value="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
        <table border="0" width="724" id="table6" height="681" cellspacing="0" cellpadding="0">
         <!-- MSTableType="nolayout" -->
         <tbody><tr>
          <td bgcolor="#FFFFFF" colspan="8" height="145" valign="top">
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt">
       <b><font face="Arial" style="font-size: 14pt" color="#003366">Demo
       SunPlanning</font></b></p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt"> 
       </p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt">
       <font style="FONT-SIZE: 8pt" face="Arial">Please complete this short
       form and, upon receipt of your request, we’ll send you through your
       a link to your online demonstration. </font></p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt"> 
       </p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt">
       <font face="Arial">
       <span style="font-size: 8.0pt; font-style:italic">We respect your
       privacy. We do not share your details with anyone outside Sapphire.
       </span></font></p>
          </td>
          </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td colspan="2" bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="19" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="19" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="19" style="border-top: 1px dotted #C0C0C0"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <span style="font-weight: 700">
          <font face="Arial" style="font-size: 8pt" color="#003366">
          Title</font></span><font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
           <select size="1" name="Title0" style="font-family: Arial; font-size: 8pt; background-color: #F4F4F4">
          <option>Mr</option>
          <option>Mrs</option>
          <option>Miss</option>
          <option>Ms</option>
          <option>Dr</option>
          </select></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Name:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="Name" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4">  </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; ">
          * Required Field</font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Title:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Position" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Company:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Company" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Email Address:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="Email" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"> </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; font-weight: 700"> 
          </font><font color="#FF0000" face="Arial" style="font-size: 8pt; ">
          * Required Field</font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Telephone:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Telephone" size="20" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td colspan="8" bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left" style="border-top: 1px dotted #C0C0C0"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> 
          </td>
          <td bgcolor="#FFFFFF" height="20" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-top: 1px dotted #C0C0C0"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Address 1:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <input type="text" name="Address1" size="30" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <span style="font-weight: 700">
          <font face="Arial" style="font-size: 8pt" color="#003366">
          Address 2</font></span><font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <input type="text" name="Address2" size="30" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"> </font></td>
          </tr>
          <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Town:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Town" size="22" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
           </tr>
           <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
                <td bgcolor="#FFFFFF" align="left">
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Post Code:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <input type="text" name="PostCode" size="10" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"> </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; font-weight: 700"> </font></td>
             </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
          <td bgcolor="#FFFFFF" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> 
          </td>
          <td bgcolor="#FFFFFF" height="20" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" align="left"> </td>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF" valign="top"> 
          </td>
          <td bgcolor="#FFFFFF" valign="top" align="left">
          <p>
          <font face="Arial" color="#003366" style="font-size: 8pt; font-weight: 700">
          Notes/Additional
          Info:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="84">
          <p>
           <textarea rows="5" name="Notes" cols="40" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></textarea></p></td>
         </tr>
         <tr>
          <td colspan="8" bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left" style="border-left-width: 1px; border-right-width: 1px; border-top: 1px dotted #C0C0C0; border-bottom-width: 1px"> 
          </td>
          <td colspan="6" bgcolor="#FFFFFF" height="22" style="border-left-width: 1px; border-right-width: 1px; border-top: 1px dotted #C0C0C0; border-bottom-width: 1px"> 
          </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font color="#003366" face="Arial" style="font-size: 8pt; font-weight: 700">
          How did you find us? </font>
          </p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366" face="Arial" style="font-size: 8pt; font-weight: 700">
           <!--webbot bot="Validation" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select size="1" name="Heard_Sapphire" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4">
          <option>Please Select...</option>
          <option>Advertising</option>
          <option>Direct Mail</option>
          <option>Email Promotion</option>
          <option>Other</option>
          <option>Press Article</option>
          <option>Recommendation</option>
          <option>Web Search - Google</option>
          <option>Web Search - Bing</option>
          <option>Web Search - Other</option>
          <option>Web Search - Yahoo!</option>
          </select> </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; ">
           * Required Field</font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" align="left"> </td>
          <td bgcolor="#FFFFFF"> </td>
          <td colspan="2" bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" align="left"> </td>
          <td bgcolor="#FFFFFF" colspan="6">
          <input type="submit" value="Submit Enquiry" name="Enquiry" style="float: left; font-size:8pt; font-family:Arial; color:#FFFFFF; font-weight:bold; background-color:#FF6600"></td>
         </tr>
         <tr>
          <td width="17"> </td>
          <td width="158" align="left"></td>
          <td width="136"></td>
          <td width="34"></td>
          <td width="137"></td>
          <td height="1" width="40"></td>
          <td height="1" width="174"></td>
          <td height="1" width="30"></td>
         </tr>
         </tbody></table>
       </form>

  • My Index and contact page has moved my top nav up

    I only changed my contact styles on my Index page and now my top nav has gone to the top. On my contact page I added two images so I understand I need to add some code to do with that but not sure how to get it back correct.
    When I veiw my contact page through my wamp server though it all looks fine that's why I uploaded it onto the live server.  Does anyone know why that should be?
    www.bristolequestrianservices.co.uk.  Can someone help please?
    Thanks
    </head>
    <body>
    <div id="outer">
    <div id="wrapper">
                        <div id="logo">
                      <img src="images/banner1.jpg" />
              </div>
              <div id="social-media-icons">
                      <ul>
                          <li><a href="https://www.facebook.com/groups/150449201771804/"><img src="images/icons/facebook.jpg" /></a></li>
                  <li><a href="£"><img src="images/icons/rss.jpg" /></a></li>
                  <li><a href="http://www.twitter.com"><img src="images/icons/twitter.jpg" /></a></li>
                  <li><img src="images/icons/youtube.jpg" /></li>
                </ul>
                        </div>
             <div id="contact">
         <p><span class="big-blue">Bristol Equestrian Service</span><br>
         Tel: 0117 9190060 / 07900538697<br>
         Email: [email protected]<br>
          [email protected]</p>    
         </div             
            ><div id="topnav">
                      <ul>
                          <li><a href="index.html">Home</a></li>
                    <li><a href="stablesandfieldshelters.html">Stable and Field Shelters</a></li>
                    <li><a href="pricelist.html">Price List</a></li>
                    <li><a href="gallery.html">Gallery</a></li>
                    <li><a href="contactus.html">Contact Us</a></li>
                </ul>
                        </div>
                        <div id="banner">
                      <img src="images/newbanner.jpg" />
                        </div>
    /* Containers */
    #outer                                         {  width:960px; margin:0 auto; background:#FFF; }
    #wrapper                               {  width:900px; margin:0 auto; background:#FFF; }
    #logo                                         {  margin: 30px 0; float:left; }
    #social-media-icons                              {  float:right; }
    #social-media-icons ul li          {display:inline; }
    #social-media-icons ul                    {margin-top:40px; }
    #social-media-icons2                    {  float:left; }
    #social-media-icons2 ul li          {display:inline; }
    #social-media-icons2 ul                    {margin-top:10px; }
    #topnav                               { clear:both;  }
    #topnav          ul                              { border-top:1px #000 solid; border-bottom:1px #000 solid;
                                                                margin:20px 0; padding:10px 0;           }
    #topnav ul li                    { display:inline; }
    #topnav ul li a                    { padding:0 15px; }
    #topnav a:link                              { color: #000;  }
    #topnav a:visited                    { color: #000;  }
    #topnav a:active                    { color: #000;  }
    #topnav a:focus                              { color: #666;  }
    #topnav a:hover               { color: #f90;  }
    #banner                                        { margin-bottom:30px;  }
    #rightside                               { width:200px; float:right   }
    #content                               { width:650px; float:left;  }
    #content-fullwidth          {width:100%; }
    #footer                               { clear:both; margin-top:20px 0; border-top:1px #ccc solid;

    /* Color Legend */
    /* Reset */
    Oops sorry copied it all!
    html, body { margin: 0; padding: 0; border: 0; 
                                            background: transparent; font-size:10px; }
    div, span, article, aside, footer, header, hgroup, nav, section,
    h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li,
    table, tr, th, td, tbody, tfoot, thead {
              margin: 0;
              padding: 0;
              border: 0;
              vertical-align: baseline;
              background: transparent;
    img           { margin:0; padding:0; border:0; }
    table, tr, th, td, tbody, tfoot, thead {
              margin: 0; padding: 0; border: 0;
              vertical-align: baseline;
              background: transparent;
    table { border-collapse: collapse; border-spacing: 0; }
    input, select, textarea, form, fieldset {
              margin: 0; padding: 0; border: 0;
    article, aside, dialog, figure, footer, header, hgroup, nav, section {
              display:block; }
    h1, h2, h3, h4, h5, h6, p, li, blockquote, td, th, a, caption, em, strong, strike {
              font-family: Arial, Helvetica, sans-serif;
              font-size:100%;
              font-weight: normal;
              font-style: normal;
              line-height: 100%;
              text-indent: 0;
              text-decoration: none;
              text-align: left;
              color: #000;
    ol, ul { list-style: none; }
    /* Global */
    html           {          }
    body          { background: #960          }
    /* Headings */
    h1, h2, h3, h4, h5, h6 { font-weight: bold; }
    h1 { font-size:24px; color:#BB5E00;
              padding-bottom:15px; border-bottom:1px #ccc solid; margin-bottom:15px; }
    h2 { font-size:20px; color:#666 }
    h3 { font-size:16px; }
    h4 { font-size:20px; color: #666}
    h5 { font-size:14px; }
    h6 { font-size:14px; }
    h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; }
    /* Text Elements */
    p                     { color:#000; font-size:12px; line-height:150%; 
                                             margin:15px; 0; }
    p .left                              { margin: 1.5em 1.5em 1.5em 0; padding: 0; }
    p .right                     { margin: 1.5em 0 1.5em 1.5em; padding: 0; }
    a                     {   }
    a:link                              { color: #00f;  }
    a:visited                    { color: #0f0;  }
    a:active                    { color: #000;  }
    a:focus                              { color: #666;  }
    a:hover               { color: #f00;  }
    blockquote            { color:#000; font-size:12px; }
    strong                { font-weight: bold; }
    em                                    { font-style: italic; }
    /* Images */
    /* Lists */
    ul                    {  }
    ol                    { list-style-type:decimal; }
    ul li                        { color:#000; font-size:12px; }
    ol li                         { color:#000; font-size:12px; }
    dl                    {            }
    dt                           {            }
    dd                    {           }
    /* Tables */
    table                 { width:100%; }
    tr                                        {          }
    .odd                              { background-color:#eee; }
    .even                              { background-color:#fff; }
    th                    { font-weight: bold; }
    thead, th              { background: #ccc; }
    tbody                              {   }
    th,td,caption           {           }
    caption                     {           }
    tfoot                 {          }
    .tfooter                    { background-color:#ccc; text-align:center; font-style:italic; }
    caption               { background: #efefef; }
    /* Miscellaneous */
    sup, sub              { line-height: 0; }
    abbr, acronym   { border-bottom: 1px dotted #666; }
    address               {            }
    del                   { background:#FFCECE; color:#f00; }
    code, pre                    { background-color:#FF9; padding:2px 0px; margin:4px 25px;
                                                      font-family:"Courier New", Courier, monospace; font-size:12px; font-weight:normal; line-height:150%;          }
    /* Containers */
    #outer                                         {  width:960px; margin:0 auto; background:#FFF; }
    #wrapper                               {  width:900px; margin:0 auto; background:#FFF; }
    #logo                                         {  margin: 30px 0; float:left; }
    #social-media-icons                              {  float:right; }
    #social-media-icons ul li          {display:inline; }
    #social-media-icons ul                    {margin-top:40px; }
    #social-media-icons2                    {  float:left; }
    #social-media-icons2 ul li          {display:inline; }
    #social-media-icons2 ul                    {margin-top:10px; }
    #topnav                               { clear:both;  }
    #topnav          ul                              { border-top:1px #000 solid; border-bottom:1px #000 solid;
                                                                margin:20px 0; padding:10px 0;           }
    #topnav ul li                    { display:inline; }
    #topnav ul li a                    { padding:0 15px; }
    #topnav a:link                              { color: #000;  }
    #topnav a:visited                    { color: #000;  }
    #topnav a:active                    { color: #000;  }
    #topnav a:focus                              { color: #666;  }
    #topnav a:hover               { color: #f90;  }
    #banner                                        { margin-bottom:30px; }
    #rightside h2 {
    font-size: 24px;
        color: #999;
        font-weight: normal;
        margin: 0 0 0 0;
        padding: 0 0 10px 0; /*top-right-bottom-left*/
    #rightside p {
        margin: 0 0 0 0;
        padding: 0 0 10px 0; /*top-right-bottom-left*/
    #rightside a {
        text-decoration: none;
        color: #7A7D42;
        font-size: 14px;
        padding: 0 0 15px 0; /*top-right-bottom-left*/
    #rightside a:hover {
    color:#BB5E00
    #rightside p {
        margin: 0 0 0 0;
        padding: 10px 0 10px 0; /*top-right-bottom-left*/
        border-bottom: 1px solid #ccc;
    #content                               { width:650px; float:left;  }
    #content-fullwidth          {width:100%; }
    #footer                               { clear:both; margin-top:20px 0; border-top:1px #ccc solid;
                                                       padding-bottom:20px; }
    .rowWrapper {
        overflow: hidden;
        margin: 0 0 15px 0;
    .details {
    width:286px;
    float:left;
    margin: 0 0 0 20px;
    padding: 15px 0 0 0;
    border-top: 2px solid #000;
    .details p {
    margin: 0;
    padding: 0 20px;
    #box1 {   }
    #box2 {  }
    #box3 {  }
    #box4 {  }
    #box5 {   }
    #box6 {   }
    #box7 {   }
    #box6 {  }
    #box9 {   }
    #box10 {   }
    /* Layout Extra */
    /* Navigation Extra */
    /* Forms */
    /* Forms */
    form ol { list-style-type:none; }
    form           { text-align:left; margin:20px;          }
    label           {
                        float: left; width: 150px; margin-top:5px;
                        text-align:right; display:block; background:none; font-weight:bold;
    submit          { background:none;           }
    input           {
                        width: 280px; margin:0 0 16px 10px;
                        border:1px #bbb solid; padding:5px; background:none;
    input:focus, textarea:focus          { background-color:#CCC; }
    textarea {
                        width: 280px; height: 150px; margin:0 0 16px 10px;
                        border:1px #bbb solid; padding:5px; background:none;
    select { margin-bottom:20px;          }
    .month { margin-left:155px;          }
    .submit {
                        width:90px; height:25px;
                        margin-left:160px;
                        font-size:12px;
    br                    { clear: left;           }
    .clear          { clear:both; }
    /* Miscellaneous  */
    .copyright-text          { font-size:80%; font-style:italic; color:#333; }
    .footer-text          { font-size:100%; font-style:normal; color:#000; text-align:center; }
    .title                              { font-size:18px; font-weight:bold; color:#333;  }
    .subtitle                    { font-size:14px; font-style:italic; color:#333;  }
    .artist                              { font-size:16px; font-weight:bold; color:#333;  }
    .author                              { font-size:14px font-weight:bold; color:#555;  }
    .editor                              { font-size:14px font-style:italic; color:#555;  }
    .pub-date                    { font-size:10px font-style:italic; color:#555; }
    .article-date          { font-size:10px font-style:italic; color:#555;  }
    .location                    { font-size:10px font-style:italic; color:#555;  }
    .float-right          { float:right; }
    .float-left                    { float:left; }
    .clear                              { clear:both; }
    .hide                              { display:none; }
    .block                              { display:block; }
    .inline                              { display:inline; }
    .first                              { font-weight:bold; }
    .last                              { font-weight:bold; }
    .left                              { font-weight:bold; text-align:left; }
    .right                              { font-weight:bold; text-align:right; }
    .added                { background:#D7D7FF; }
    .removed              { background:#FFCECE; color:#f00; }
    .changed                    { background:#FFB; }
    /* Success, info, notice and error/alert boxes - from Blueprint CSS Framework */
    .error, .alert, .notice, .success, .info {
              padding: 0.8em; margin-bottom: 1em; border: 2px solid #ddd; }
    .error, .alert           { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
    .notice                              { background: #fff6bf; color: #514721; border-color: #ffd324; }
    .success                       { background: #e6efc2; color: #264409; border-color: #c6d880; }
    .info                               { background: #d5edf8; color: #205791; border-color: #92cae4; }
    .error a           { color: #8a1f11; }
    .alert a           { color: #8a1f11; }
    .notice a   { color: #514721; }
    .success a  { color: #264409; }
    .info a                    { color: #205791; }
    #contact {
              float: right;
              clear: both;
    .big-blue {
         font-size:32px;
         color:#000;
               font-family:Monotype Corsiva;

  • New to code, need help please!!!

    I have been designing my first website by following a string of videos I have purchased online. (Timothy Training w/ Framework Files) I am finally to the point that I am ready to 'put' these file on my business catalyst account and get them online. I have run into an issue however. I have a page called services.html and within it I have built a 'featured content slider' that links to several pages. The code was working perfectly in any browser that I previewed it in, live view, inspections, everything was fine!! Until, I 'put' the files onto my business catalyst account, now all of the sudden the code does not display correctly anymore. I have made no changes to the code what-so-ever, no changes to the style sheets, nothing. I had a tech support guy that took a 'quick look' and said that my outer div was all of the sudden in the wrong place. I dont understand how 1. it shifted when I made no changes, 2. It works perfectly fine when I view it outside of BC platform and 3. how to even begin to fix the issue. I have spent hours upon hours trying to remedy this myself and I am finally at a breaking point and quite desperate for help. I have so many hours into this site and I am quite frustrated that I made it this far only for it to fail. Please anyone that is willing to take a look I would be grateful. I am not sure if I should post the code in here or not as this is my first post in the forum. I guess I will try to copy and paste and see if that works. Any suggestions would be great help.. Thank you so much!
    I will copy and paste the code in this order: (I think this is all the code needed to figure it out,I hope...)
    services.html
    featureList.js
    featured.css
    styles.css
    services.html
    <!DOCTYPE HTML>
    <html><!-- InstanceBegin template="/templates/ts_fullwidth.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
              <script type="text/javascript" src="js/jquery.js"></script>
        <link href="css/styles.css" rel="stylesheet" type"text/css" media="screen">
        <link href="css/print.css" rel="stylesheet" type"text/css" media="screen">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="Content-Type" content="cache" />
        <meta name= "robots" content="INDEX,FOLLOW" />
        <meta name= "keywords" content="Enter Keywords" />
        <meta name= "description" content="Description Here" />
    <!-- InstanceBeginEditable name="doctitle" -->
        <title>Web Site by Tahoe POS Systems LLC - www.tahoesystems.com</title>
                  <script type="text/javascript" src="js/featureList.js"></script>
        <link rel="stylesheet" href="css/featured.css" />
              <script language="javascript">
                        $(document).ready(function() {
                                  $.featureList(
                                            $("#tabs li a"),
                                            $("#output li"), {
                                                      start_item          :          1
              </script>
        <!-- InstanceEndEditable -->
        <!-- Google Analytics Code Goes Below Here -->
        <!-- End Google Analytics Code -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="outer">
              <div id="wrapper">
                        <div id="logo">
                      <img src="images/logos/logo2.png" />
            </div>
            <div id="social-media-icons">
                      <ul>
                          <li><a href="http://www.facebook.com/tahoesystems"><img src="images/icons/facebook_32.png" /></a></li>
                    <li><a href="#"><img src="images/icons/rss_32.png" /></a></li>
                    <li><a href="http://www.twitter.com"><img src="images/icons/twitter_32.png" /></a></li>
                    <li><a href="http://www.youtube.com"><img src="images/icons/youtube_32.png" /></a></li>
              </ul>   
            </div>
            <div id="topnav">
                      <ul>
                          <li><a href="index.html">HOME</a></li>
                    <li><a href="about.html">ABOUT US</a></li>
                    <li><a href="clients.html">CLIENTS</a></li>
                    <li><a href="services.html">SERVICES</a></li>
                    <li><a href="contact.html">CONTACT US</a></li>
                </ul>   
            </div>
            <div id="banner">
                      <img src="images/banner/b1.png" />
            </div>
            <div id="content-fullwidth"><!-- InstanceBeginEditable name="content" -->
              <h1>Welcome to Tahoe Systems Web Site!</h1>
              <p>Our Mission – To ensure your restaurant, bar, café, diner, or eatery operates smoothly. Streamline your workflow by providing the latest, most up-to-date technology the industry has to offer. Maximize your profits with a personalized POS system that works for you and not against you. Ease your stress with the quickest, most reliable, 24-hour technical support in the area. Train your staff in person with one-on-one classes taught by one of our certified staff.</p>
           <div id="feature">
                        <h1>Featured Tahoe Systems Services</h1>
            <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
                                  <div id="feature_list">
                                            <ul id="tabs">
                                                      <li>
                                                                <a href="javascript:;">
                                                                <img src="images/icons/ts_star_logo.png" />
                                                                          <h3>Complete Menu Design</h3>
                                                                          <span>Complete with our well-known Fast Bar Page </span>
                                                                </a>
                                                      </li>
                                                      <li>
                                                                <a href="javascript:;">
                                                                          <img src="images/icons/ts_star_logo.png" />
                                                                          <h3>Kitchen Printing with ease</h3>
                                                                          <span>Top of the line printing systems</span>
                                                                </a>
                                                      </li>
                                                      <li>
                                                                <a href="javascript:;">
                                                                <img src="images/icons/ts_star_logo.png" />
                                                                          <h3>VPEN Monitor Systems</h3>
                                                                          <span>HD Screens, Bump Bars, We can do it all!</span>
                                                                </a>
                                                      </li>
                                            </ul>
                                  <ul id="output">
                                                      <li>
                                                                <img src="images/feature_slider/menu-sample2.jpg" />
                                                                <a href="menu.html">Menu Gallery</a>
                                                      </li>
                                                      <li>
                                                                <img src="images/feature_slider/tmu220.jpg" />
                                                                <a href="print.html">Printing Gallery</a>
                                                      </li>
                                                      <li>
                                                                <img src="images/feature_slider/kds_hnet.jpg" />
                                                                <a href="vpen.html">VPEN Gallery</a>
                                                      </li>
                                            </ul>
                                  </div>
              </div>
              <p>Our Mission – To ensure your restaurant, bar, café, diner, or eatery operates smoothly. Streamline your workflow by providing the latest, most up-to-date technology the industry has to offer. Maximize your profits with a personalized POS system that works for you and not against you. Ease your stress with the quickest, most reliable, 24-hour technical support in the area. Train your staff in person with one-on-one classes taught by one of our certified staff.</p>
            <!-- InstanceEndEditable --></div>
            <div id="footer">
                       <p class="footer-text">All Rights Reserved - Tahoe Systems - 2012</p>
            </div>
       </div>
    </div>
    </body>
    <!-- InstanceEnd --></html>
    featureList.js
    * FeatureList - simple and easy creation of an interactive "Featured Items" widget
    * Examples and documentation at: http://jqueryglobe.com/article/feature_list/
    * Version: 1.0.0 (01/09/2009)
    * Copyright (c) 2009 jQueryGlobe
    * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License
    * Requires: jQuery v1.3+
    ;(function($) {
              $.fn.featureList = function(options) {
                        var tabs          = $(this);
                        var output          = $(options.output);
                        new jQuery.featureList(tabs, output, options);
                        return this;
              $.featureList = function(tabs, output, options) {
                        function slide(nr) {
                                  if (typeof nr == "undefined") {
                                            nr = visible_item + 1;
                                            nr = nr >= total_items ? 0 : nr;
                                  tabs.removeClass('current').filter(":eq(" + nr + ")").addClass('current');
                                  output.stop(true, true).filter(":visible").fadeOut();
                                  output.filter(":eq(" + nr + ")").fadeIn(function() {
                                            visible_item = nr;
                        var options                              = options || {};
                        var total_items                    = tabs.length;
                        var visible_item          = options.start_item || 0;
                        options.pause_on_hover                    = options.pause_on_hover                    || true;
                        options.transition_interval          = options.transition_interval          || 5000;
                        output.hide().eq( visible_item ).show();
                        tabs.eq( visible_item ).addClass('current');
                        tabs.click(function() {
                                  if ($(this).hasClass('current')) {
                                            return false;
                                  slide( tabs.index( this) );
                        if (options.transition_interval > 0) {
                                  var timer = setInterval(function () {
                                            slide();
                                  }, options.transition_interval);
                                  if (options.pause_on_hover) {
                                            tabs.mouseenter(function() {
                                                      clearInterval( timer );
                                            }).mouseleave(function() {
                                                      clearInterval( timer );
                                                      timer = setInterval(function () {
                                                                slide();
                                                      }, options.transition_interval);
    })(jQuery);
    featured.css
    #feature
    font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.6;
    width: 750px; /* This is the width  */
    margin: 25px auto; /* margin top/bottom and centering  */
    padding: 20px; /* Padding inside */
    background: #FFF;
    /* Background color  */
    border: 1px solid #CCC; /* border around  */
    #feature h1 { margin: 0; }
    #feature p
    { margin: 0; padding: 7px 0; }
    .clear
    { clear: both; line-height: 1px; font-size: 1px; }
    #feature a
    { outline-color: #888;
    #feature h3 { margin: 0;
    padding: 7px 0 0 0;
    font-size: 16px; text-transform: uppercase;
    ul#tabs li a h3
    { color:#F60; margin-bottom: 5px; ; }
    div#feature_list
    width: 750px; height: 240px;
    overflow: hidden; position: relative;
    div#feature_list ul {
    position: absolute;
    top: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    ul#tabs {
    left: 0;
    z-index: 2;
    width: 320px;
    ul#tabs li { font-size: 12px; font-family: Arial; }
    ul#tabs li img {
    padding: 5px; border: none; margin: 0px 10px 0 0;
    float: left;
    ul#tabs li a
    color: #222;
    text-decoration: none;
    display: block;
    padding: 10px;
    height: 60px;
    outline: none;
    ul#tabs li a:hover { color:#822B00; }
    ul#tabs li a.current {
    background:url(../images/feature-tab-current.png);
    color: #FFF;
    ul#tabs li a.current:hover {
    text-decoration: none;
    cursor: default;
    ul#output {
    right: 0;
    width: 460px; height: 240px;
    position: relative;
    ul#output li {
    position: absolute;
    width: 460px; height: 240px;
    ul#output li a {
    position: absolute;
    bottom: 10px; right: 10px;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 11px;
    color: #FFF;
    background: #000;
    -moz-border-radius: 5px;
    ul#output li a:hover { background:#B33A00; }
    and finally styles.css
    /* CSS Document */
    /* Color Legend */
    /* Reset */
    html, body { margin; 0; padding: 0; border: 0; background: transparent; font-size:10px; }
    div, span, article, aside, footer, header, hgroup, nav, section,
    h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li,
    table, tr, th, td, tbody, tfoot, thead {
              margin: 0;
              padding: 0;
              border: 0;
              verticle-align: baseline;
              background: transparent; }
    img                    {margin: 0; padding: 0; border: 0; }
    table, tr, th, td, tbody, tfoot, thead {
              margin: 0; padding: 0; border: 0;
              verticle-align: baseline;
              background: transparent; }
    table {border-collapse: collapse; border-spacing: 0; }
    input, select, textarea, form, fieldset {
              margin: 0; padding: 0; border: 0; }
    article, aside, dialog, figure, footer, header, hgroup, nav, section {
              display:block; }
    h1, h2, h3, h4, h5, h6, p, li, blockqutoe, td, th, a, caption, em, strong, strike {
              font-family: Arial, Helvetica, sans-serif;
              font-size:100%;
              font-weight: normal;
              font-style: normal;
              line-height: 100%;
              text-indent: 0;
              text-decoration: none;
              text-align: left;
              color: #000; }
    ol, ul, { list-style: none; }
    /* Global */
    html          {          }
    body          {          background-color:#E8DDCA;
                                  background-image:url(../images/background/roiBody_11.png);
                                  background-repeat:no-repeat;
                                  background-attachment:fixed; }
    /* Headings */
    h1, h2, h3, h4, h5, h6 { font-weight: bold; }
    h1 { font-size:24px; color: #C60 ;
                        padding-bottom: 15px; border-bottom: 1px #ccc solid; margin-bottom: 15px; }
    h2 { font-size: 20px; }
    h3 {font-size: 16px; margin-bottom: 5px; }
    h4 {font-size: 14px; }
    h5 {font-size: 14px; }
    h6 {font-size: 14px; }
    h1 img, h2 img, h3 img, h4 img, h5 img, h6 img, {margin: 0; }
    /* Text Elements */
    p                                        { color:#000; font-size: 12px; line-height: 150%;
                                                      margin: 15px 0px; }
    p. left                              {margin: 1.5em 1.5em 1.5em 0; padding: 0; }
    p. right                     {margin: 1.5em 0 1.5em 1.5em; padding: 0; }
    a                                        {          }
    a:link                              {color: #00f; }
    a:visited                    {color: #0f0; }
    a:active                    {color: #000; }
    a:focus                              {color: #666; }
    a:hover                              {color: #f00; }
    blockquote                    {color: #000; font-size: 12px; }
    strong                              { font-weight: bold; }
    em                                         {font-style: italic; }
    /* Images */
    .image-frame          { padding: 10px; border: 1px #ccc solid; margin: 10px; }
    /* Lists */
    ul                                        {          }
    ol                                        { list-style-type:decimal; }
    ul li                              {color: #000; font-size: 12px; }
    ol li                              {color: #000; font-size: 12px; }
    dl                                        {          }
    dt                                        {          }
    dd                                        {          }
    /* Tables */
    table                              { width: 100%; }
    tr                                         {          }
    .odd                              { background-color: #eee; }
    .even                              { background-color: #fff; }
    th                                         { font-weight:bold; }
    thead, th                    { background: #ccc; }
    tbody                              {          }
    th,td,caption           {          }
    caption                     {          }
    tfoot                              {          }
    .tfooter                    { background-color:#ccc; text-align: center; font-style: italic;
    caption                              { background-color: #efefef;
    /* Miscelaneous */
    sup, sub                    {line-height: 0; }
    abbr, acronym          { border-bottom: dotted #666; }
    address                              {          }
    del                                        {background: #ffcece; color: #f00; }
    code, pre                    { background-color:#ff9; padding: 2px 0px; margin: 4px 25px;
                                                      font-family: "Courier New", Courier, monospace; font-size: 12px; font-weight:bold
    /* Containers */
    #outer                              { width:960px; margin:0 auto; background-color:#FFF; }
    #wrapper                    { width:900px; margin:0 auto; background-color:#FFF; }
    #logo                              { margin:30px 0; float: left; }
    #social-media-icons                     { float:right;                               }
    #social-media-icons ul li           { display: inline;                     }
    #social-media-icons ul                    { margin-top: 40px;           }
    #topnav                                        { clear: both; }
    #topnav ul                              { border-top: 1px #000 solid; border-bottom: 1px #000 solid;
                                                                margin: 20px 0; padding: 10px 0; }
    #topnav ul li                    { display: inline          }
    #topnav ul li a                    { padding: 0 15px;          }
    #topnav          a:link                              {color: #000; }
    #topnav          a:visited                    {color: #000; }
    #topnav          a:active                    {color: #000; }
    #topnav          a:focus                              {color: #666; }
    #topnav          a:hover                              {color: #F90; }
    #banner                                        { margin-bottom: 30px;           }
    #slider                                        { margin-bottom: 30px; }
    #content                              { width: 650px; float: left;          }
    #content-fullwidth          { width: 100%; }
    #rightside                              { width: 200px; float: right;          }
    #footer                                        { clear: both; margin-top: 20px 0; border-top: 1px #ccc solid;          padding-bottom: 20px; }
    #box1          { width: 250px; float: left; margin: 25px; 
                                  border-top: 15px #666 solid; background-color:#EEE;          }
    #box2          { width: 250px;          float: left; margin: 25px;
                                  border-top: 15px #3E5838 solid; background-color:#EEE;          }
    #box3          { width: 250px;          float: left; margin: 25px;
                                  border-top: 15px #386165 solid; background-color:#EEE;          }
    #box1 h3, #box2 h3, #box3 h3 { margin: 20px 10px 10px 10px; }
    #box1 p, #box2 p, #box3 p { margin: 5px 10px 10px 10px; }
    #box4          {                    }
    #box5          {                    }
    #box6          {                    }
    /* Layout Extra */
    /* Navigation Extra */
    /* Forms */
    form ol { list-style-type:none; }
    form           { text-align:left; margin:20px;          }
    label           {
                        float: left; width: 150px; margin-top:5px;
                        text-align:right; display:block; background:none; font-weight:bold;
    submit          { background:none;           }
    input           {
                        width: 280px; margin:0 0 16px 10px;
                        border:1px #bbb solid; padding:5px; background:none;
    input:focus, textarea:focus          { background-color:#FF9; }
    textarea {
                        width: 280px; height: 150px; margin:0 0 16px 10px;
                        border:1px #bbb solid; padding:5px; background:none;
    select { margin-bottom:20px;          }
    .month { margin-left:155px;          }
    .submit {
                        width:90px; height:25px;
                        margin-left:160px;
                        font-size:12px;
    br                    { clear: left;           }
    .clear          { clear:both; }
    /* Miscelaneous */
    .popup-link                    { font-size: 12px; margin: 5px 10px; display:block; }
    .date                              { font-weight: bold; color: #C60; margin-bottom: 3px; }
    .copyright-text { font-size:80%; font-style: italic; color: #333; }
    .footer-text          { font-size:12px; font-style: normal; color: #000; text-align: center; }
    .title                              { font-size:18px; font-weight: bold; color: #333; }
    .subtitle                    { font-size:14px; font-style: italic; color: #333; }
    .artist                     { font-size:16px; font-weight: bold; color: #333; }
    .author                              { font-size:14px; font-weight: bold; color: #555; }
    .editor                              { font-size:14px; font-style: italic; color: #555; }
    .pub-date                    { font-size:10px; font-style: italic; color: #555; }
    .article-date          { font-size:10px; font-style: italic; color: #555; }
    .location                    { font-size:10px; font-style: italic; color: #555; }
    .float-right          { float:right; }
    .float-left                    { float:left; }
    .clear                              { clear:both; }
    .hide                              { display:none; }
    .block                              { display:block; }
    .inline                              { display:inline; }
    .first                              { font-weight:bold; }
    .last                              { font-weight:bold; }
    .left                              { font-weight:bold; text-align:left; }
    .right                              { font-weight:bold; text-align:right; }
    .added                              { background:#D7D7FF; }
    .removed                    { background:#FFCECE; color:#f00; }
    .changed                    { background:#FFB; }

    http://tahoepossystems.businesscatalyst.com/services.html
    Services page is missing quite a bit of stuff.
    This code from a working page is correct:
    <link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
    <script type="text/javascript">var jslang='EN';</script>
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/needsomethinghere.js"></script>
    <script type="text/javascript" src="../js/slider.js"></script>
    <script type="text/javascript">  // This is the script for the banner slider
    $(document).ready(function() {
    $('#slider').s3Slider({
    timeOut: 6000
    </script>
    <link href="../css/styles.css" rel="stylesheet" css" media="screen">
    <link href="../css/print.css" rel="stylesheet" css" media="screen">
    <link href="../css/slider.css" rel="stylesheet" type="text/css" media="screen">
    In contrast, this is all you have in the <head> of your services.html page:
    <link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
    <script type="text/javascript">var jslang='EN';</script>
    <script type="text/javascript" src="../js/jquery.js"></script>
    <link href="../css/styles.css" rel="stylesheet" type="text/css" media="screen">
    <link href="../css/print.css" rel="stylesheet" type="text/css" media="screen">
    If you reconcile those difference in your code, it should work.
    Nancy O.

  • Resizing JFrame on button click to show an image on the JFrame

    Dear All,
    I have a JFrame which has an empty label. On button click I want to set an icon for the label and want the JFrame to be resized to show that icon. I am using frame.pack() and I am not using any other sizing function. The code that I have right now, prints the image on the panel, but does not resize the frame to show the image. Pleae could someone help.package gui;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.ItemEvent;
    import java.awt.event.ItemListener;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class ComponentDemo extends JPanel implements ActionListener,
    ItemListener, MouseListener, KeyListener {
         private JTextArea textarea;
         private JButton button;
         private final static String newline = "\n";
         private JLabel imageIcon;
         public ComponentDemo() {
              button = new JButton("JButton welcomes you  to CO2001");
              button.addActionListener(this);
              add(button);
              textarea = new JTextArea(10, 50);
              textarea.setEditable(false);
              addMouseListener(this);
              textarea.addKeyListener(this);
              JScrollPane scrollPane = new JScrollPane(textarea);
              add(scrollPane);
              imageIcon = new JLabel();
              add(imageIcon);
              setBackground(Color.pink);
              new JScrollPane(this);
          * Create the GUI and show it. For thread safety, this method should be
          * invoked from the event-dispatching thread.
         private static void createAndShowGUI() {
              // Create and set up the window.
              JFrame frame = new JFrame("Simple FrameDemo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              frame.setLocation(700, 200);
              // get the content pane and set the background colour;
              frame.add(new ComponentDemo());
         //     frame.setSize(screenSize);
              // frame.getContentPane().setBackground(Color.cyan);
              // Display the window.
              frame.pack();
              frame.setVisible(true);
              frame.setResizable(true);
         public static void main(String[] args) {
              // Schedule a job for the event-dispatching thread:
              // creating and showing this application's GUI.
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
         @Override
         public void actionPerformed(ActionEvent e) {
              // TODO Auto-generated method stub
              if (e.getSource() instanceof JButton) {
                   // System.out.println(e.getSource());
                   String text = ((JButton) e.getSource()).getText();
                   textarea.append(text + newline);
                   textarea.setBackground(Color.cyan);
                   textarea.setForeground(Color.BLUE);
                   textarea.setCaretPosition(textarea.getDocument().getLength());
                   imageIcon.setIcon(createImageIcon("SwingingDuke.png",
                   "Image to be displayed"));
         @Override
         public void itemStateChanged(ItemEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mouseClicked(MouseEvent arg0) {
              textarea.append("A Mouse click welcomes you to CO2001" + newline);
              textarea.setBackground(Color.green);
              textarea.setCaretPosition(textarea.getDocument().getLength());
         @Override
         public void mouseEntered(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mouseExited(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mousePressed(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mouseReleased(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void keyPressed(KeyEvent e) {
              System.out.println(e.getKeyChar());
              textarea.append("The key " + e.getKeyChar()
                        + " click welcomes you to CO2001" + newline);
              textarea.setBackground(Color.YELLOW);
              textarea.setFont(new Font("Arial", Font.ITALIC, 16));
              textarea.setCaretPosition(textarea.getDocument().getLength());
         @Override
         public void keyReleased(KeyEvent e) {
              System.out.println(e.getKeyChar());
              // textarea.append("The key "+
              // e.getKeyChar()+" click welcomes you to CO2001" + newline);
              // textarea.setBackground(Color.green);
              // textarea.setCaretPosition(textarea.getDocument().getLength());
         @Override
         public void keyTyped(KeyEvent e) {
              // TODO Auto-generated method stub
              System.out.println(e.getKeyChar());
              // textarea.append("The key "+
              // e.getKeyChar()+" click welcomes you to CO2001" + newline);
              // textarea.setBackground(Color.blue);
              // textarea.setCaretPosition(textarea.getDocument().getLength());
         /** Returns an ImageIcon, or null if the path was invalid. */
         protected ImageIcon createImageIcon(String path, String description) {
              java.net.URL imgURL = getClass().getResource(path);
              if (imgURL != null) {
                   System.out.println("found");
                   return new ImageIcon(imgURL, description);
              } else {
                   System.err.println("Couldn't find file: " + path);
                   return null;
    }

    myJPanel.setPerferredSize(new Dimension(new_width, new_hight));
    myJFrame.pack();

Maybe you are looking for

  • DMS BAPI RFC Open DMS document from external application

    Hello, I want open a document stored in DMS through RFC BAPI, from an external application (for example .NET) EasyDNS run OK: I have included the bapi Z_EASYDMS_ECL_OPEN_DOCUMENT (code from a SAP note)  in the system and I can open ECL/EAI & local do

  • Error 2615 -  and -50   when i try to back up playlist

    i either get error 2615 or -50 when i try to make back up discs- any help out there plz!!!! I have gone thru a stack of dvd-rs!!!!!!

  • Grants on Views vs Tables

    Hi Suppose that there is a view called V created from two base tables T1 & T2. If I grant "select on V" privilege to user X (select on Vto X), will the user X be internally granted with "select on T1 to X & select on T2 to X"? Your explanation will b

  • Problem downloading Illustrator and Indesign

    Hello, Thank you for the advice, but I always get the creative cloud screen attached. I downloaded new creative cloud, but the problem is the same. sincerely Serge

  • Netflix streaming video freezes but audio is ok...

    When I'm watching Netflix streaming videos, Firefox video freezes. Audio is fine and I can continue hearing the video. Firefox is the only browser that does this. IE9 and Google Chrome plays without the video freezing. I love Firefox and would like t