Having trouble to set image in a frame

I use the sample code from "InternalFrameDemo" from http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/index.html#InternalFrameDemo
and I modifiy it as bellow:
MyInternalFrame frame = new MyInternalFrame();
IconLabel = new JLabel();
ImageIcon icon = new ImageIcon("1.jpg",
"img1");
IconLabel.setIcon(icon);
DisplayPanel = new JPanel();
DisplayPanel.add(IconLabel);
frame.setContentPane(DisplayPanel);
frame.setVisible(true); //necessary as of 1.3
but I can't see the image I set to "icon", does anyone have any idea?

also, you could try creating the label with the image in it by using the constructor:
ImageIcon icon = new ImaheIcon("1.jpg"); //this is in current dir?
IconLabel = new JLabel(icon);
frame.setSize(300, 300);
frame.getContentPane().add(IconLabel);
...you could do this in the MyInternalFrame class, instead of the InternalFrameDemo class. it would make more sense since the picture is more closely related to this particular instance of the internal frame.

Similar Messages

  • I am new to Mac and am having trouble with uploading images from my pictures folder to Facebook and other share sites- some of my images are accessible while others are seemingly locked....

    I am new to Mac and am having trouble up loafing images from my pictures folder to photography sites and Facebook. Some of the saved images are accessible, while others are not, ( they are light colored and cannot be uploaded) I am not saving them any differently.

    Hi Robodisko,
    Thanks for your prompt reply...... 
    I often proof my work in preview then edit images in photoshop and rename from there.  The dsc images are renamed to correlate the name of the class etc.  i.e. dcs_001 is saved as the file name required 7A.jpeg etc.
    The file names are required to correlate what is what and so on..........

  • TS3276 Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Apple Mail isn't going to change the format of any of your attachments. it isn't going to corrupt them either.
    Exchange is a transport protocol and server. The issue you describe is not related to Exchange.
    There are many different versions of Microsoft Outlook in use and they all have e-mail bugs. Different versions have different bugs. Some Apple Mail hack to get around a bug in Outlook 2003 may cause the same message to be problematic in Outlook 2000. Fix them both and another issue will cause trouble in Outlook 2007. You can't fix this. Apple can't fix this. Microsoft can and has but that is irrelevant if your recipients are using older versions.
    One specific problem is that Apple Mail always sends image attachments inline, as images, not as iconized files. You can change this with Attachment Tamer. Just be aware that use of this software will break other things such as Stationery. E-mail is just a disaster. To date, no one outside of Apple has ever implemented the e-mail standards from 1993. Apple has continually changed its e-mail software to be more compatible with the de-facto standards that Netscape and Microsoft have unilaterally defined and people documented as "standards" after the fact. The e-mail messages that Apple Mail sends are 100% correct and do not violate any of the original standards from 1993 or the Microsoft/Netscape modifications. The problem is entirely bugs and limitations in various versions of Outlook.

  • Im having trouble with setting up my imessage activation do I need credit

    im having trouble with setting up my imessage activation do I need credit

    Please don't post the same question multiple times.

  • Anyone having trouble sharing large images via email with Aperture 3 and OSX 10.7.2?

    I am having trouble sharing images via email with Aperture 3. No matter what size I have in the preferences, the image is thumbnail size. The requested size flashes on the email a couple of times but the small size remains and is sent. I am using OSX 10.7.2. Any suggestions how I may send larger sizes?
    oldgranddad

    I have taught many how to use GUI-based computers.  The number of controls they are aware of on the screen always progresses, usually linearly with the amount of time they spend actively learning the GUI.  Beginners are totally flummoxed that windows can hide other windows.  A step beyond that, they are amazed that they can resize windows using the mouse cursor.  Those two are trivial to most users today, but they illustrate 1. that there is nothing "intuitive" about the GUI, and 2. that the amount one perceives is dependant on the amount one knows. IME, this has nothing to do with age, and everything to do with experience using a GUI.
    Here is a good hint:  if you are using a Mac and can't figure out how to do something, look for something to click.    If you find something that seems promising, try "{Option}+clicking".
    The interface is richer than any one person can master.  Frank's statement "most times we all fail to see everything " is, imho, _always_ true.  We never see everything, even in the grossly limited resolution of our computer screens.

  • HT2731 Having trouble with setting billing account

    I'm having trouble setting my billing account with my debit card telling invild security code

    Hi,
    As I understand, you would like to add custom refiner to refinement panel in search.
    From the screenshot, you intended to add vendor name property to search refiner. I cannot find the crawled property in my environment, is it an crawled property converted from custom site column?
    Here is an good article for
    adding refiner in SharePoint search 2013, and it seems there is not much difference from your process. However, here are the things you could check:
    RefinableString00 is in TEXT type, please make sure it matches your vendor name column.
    Please try mapping all crawled properties related to vendor name to RefinableString00 and test the issue again.
    Please try make managed property searchable as well.
    You could also try your process on other default managed property and see if it works.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Having trouble displaying small image in Cart

    Hello everyone. I have been having trouble displaying the small image in my cart. I know that the image is there, yet it wont display. Any help would be appreciated. Thanks
    http://www.highestgoodclothing.com/men/stl-tee

    .productitemcell { }
    That in your css has no height.
    Add height:auto; to your code.

  • Firefox 4 having trouble correctly displaying images on some websites

    This problem started in the last few days. The JPEG thumbnails and in some cases larger JPEGs on certain websites is corrupted. Sometimes the whole image is looks very "blocky" and sometimes the first 10-30% of the image displays correctly and the rest is distorted and/or displays with weird colors.
    I am using Firefox 4.0.1 on three different computers and it happens on all three! One computer is Windows 7 64-bit and the others are Windows XP SP3.
    I have updated video drivers - no change. Two computers have Nvidia video, the third has some cheesy old integrated graphics.
    The problem happens with Firefox in Safe Mode, and it happens (with both laptops) when I go to different WiFi hotspots.
    It happens no matter how I set the color management.
    I have cleared caches and cookies ... I have disabled my antivirus program ... no difference.
    I have disabled hardware acceleration in Firefox - no difference.
    Reloading the affected web page page does not change the problem. But I can copy the URL and paste it into IE9 and the page '''always displays correctly!''' Now, that should make you guys worry!

    Sometimes it is that corrupted, sometimes less corrupted, but usually not at all corrupted. I'm using Firefox 7.0.1 and been having this problem since upgrading to Firefox 4.
    Here are two images, which showed as corrupted. But later, atleast rebooted, but no Firefox or any other cache etc. cleaned, the first picture shows as it should be. The second picture still shows as corrupted, but when opening the second link when using private browsing, it shows as it should be.
    [http://image.nettiauto.com/extra/carimg/4061201_4061300/volkswagen-kupla-4061252_b_4b724b54184c6d41.jpg Here's example of corrupted image]
    [http://h2.abload.de/img/103_pana-p1030763agkq.jpg Another example of corrupted image from different website]

  • Having trouble with Aperture images in a slideshow in iMovie

    I've searched for answers to this but can't seem to find out what I'm doing wrong....
    I'm trying to put together a slideshow in iMovie with my images from Aperture. They look horrible, color is way off and they're grainy. It was my understanding that iMovie uses the preview images from Aperture for making the movie so I have my settings in Aperture set to the best quality for previews. Is that right? Is there something else I should be doing?
    Thanks for any help.

    No, thats the right way I do it with my images. I use iMovie 09 and the preview size of my iLife previews are set to 1680 pixel. I do mostly some slideshows in iMovie for displaying on the web and for iPhone, so the output from iMovie will be most times at 480 pixel wide. The colors are fine and images look best as in Aperture.
    What I found sometimes is, some outwashed colors - unsaturated - after I export my movie from iMovie. This comes when I use other settings for exporting the movie than the presets for iPhone or Apple TV. The same behavoir did I recognize when exporting a movie from Final Cut Express or Keynote. This behavoir may be outdated in Snow Leopard, because Quicktime X should use Colormanagement the first time.

  • Having trouble saving edited images back to organizer.

    After I save images in Editor, they don't always "save".
    I get "IAC error failed message", and sometimes image doesn't save at all after numerous editing steps.
    Thanks in advance.

    If you start the process in iPhoto by hitting the edit button near bottom right, then any changes made in the external editor should update automatically after you save in Elements (Cmd+S) and close (Cmd+W)
    The process is not always smooth with raw files but should work with jpegs.
    Note, you cant use the editing tool in iPhoto once you set up Elements editor as the external editing app.
    See this Adobe tech note:
    http://kb2.adobe.com/cps/403/kb403605.html#main_Use_RAW_format_from_iPhoto_to_an_external_ image_editor_such_as_Photoshop_Elements_

  • Having trouble with spry image slide show

    Im new to dw and i inserted a image slide show into my index.htm file, it works fine when i preview it in dw cs5.5.  When I try it on a web browser I get a dialog box that says that the spry panel selector .js requires spry widget.js and continues thru several other dialog boxes until my website loads only to see my image slideshow as a list.  Im not sure if its in the code or the support files can anyone help?  I would greatly appreciate it if someone can set me on the right path with this, Thank you in advance.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Pats IGA Supermarket</title>
    <link href="main.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SprySliderPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFilmStrip.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryThumbnailFilmStripPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryTitleSliderPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryPanAndZoomPlugin.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
        background-color: #9D5F16;
    </style>
    <link href="Spry-UI-1.7/css/ImageSlideShow/basicFS/basic_fs.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    /* BeginOAWidget_Instance_2141543: #frontpageslideshow */
    #frontpageslideshow {
        width: 951px;
        margin: 0px 0px 0px 0px;
        border: solid 0px #aaaaaa;
        background-color: #FFFFFF;
        padding-top: 0px;
    #frontpageslideshow .ISSName {
        top: -24px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 18px;
        text-transform: uppercase;
        color: #AAAAAA;
    #frontpageslideshow .ISSSlideTitle {
        top: -18px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 12px;
        overflow: hidden;
        color: #AAAAAA;
        text-transform: none;
    #frontpageslideshow .ISSClip {
        height: 361px;
        margin: 0 0px 0px 0px;
        border: solid 0px #ffffff;
        background-color: #ffffff;
    #frontpageslideshow .ISSControls {
        top: 0px;
        height: 361px;
    #frontpageslideshow .FilmStrip {
        height: 0px;
        background-color: #CCCCCC;
    #frontpageslideshow .FilmStripPreviousButton, #frontpageslideshow .FilmStripNextButton {
        width: 10px;
        height: 0px;
    #frontpageslideshow .FilmStripTrack {
        height: 0px;
    #frontpageslideshow .FilmStripContainer {
        height: 0px;
    #frontpageslideshow .FilmStripPanel {
        height: 0px;
        padding-left: 10px;
        margin-right: 0px;
    #frontpageslideshow .FilmStripPanel .ISSSlideLink {
        margin-top: 10px;
        border: solid 1px #AAAAAA;
        background-color: #FFFFFF;
    #frontpageslideshow .FilmStripPanel .ISSSlideLinkRight {
        border: solid 1px #AAAAAA;
        width: 56px;
        height: 47px;
        margin: 4px 4px 4px 4px;
    #frontpageslideshow .FilmStripCurrentPanel .ISSSlideLink {
        background-color: #ffffff;
        border-color: #000000;
    #frontpageslideshow .FilmStripCurrentPanel .ISSSlideLinkRight {
        border-color: #AAAAAA;
    /* EndOAWidget_Instance_2141543 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141543" binding="#frontpageslideshow" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div class="container">
      <div class="header"><a href="index.html"><img src="images/logoimg.jpg" width="259" height="136" alt="logo" /></a><img src="images/topheader.jpg" width="701" height="136" alt="header_logo" /><!-- end .header --></div>
      <div class="content">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="#">Weekly Ad</a>      </li>
          <li><a href="#">Recepies</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">Entertaining</a>
            <ul>
              <li><a href="#">Bakery Brochure</a></li>
              <li><a href="#">Deli Platters</a></li>
              <li><a href="#">Catering Planner</a></li>
            </ul>
          </li>
          <li><a href="#">Pat's Best</a></li>
          <li><a href="#">Organics</a></li>
          <li><a href="#">Gift Cards</a>      </li>
          <li><a href="#" class="MenuBarItemSubmenu">Departments</a>
            <ul>
              <li><a href="#">Meats</a></li>
              <li><a href="#">Deli</a></li>
              <li><a href="#">Prepared Foods</a></li>
              <li><a href="#">Seafood</a></li>
              <li><a href="#">Produce</a></li>
              <li><a href="#">Bakery</a></li>
            </ul>
          </li>
        </ul>
        <p> </p>
        <ul id="frontpageslideshow" title="">
          <li><a href="images/fall.jpg" title=""><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-1.jpg" alt="fall.jpg" /></a></li>
          <li><a href="images/apples.jpg" title=""><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-10.jpg" alt="apples.jpg" /></a></li>
          <li><a href="images/applepie.jpg" title=""><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-11.jpg" alt="applepie.jpg" /></a></li>
          <li><a href="images/pumpkinsoup.jpg" title=""><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-12.jpg" alt="pumpkinsoup.jpg" /></a></li>
          <li><a href="images/roast.jpg" title="r"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-13.jpg" alt="roast.jpg" /></a></li>
        </ul>
        <script type="text/javascript">
    // BeginOAWidget_Instance_2141543: #frontpageslideshow
    var frontpageslideshow = new Spry.Widget.ImageSlideShow("#frontpageslideshow", {
        widgetID: "frontpageslideshow",
        widgetClass: "BasicSlideShowFS",
        injectionType: "replace",
        autoPlay: true,
        displayInterval: 4500,
        transitionDuration: 2000,
        componentOrder: ["name", "title", "view", "controls", "links"],
        sliceMap: { BasicSlideShowFS: "3slice", ISSSlideLink: "3slice" },
        plugIns: [ Spry.Widget.ImageSlideShow.ThumbnailFilmStripPlugin ],
        TFSP: { pageIncrement: 4, wraparound: true }
    // EndOAWidget_Instance_2141543
        </script>
    Since this is a one-column layout, the .content is not floated.
        Logo Replacement
        An image placeholder was used in this layout in the .header where you'll likely want to place  a logo. It is recommended that you remove the placeholder and replace it with your own linked logo.
        Be aware that if you use the Property inspector to navigate to your logo image using the SRC field (instead of removing and replacing the placeholder), you should remove the inline background and display properties. These inline styles are only used to make the logo placeholder show up in browsers for demonstration purposes.    To remove the inline styles, make sure your CSS Styles panel is set to Current. Select the image, and in the Properties pane of the CSS Styles panel, right click and delete the display and background properties. (Of course, you can always go directly into the code and delete the inline styles from the image or placeholder there.) <!-- end .content --></div>
      <div class="footer">
        <p>About us  Other Services Employment Contacy us Terms of use Privacy Policy</p>
        <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

    Your spry assets folder MUST be in the same folder as that of your webpage with the slideshow (html, php... whatever)
    Check your folder configuration on the server by clicking on the "Remote Button" on the DW Assets Tab.
    Example 1:  This will not work:
    WEBPAGE HERE:    /server/public/myfolder/slideshow.html
    SPRY ASSETS HERE:  /server/public/SpryAssets/....your javascript files
    Example 2: This will work:
    WEB PAGE HERE:  /server/public/myfolder/slideshow.html
    SPRY ASSETS HERE:  /server/public/myfolder/SpryAssets/....your javascript files
    Hope this helps.

  • HT5129 I am having trouble downloading  the images, It locks up during down loading.

    Nice Idea, wish you could down load one album or several albums as a time, I have been trying to down load my images and the system keeps hanging up,
    I have about 200 albums and 20,000 images.   It appears the down load begins by setting up each folder and then downloading images form each folder one at a time.  I wonder if it gets hung up on videos in a folder or larger images.  I found this out after several failures and looking in the trash where all the albums were listed with only one to two images in each folder and the computer was locked up in a loop.  Hope they can fix it.
    A great idea, wish I had it earlier.

    "itunes did not download properly; please reinstal."
    What's the precise text of that message, please? (There's a few different ones I can think of that you might be getting.)

  • I'm having trouble with saving images to contacts

    When I go into edit a contact and choose an image from my camera roll, it saves ok and I press done. Then the next time that person calls their image doesn't come up. When I go back into their contact, their image is gone. Is there any reason why the images wouldn't be saving correctly? Any help greatly appreciated.

    I am also having this same issue. I've had the problem both with Lion and now Lountain Lion. It's very frustrating. I'm using iCloud to sync contacts so I'm not sure if that is the problem.

  • Having trouble inserting my images

    Hello! I need to find a solution to this problem as soon as possible, because I'm working on my website design final that's due next Monday (12/08/2014).
    I am having a really difficult time inserting my images. I don't understand why, that's something that should be the easiest thing to do. Whenever I insert an
    image, it appears larger than it should. I've updated my software, and now I don't know how to scale the image.  Whenever I scaled it before, it would always
    squish it.
    So if anyone knows Anything, I would really appreciate any help I can get.
    Thank you!

    I pasted both of the codes for HTML and CSS below. It'll be a miracle if anyone can find a solution. I've been at this for days and I haven't gotten anywhere. I've
    compared the code below with the code used in previous assignments, and I've reviewed it numerous times.. I can't find anything.
    So, good luck!
    And thanks for the help!
    HTML:
    <!doctype html>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="content" class="fluid"><img src="assets/banner-france.jpg" alt="Banner" class="header_div"/>
    <div class="fluid intro_paragraph">
      <p>
      <nav class="fluid menu_bar">
           <ul>
             <li><a href="index.html">Home</a></li>
             <li><a href="things_to_do.html">Things to Do</a></li>
             <li><a href="events.html">Events</a></li>
             <li><a href="accomodation.html">Accomodations</a></li>
             <li><a href="food_and_wine.html">Food and Wine</a></li>
           </ul>
      </nav>
      <h1>The Top Five Things to do in France</h1>
      <p>France is, without a doubt, one of the most fascinating countries in Europe. Every little corner of the country is worth visiting, regardless of season. Listed below are the top five places you will want to see when you visit France.</p>
      <h3>#1 Visit the Eiffel Tower</h3>
      <img src="assets/eiffel-tower.jpg" alt="Eiffel Tower" class="img_float"/>
    <p>The Eiffel Tower was designed by one of France's greatest 19th century engineers, Gustave Eiffel. It was built in commemoration of the French Revolution. The structure took more than two years to complete. It is built of about 12,000 iron pieces, all of which were designed separately to give them the exact shape they needed. The Eiffel Tower welcomes more visiters than any other paid monument in the world, estimating to 7 million a year. The tower has three levels, and there are restaurants on the first and second.</p>
      <p>If you want to plan your visit to the Eiffel Tower, <a href="http://www.viator.com/Paris-attractions/Eiffel-Tower-tours-tickets/d479-a89">click here</a>.</p>
      <h3>#2 Visit the Louvre Museum</h3>
      <img src="assets/paris_attractions2.jpeg" alt="The Louvre Museum" class="img_float"/>
      <p>The Louvre Museum is one of the largest and most important museums in the world. The museum has a collection of over one million works of art - 35,000 of which are on display, spread out over three wings of the former palace. Some of the most famous works of art in the Louvre Museum are the Venus of Milo, the Nike of Samothrake, the Dying Slave by Michelangelo, and of course Leonardo da Vinci's Mona Lisa. </p>
      <p>If you want to plan your visit to the Louvre Museum, <a href="http://www.louvre.fr/en">click here</a>.</p>
      <h3>#3 Visit the Catacombs</h3>
      <img src="assets/catacombs2.jpg" alt="Catacombs" class="img_float"/>
    <p>The Paris Catacombs holds the remains of some six million Parisians, whose bones were transferred from unhygienic and overcrowded cemeteries between the late eighteenth and mid nineteenth centuries. </p>
    </div>
    </div>
    <div class="fluid footer_div"><span class="small_text">Copyright 2002 - 2016<br>
    Last updated on
        <!-- #BeginDate format:Am1 -->December 3, 2014<!-- #EndDate -->
    </span></div>
    </div>
    </body>
    </html>
    CSS:
    @charset "utf-8";
    /* Simple fluid media
       Note: Fluid media requires that you remove the media's height and width attributes from the HTML
       http://www.alistapart.com/articles/fluid-images/
    img, object, embed, video {
      max-width: 100%;
    /* IE 6 does not support max-width so default to width 100% */
    .ie6 img {
      width:100%;
      Dreamweaver Fluid Grid Properties
      dw-num-cols-mobile: 4;
      dw-num-cols-tablet: 8;
      dw-num-cols-desktop: 12;
      dw-gutter-percentage: 25;
      Inspiration from "Responsive Web Design" by Ethan Marcotte
      http://www.alistapart.com/articles/responsive-web-design
      and Golden Grid System by Joni Korpi
      http://goldengridsystem.com/
    .fluid {
      clear: both;
      margin-left: 0;
      width: 100%;
      float: left;
      display: block;
      background-color: #FFFFFF;
    .fluidList {
        list-style:none;
        list-style-image:none;
        margin:0;
        padding:0;       
    /* Mobile Layout: 480px and below. */
    .gridContainer {
      margin-left: auto;
      margin-right: auto;
      width: 86.45%;
      padding-left: 2.275%;
      padding-right: 2.275%;
      clear: none;
      float: none;
    .header_div {
      height: 150px;
      margin-top: 10px;
      background-image: url(assets/banner-france.jpg);
    .nav_div {
      width: 30%;
      float: left;
      border-top-width: thin;
      border-top-style: solid;
      border-right-width: thin;
      border-right-style: solid;
      border-left-style: solid;
      border-left-width: thin;
      text-indent: 3px;
    .nav_ul {
      width: 100%;
      background-color: #A1D7E5;
      list-style-type: none;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
      margin-left: 0;
    .fluid.nav_div .fluid.fluidList.nav_ul li {
      border-bottom: thin solid #211E1E;
    .intro_paragraph {
      width: 100%;
      float: none;
      clear: none;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    .paragraph_text {
      width: 50%;
      display: block;
      float: right;
      vertical-align: top;
      clear: right;
    .footer_div {
      text-align: center;
      font-size: small;
      background-color: #D3C08C;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
      margin-top: 10px;
    .img_div {
      margin-top: 10px;
      text-align: center;
    .list_headings {
      color: #000033;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
      font-weight: bold;
      font-size: large;
    h1 {
      /* [disabled]font-family: source-sans-pro; */
      font-size: x-large;
      /* [disabled]font-style: normal; */
      /* [disabled]font-weight: 200; */
    h2 {
      font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-size: large;
    h3 {
      font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    .img_float {
      float: none;
      border: thin solid #312E2E;
    .img_float_right {
      margin-top: 10px;
      margin-right: 10px;
      margin-bottom: 10px;
      margin-left: 10px;
      float: none;
      border: thin solid #312E2E;
    .img_float_right {
      margin-top: 10px;
      margin-right: 10px;
      margin-bottom: 10px;
      margin-left: 10px;
      float: right;
      border: thin solid #272525;
      background-color: #FFFFFF;
    .menu_bar {
      text-align: center;
      background-color: #DDC88E;
      width: 100%;
      margin-right: 0px;
      text-decoration: none;
      padding-top: 0px;
      padding-right: 0px;
      padding-bottom: 0px;
      padding-left: 0px;
      right: 0px;
    .insert_logo {
      height: 0px;
      width: 983px;
      display: inline;
      margin-top: 10px;
      float: left;
    ul li a {
      width: 100%;
      text-decoration: none;
      padding-left: 4%;
      padding-right: 4%;
    li {
      display: inline;
    ul li a:hover {
      color: #0025FF;
      background-color: #AF913F;

  • Having trouble making background image editable in template

    Hello this is my first time so here goes...
    I would like to make a template from a page I have created,
    the trouble is the background image is url background image placed
    in css with text over the image, the problem I have is on further
    pages I would like to keep same divs
    but would like the freedom to change text and bground image.
    I have tried to make text an editable region which works and
    bground image make attribute editable but I do not really
    understand how this works any ideas would be much appreciated here
    is my site address
    http://www.andysite.prohost4u.co.uk
    cheers

    I'm confused, I dont see that you have a background image in
    your css.
    "WILLO THE WISP" <[email protected]> wrote
    in message
    news:[email protected]...
    >
    Hello this is my first time so here goes...
    > I would like to make a template from a page I have
    created, the trouble is
    > the
    > background image is url background image placed in css
    with text over the
    > image, the problem I have is on further pages I would
    like to keep same
    > divs
    > but would like the freedom to change text and bground
    image. I have tried
    > to
    > make text an editable region which works and bground
    image make attribute
    > editable but I do not really understand how this works
    any ideas would be
    > much
    > appreciated here is my site address
    http://www.andysite.prohost4u.co.uk
    > cheers
    >
    >
    > Here is my css
    > * {
    > margin : 0 auto;
    > padding : 0;
    > }
    > body {
    > background-color : #ffffff;
    > text-align : center;
    > font-family : "Square721 BT", "Staccato222 BT", Courier;
    > font-size : 100%;
    > background-position : center center;
    > }
    > #container {
    > font-family : "Square721 BT", "Staccato222 BT", Courier;
    > background-color : #ffffff;
    > width : 780px;
    > }
    > #header {
    > width : 780px;
    > height : 280px;
    > margin-top : 10px;
    > margin-bottom : 10px;
    > }
    > #content {
    > background-image: url(images/content_bground.gif);
    > float: left;
    > height: 400px;
    > width: 430px;
    > }
    > #content h1 {
    > font-size : 115%;
    > width : 390px;
    > color : #00ccff;
    > text-align : left;
    > padding-left : 60px;
    > padding-top : 40px;
    > padding-bottom : 10px;
    > }
    > #content p {
    > font-size : 80%;
    > width : 310px;
    > text-align : justify;
    > text-indent : 20px;
    > color : #66FFFF;
    > }
    > #content h2 {
    > font-size : 80%;
    > width : 420px;
    > color : #00ccff;
    > text-align : left;
    > padding-left : 60px;
    > height : 70px;
    > padding-top : 10px;
    > }
    > #sidebar {
    > background-image : url(images/sidebar_bground.gif);
    > width : 340px;
    > height : 400px;
    > float : right;
    > }
    > #sidebar ul {
    > font-size : 60%;
    > line-height : 22px;
    > list-style-image : url(images/bullet.gif);
    > list-style-position : outside;
    > text-align : left;
    > color : #66FFFF;
    > padding-top : 45px;
    > padding-left : 62px;
    > }
    >
    > #clear {
    > clear : both;
    > }
    > #footer {
    > background-image : url(images/footer_bground.gif);
    > width : 780px;
    > height : 80px;
    > margin-bottom : 10px;
    > margin-top : 10px;
    > position: fixed;
    > }
    > #footer p {
    > text-align : center;
    > font-size : 75%;
    > color : #66ffff;
    > padding-top : 24px;
    > }
    > #footer ul {
    > margin : 2px;
    > }
    > #footer li {
    > display : inline;
    > margin : 0;
    > }
    > #footer a:link, #footer a:visited {
    > color : #00ccff;
    > margin : 2px;
    > }
    > #footer a:hover, #footer a:active {
    > color : #00FFFF;
    > text-decoration : none;
    > background-color : #33cccc;
    > }
    > a:link {
    > color : #00ccff;
    > text-decoration : none;
    > }
    >
    > a:visited {
    > text-decoration : none;
    > color: #00CCFF;
    > }
    > a:hover {
    > text-decoration : underline;
    > color: #00FFFF;
    > }
    > a:active {
    > text-decoration : none;
    > color: #006699;
    > }
    >

Maybe you are looking for

  • Opening new web page using servlet and jasper report. ?

    Hello, I am developing one small web application and implementing jasper report in it. I am using jasper report with servlet. Which is generating one pdf file and displaying in same browser. But I want to open this report in new browser. Which is onl

  • Error 150 30 - After Effects

    Hi, I just reinstalled Lion onto my old MacBook and restored the back-up from my new MacBook (which I'm sending back and swapping for an iMac). Although now when I try and open After Effects CS4 I get the following error: 150 30. Naturally I googled

  • Stacked bar chart errors

    I am creating a stacked bar chart and put a max row count of 50, but the graph actually shows more than 50. After the 50 data points, all of the rest of the dates along the x axis are out of order. Is there another location i also need to enforce thi

  • How to disable shortcut keys not listed in the keyboard shortcuts system

    Hi all As a Graphic Designer I find the shortcut Shift+F12 amazingly irritating when using QuarkXpress, as this is the key command for editing the colours list. For those of you who don't know this shortcut works exactly the same as F12 (Hide/Show da

  • I have bought a CD. It contain some files in it. But it can only be open on window.

    Ive bought a CD that contain some files. I need to use it. But the files can only be open on window. Im using macbook air. So what shout I do? Must I install the window software?if its a must,what software I must install?