Trouble with disappearing image in table --

This is totally weird and I can't figure out why it's
happening.
I'm new to DW8, although I have used a much older version of
DW a lot.
No matter how I create the header for
http://www.amafca.org/convertedindex.htm,
the very top banner image is getting stripped when I put the page
online for testing.
Currently, I'm using a table, where the img src is correctly
listed as table data for that cell. Test perfectly locally. Then I
use ACE FTP 3 to upload the page to the website for testing. All
the graphics are where they are supposed to be. BUT...the top
portion of the banner isn't showing up! Looking at the source code,
the "img src" link for that cell is totally empty -- the code has
been stripped from the page!!!!!
How is that possible? Is ACE FTP doing it? How and why? (I've
never even heard of an ftp program stripping out code!!!)
I suppose I need to just go ahead and wade through getting
the DW ftp set up so I can use it for this test page, and see if
the info is still being stripped. But has anyone heard of this sort
of thing happening before?
Thanks
Pam at amafca

The only way the code could disappear is if your antivirus
strips it out.
When I browse to your link, I think I see all of the images.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"patinven" <[email protected]> wrote in
message
news:ecct1l$3dt$[email protected]..
>I have the same problem over here. Images in a table will
not display
>anymore
> from my PC. On other PC's (tested 1) the images display
correctly. When I
> look
> at the source code (from within IE) of the uploaded file
>
http://www.copacabanapromotie.com/nl_lin.htm
) the <img src> definitions
> have
> all disappeared. The file displays OK in local view, and
the <img src>
> definitions are there.
> However in my case the image files do not have "strange"
names, I do not
> run
> Norton, and turning off my virus checker and/or firewall
does not help
> either.
> Any ideas?
>

Similar Messages

  • Trouble with opening images from dreamweaver cs6(64bit) to photoshop cs6(64bit).

    Hi guys i need help! I have trouble with opening images from dreamweaver cs6(64bit) to photoshop cs6(64bit). I uninstalled and went to preferences/file types editors to set up ps6 as primary but I still get some error.After i click image in dreamweaver,I get this message-Unable to launch...Please be sure that application exists and that there is enough memory to run it..

    Can you Launch Photoshop normally from your desktop shortcuts?
    I usually keep DW and PS open at all times so I can switch back & forth.
    Nancy O.

  • Trouble with "body" images lining up at the top

    Hi, I am having troubles with the #body style in my web page. I have inserted a table into the #body area and the the body editable region will not line up on the top with the sideBar editable region when I add text and apply my css to it. Can you look at the code and let me know what I am doing wrong? Thanks!
    <!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" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Ram Restaurant &amp; Brewery</title>
    <!-- TemplateEndEditable -->
    <meta name="keywords" content="Ram Restaurant, The Ram restaurant, Ram Restaurant and brewpub, Ram Restaurant Group, Ram International" />
    <meta name="description" content="Welcome to The Ram!  Your stomach wants food.  Your tastebuds want beer.  Satisfy them both at the Ram Restaurant & Brewery." />
    <style type="text/css">
    <!--
    body {
    background-color: #333;
    margin: 0 auto;
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px;
    .navbar_center {
    text-align: center;
    -->
    </style>
    <link href="/RamWebsite_NEW/cssstyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    color: #F00;
    margin: 0px;
    padding: 0px;
    a:link {
    color: #666;
    text-decoration: none;
    h1 {
    font-size: 36px;
    color: #000;
    h2 {
    font-size: 24px;
    color: #000;
    h3 {
    font-size: 18px;
    color: #000;
    h4 {
    font-size: 12px;
    color: #000;
    a:visited {
    text-decoration: none;
    color: #000;
    a:hover {
    text-decoration: underline;
    a:active {
    text-decoration: none;
    -->
    </style>
    <!--[if lte IE 8]>
    <style type="text/css">
    ul.MenuBarHorizontalul  li ul li ul li.MenuBarHorizontal, ul.MenuBarHorizontal li ul li.MenuBarHorizontal {
    width:100px;
    height:23px;
    </style>
    <![endif]-->
    <script src="/RamWebsite_NEW/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <link href="/RamWebsite_NEW/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body link="#000000" topmargin="0" onload="MM_preloadImages('/RamWebsite_NEW/images/Menu_rollover.jpg','/RamWebsite_NEW/imag es/EventsLink2_rollover.jpg','/RamWebsite_NEW/images/GiftCards_rollover.jpg','/RamWebsite_ NEW/images/BeerLink2_rollover.jpg')">
    <div id="wrapper">
    <div id="header">
        <table width="900" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="200" height="36" rowspan="2" align="center" valign="middle" scope="col"><a href="http://www.theram.com"><img src="/RamWebsite_NEW/images/Ram-Logo-red.gif" alt="Ram Restaurant &amp; Brewery Logo" width="175" height="69" border="0" /></a></th>
            <th width="350" height="50" align="center" valign="middle" scope="col"> </th>
            <th width="200" align="center" valign="middle" scope="col"> </th>
            <th width="150" align="right" valign="middle" scope="col"><a href="http://www.facebook.com/home.php?#!/theramrestaurant?ref=ts"><img src="/RamWebsite_NEW/images/FacebookBox.gif" alt="Becoma a Facebook Fan!" width="40" height="40" border="0" /></a><a href="http://www.twitter.com/theram"><img src="/RamWebsite_NEW/images/TwitterBox.gif" alt="Follow Us on Twitter" width="40" height="40" hspace="30" border="0" /></a></th>
          </tr>
          <tr>
            <th colspan="3" align="right" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
              <li><a class="MenuBarItemSubmenu" href="#">MENU</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">Idaho</a>
                    <ul>
                      <li><a href="/menus/idaho/boise.shtml">Boise</a></li>
                      <li><a href="/menus/idaho/meridian.shtml">Meridian</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Illinois</a>
                    <ul>
                      <li><a href="/menus/illinois/rosemont.shtml">Rosemont</a></li>
                      <li><a href="/menus/illinois/schaumburg.shtml">Schaumburg</a></li>
                      <li><a href="/menus/illinois/wheeling.shtml">Wheeling</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Indiana</a>
                    <ul>
                      <li><a href="/menus/indiana/fishers.shtml">Fishers</a></li>
                      <li><a href="/menus/indiana/indianapolis.shtml">Indianapolis</a></li>
    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Oregon</a>
                    <ul>
                      <li><a href="/menus/oregon/clackamas.shtml">Clackamas</a></li>
                      <li><a href="/menus/oregon/salem.shtml">Salem</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Washington</a>
                    <ul>
                      <li><a href="/menus/washington/kent.shtml">Kent</a></li>
                      <li><a href="/menus/washington/lacey.shtml">Lacey</a></li>
                      <li><a href="/menus/washington/lakewood.shtml">Lakewood</a></li>
                      <li><a href="/menus/washington/puyallup.shtml">Puyallup South Hill Mall</a></li>
                      <li><a href="/menus/washington/puyallup2.shtml">Puyallup Sunrise Village</a></li>
                      <li><a href="/menus/washington/northgate.shtml">Seattle Northgate</a></li>
                      <li><a href="/menus/washington/seattle.shtml">Seattle University Village</a></li>
                      <li><a href="/menus/washington/tacoma.shtml">Tacoma</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">LOCATIONS</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">Idaho</a>
                    <ul>
                      <li><a href="/idaho/boiseNew.html">Boise</a></li>
                      <li><a href="/idaho/meridianNew.html">Meridian</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Illinois</a>
                    <ul>
                      <li><a href="/illinois/rosemontNew.html">Rosemont</a></li>
                      <li><a href="/illinois/schaumburgNew.html">Schaumburg</a></li>
                      <li><a href="/illinois/wheelingNew.html">Wheeling</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Indiana</a>
                    <ul>
                      <li><a href="/indiana/fishersNew.html">Fishers</a></li>
                      <li><a href="/indiana/indianapolisNew.html">Indianapolis</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Oregon</a>
                    <ul>
                      <li><a href="/oregon/clackamasNew.html">Clackamas</a></li>
                      <li><a href="/oregon/salemNew.html">Salem</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Washington</a>
                    <ul>
                      <li><a href="/washington/kentNew.html">Kent</a></li>
                      <li><a href="/washington/laceyNew.html">Lacey</a></li>
                      <li><a href="/washington/lakewoodNew.html">Lakewood</a></li>
                      <li><a href="/washington/puyallup-southHill-NEW.html">Puyallup South Hill Mall</a></li>
                      <li><a href="/washington/puyallup-Sunrise-New.html">Puyallup Sunrise Village</a></li>
                      <li><a href="/washington/northgateNew.html">Seattle Northgate</a></li>
                      <li><a href="/washington/seattleNew.html">Seattle University Village</a></li>
                      <li><a href="/washington/tacomaNew.html">Tacoma</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a class="MenuBarItemSubmenu" href="#">PROMOS</a>
                <ul>
                  <li><a href="/drink_specials.shtml">Drink Promos</a>              </li>
                  <li><a href="/food_specials.shtml">Food Promos</a></li>
    </ul>
              </li>
              <li><a href="/news.shtml">RAM NEWS</a></li>
              <li><a href="/about.shtml">ABOUT US</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">CONTACT US</a>
                <ul>
                  <li><a href="/contact.shtml">General Info</a></li>
                  <li><a href="/employment.shtml">Careers</a></li>
                  <li><a href="/comments.shtml">Comments</a></li>
                </ul>
              </li>
              <li><a href="/banquets.shtml" class="MenuBarItemSubmenu">BANQUETS</a>
                <ul>
                  <li><a href="/banquets.shtml">Banquets</a></li>
                  <li><a href="/banquets-catering.shtml">Off-Site Catering</a></li>
                </ul>
              </li>
            </ul></th>
          </tr>
          <tr>
            <th colspan="4" align="center" valign="middle" scope="col"><img src="/RamWebsite_NEW/images/redbar.gif" width="900" height="11" /></th>
          </tr>
        </table>
    </div>
    <div id="body">
      <table width="900" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <th height="300" valign="top" scope="col"><table width="900" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th width="225" align="center" valign="top" bgcolor="#000000" scope="col"><!-- TemplateBeginEditable name="sideBar" -->adfadsfds<!-- TemplateEndEditable --></th>
              <th width="675" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><!-- TemplateBeginEditable name="body" -->
                <p><img src="/images/aboutus2.jpg" width="675" height="300" /></p>
                <p class="foodNameDesc">adfadslkj</p>
              <!-- TemplateEndEditable --></th>
            </tr>
          </table></th>
        </tr>
      </table>
    </div>
    <div id="bottomMenuSubPg">
      <table width="900" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Menu','','/RamWebsite_NEW/images/Menu_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/Menu.jpg" alt="Menu" name="Menu" width="212" height="125" hspace="6" border="0" id="Menu" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Big Horn Beer','','/RamWebsite_NEW/images/BeerLink2_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/BeerLink2.jpg" alt="Big Horn Beer" name="Big Horn Beer" width="212" height="125" hspace="6" border="0" id="Big Horn Beer" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Events','','/RamWebsite_NEW/images/EventsLink2_rollover.jpg',1 )"><img src="/RamWebsite_NEW/images/EventsLink2.jpg" alt="Events at the Ram" name="Events" width="212" height="125" hspace="6" border="0" id="Events" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gift Cards','','/RamWebsite_NEW/images/GiftCards_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/GiftCards.jpg" alt="Gift Cards" name="Gift Cards" width="212" height="125" hspace="6" border="0" id="Gift Cards" /></a></th>
        </tr>
      </table>
    </div>
    <div id="bottommenu2"></div>
    <map name="Map" id="Map">
      <area shape="poly" coords="16,103" href="#" />
      <area shape="poly" coords="49,71,102,58,158,73,191,113,180,141,151,161,109,169,65,162,31,141,18,112" href="http://theram.fbmta.com/members/UpdateProfile.aspx?Action=Subscribe&amp;InputSource=W" target="_blank" />
    </map>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"/RamWebsite_NEW/SpryAssets/SpryMenuBarDownHover.gif", imgRight:"/RamWebsite_NEW/SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </div>
    </body>
    </html>

    You have your image in the 'body editable region' wrapped in <p></p> tags (paragraph tags). <p> tags have padding and margin set on them by default.
    <p><img src="/images/aboutus2.jpg" width="675" height="300" /></p>
    You can either just remove the <p></p> tags or you can zero out the padding and margin:
    p {
    padding: 0;
    margin: 0;
    Unfortuanately the above will target every paragraph on your page which might not be desirable so I would just remove the <p> tags as it is not necessary to wrap an image in them.
    If you do want to keep the <p> tags then use some inline css to specifically remove the padding and margin on that particular one:
    <p style="padding: 0; margin: 0;"><img src="/images/aboutus2.jpg" width="675" height="300" /></p>

  • Trouble with rollover image in div

    Hello there,
    I am having some trouble with the following.
    I want to create a rollover image 90 pxl x 90 pxl and put it inside a div 90 pxl x 90 pxl.
    The div is inside other divs and makes up a kind of a table. I checked that all the div and image sizes are the same but when I place the cursor inside the div and select 'insert rollover image', my images are all squashed up and don't appear normal size. Very odd.
    Here is some of my code:
    CSS of div (I want to put my image inside smallBox01a)
    #Header #rightColumn #smallBox01 {
        height: 90px;
        width: 270px;
    #Header #rightColumn #smallBox01 #smallBox01a {
        float: left;
        height: 90px;
        width: 90px;
    HTML
          <div id="smallBox01a"><a href="tobi.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tobi','','Images/TobiOver.jpg',1)"><img src="Images/TobiOff.jpg" alt="Tobi" name="tobi" width="90" height="90" border="0" id="tobi" /></a></div>
    Poor old Tobi cat's face is all squashed up. Any idea what is going wrong? I don't have any padding within the div either.
    Thanks!
    PS I also should add that when I tried to simply add in one of the Tobi images instead of the rollover image, it appeared perfectly fine within the div. It is only the rollover that is getting vertically squashed up.

    So, I've been playing around with your page in dreamweaver and I put a <div> container around your entire web page and then set the width to 1200px. That contained all the contents so that when you re-size the web page the contents don't colapse.
    Not sure if that's what Murray or Nancy mean and am curious if their is a better way.
    That would work although 1200px is too wide.  Something along the lines of 1000px would be better, since you want the page to display in a maximized browser viewport on a 1024 screen without dropping horizontal scrollbars.  I still use 960px as a maximum width....
    Re the centering of the page: Good question I would like to know how to do it "properly"
    In the CSS body rule I put:  margin-left: 20%;
                                                margin-right: 20%;
    Again, I'm not sure if that's the correct way to center the page, and would like to know a better way.
    It's not the best way to do this, which would be to use a fixed width container (as you have done) and just assign it left/right margin settings of 'auto', e.g.,
    #container { width:960px; margin:0 auto; }
    You can center *any* block element within its container with this method.

  • 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..........

  • 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.

  • Trouble with adding images from database

    So I have created this nice little table and want to populate it with an test row and I cant seam to get it to work. I have neber delt with BLOB before and maybe its with that. Well here is the sql code that I am using
    CREATE TABLE Product (name VARCHAR2 (60), price INTEGER,discrip VARCHAR2(100),photo BLOB, quantity INTEGER)
    INSERT INTO Product VALUES ('Inuyasha Final Act', 39.52, 'Join Inuyasha and Kagome as they continue their quest to find the jewel of the four souls and defeat Naraku.', 'INUFinalAct.JPG');
    Did I not put in the images right? how should I load this into the database?
    It creates the table nice and dandy, but it will not populate the table at all. What am I doing wrong here?
    Thanks for any help

    850673 wrote:
    Thanks for the advice I went and changed thing around a bit
    CREATE TABLE Product (name VARCHAR2 (60), price INTEGER,discrip VARCHAR2(500),photo BLOB, quantity INTEGER);
    INSERT INTO Product(name, price,discrip,photo, quantity )
    VALUES ('Inuyasha Final Act', 39.52, 'Join Inuyasha and Kagome as they continue their quest to find the jewel of the four souls and defeat Naraku.', 'INUFinalAct.JPG', 15);
    This seams to have no SQL error, but when I try to put it into the oracle server, it gave this problem
    ERROR at line 2:
    ORA-01465: invalid hex number
    Is this because it does not know where the image is? If that is so how do I get it to know where the image is?It's worse than that... Oracle doesn't even know it's an image.
    All Oracle knows is that you have a column of BLOB datatype, which can be used for storing any type of binary data, not just images, and you are trying to insert something of datatype VARCHAR2 into it (a string with some characters in). That string may be the name of the image to you, but to Oracle it's just a string.
    Follow hoek's link for good examples of how to do it, as it involves you using other functionality first to read the binary file from the file system into a BLOB variable, before you then insert that BLOB variable into your table.

  • I am having trouble with .pdf image

    When I want to print a bill online that I have received, I only get half of the image of the bill on the right-hand side and on the left-hand side, I get a picture or image of my e-mail program with personal folder names. I don't want the e-mail image at all.
    How can I straighten out this problem.
    My O/S is Windows 7, 64-bit, 8 gb
    Thank you.
    Respectfully yours,
    Mimi Mansky
    [email protected]

         Inserting this image on behalf of Mimi because she was facing problem doing that
    Adobe Reader X 10.1.1012
    OS: Windows 7, 64-bit, 8 GB.

  • Trouble with passing values into table !

    Well my problem seems to be very small but have tried a lot of books and e-books to get a possible solution, but all in vain.
    The problem is I have a table, lets say 'tab', which has a varchar2 column, lets say 'col'.
    I want to be able to make an insert into this 'col' column of the table 'tab'.
    Simple inserts with all symbols work fine. But when I run the following insert, it fails.....
    insert into tab
    values('abcn&def');
    Assume the table tab has a single column 'col' of varchar2 datatype. When I run the insert statement it prompts a value. Is there anyway I can store '&' as a part of the data?

    In SQL*Plus ampersand character (&) is the default character to identify a parameter.
    Either use set define off or set define to a different character.
    SQL > set define off
    --- this will turn off & as the input parameter definition charatcer
    or use
    SQL > set define *
    -- this will set * as the input parameter definition charatcer instead of &
    Shakti
    (http://www.impact-sol.com)
    (Developers of Guggi Oracle)

  • Trouble with the image quality when viewing under 100%. First time posting on the forum.

    Hello everyone. I am sorry we have the get acquainted this way but I am having some issues and this is one of my last options of getting help.   Allow me to explain the problem.    When viewing a file under 100% zoom, everything looks jagged like the anti aliasing is missing.  Once I zoom in to 100%, everything looks the way it should. The saved file ( jpeg format for instance) is okay. I can zoom out and it still looks true to the image. The problem is related to photoshop. I installed my latest GPU drivers twice just to be sure and it was not from that.   This problem started last night and I don`t quite know how to solve it.  If I work on small resolution images, it isn`t such a bad problem because I will be working on 100% zoom, but I am working on high resolution images/ paintings. Somewhere around 8000x5000 pixels thus, working at 100% is not that doable. I attached an image that shows this issue. The one on the right is the zoomed out version and the one on the left is the zoomed in version.  Yes, the noise is affected by this, badly, but this started last night. up until then everything looked good even with noise or an out of this world sharpness. I can`t imagine what I could have done to trigger this.
       This being said, I am at the mercy of the more knowledgeable folks from around here. I do hope I posted this question in the right section. This is my first post here so sorry if I messed something up.   Looking forward to your replies.

    Here is a simplistic view that I feel may help you understand reality.
    The only time you're looking at your image pixels in Photoshop is when you're zoomed in to 100%,   There your look at the actual image pixels Photoshop has for your image at your displays resolution.
    At any other zoom level you are looking a scaled image that  has more or less pixels than your actual image these too are displayed at your display resolution.
    The scaling done by Photoshop is done for displaying your image is done for good performance not for the best image quality a quick interpolation.   Therefore at some zoom levels image quality looks poorer  than at other zoom levels.
    High resolution Display have now add a new wrinkle.   User interfaces were designed for displays  with resolutions around 100 PPI elements like text, icon, and other things like checkboxes, buttons etc. were created so there size would be useable are this more or less fixed 100 PPI resolution.   While Photoshop was designed to scale your images so you can work well on it is was not designed with a scalable UI.  Photoshop can not scale its user interface independently from its image display display window for you displays high resolution.  Photoshop's Image display area has the same resolution as the rest of Photoshop User Interface.  Just like there is only one resolution in all layers in a document. CC 2014 2xUI changes that.  PS UI is scaled to 1/2 resolution the image Area is at the displays actual resolution.
    Photoshop CC 2014 2x UI scales all of Photoshop User Interface including the image display to 200% which is 1/2 your display resolution effectively cutting you display pixel count to 1/4 its actual pixel count.   Your once again running on a low resolution display.     If your display has a native resolution  200 PPI you're running it at 100 ppi if your display has a 300 PPI resolution  you're running it at 150ppi.    Which defeats the reason of having high resolution.  Which is you would like to be able to edit your images at print resolution.  Adobe cc2x UI scales the UI but not the image window soa inage is 216ppi on the Surface Pro 3 the UI is large and dpoes not fit. screen
    To be able to edit your images at print resolution  you need a display the has a print resolution and you need and application the can scale its image display  and its UI independently.
    Current there is no OS interface for having multiple resolutions areas on  a display  and applications like Photoshop can not scale UI and Image independently.  OS and Photoshop can scale what is displayed.  Adobe Photoshop executable is coded in a way that it tell Microsoft Windows OS that it will handle display scaling so it can using your displays native resolution.  Currently Only  Photoshop CC 2014  Provides you with the option of running you display at half resolution.
    Windows can scale you display to many resolution and as several presets.  like 100%, 125%, 150% and like Adobe 200% half resolution.    You can make a Windows Registry and add an External Photoshop  Manifest file the tell's Microsoft Windows to handle display scaling.  I have a  Microsoft Surface Pro 3 m windows machine. Its LCD has a 216PPI resolution.  Windows 8.1 had 4 preset for scaling its LCD.
    Surface Pro 3 LCD Display 12"  IPS display 3:2 aspect ratio 9.984603532054124" Wide, 6.656402354702749" High 216.3330765278394  PPI
    Microsoft Preset Display scaling
    100% 2160x1440   216 PPI
    125% 1728x1152   173 PPI
    150% 1440x960    144 PPI SP3 Default setting
    200% 1080x720    108 PPI
    Most user these days has 1024x768 or better displays and Web pages are often authored for 800x600 pixels pages. So the give you a better handle on Resolution and scaling I have edit a 800x600 document with 25x25 px grid one my Surface pro 3
    using Windows 4  scaling presets and captured the 2160x1140 scaled screens  Only at the 100% preset does the image window have a 216ppi Also note  @ 2x UI Photoshop UI doe not fit on screen
    Adobe Photoshop  CC 2014 2xUI Scales the UI  to a display 1/2 resolution but does not scale the Image area  uses actual screen resolution. Photoshop  Help system info show the screen i 1/2 resilution 1080x720 but scalet the imase to the real resolution 2160x1440. however the image window is the 216ppi the ui 108ppi via scaling

  • 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.

  • Help with aleXtra imaging lingo table

    Anyone have some examples of source code using the newest
    download they can share? There's an example on the site of exactly
    what I need to do, but no code:
    http://www.farbflash.de/ILtable/newDemo/index.html
    I've got the behaviors installed in a blank test movie with
    the LDM and a bitmap proxy but when I execute the suggested command
    for a simple table I just get an empty blue box. For some reason I
    can't make the sample scripts pickup the sample data (the xml data
    for example).

    Does this do what you are looking for?

  • 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.

  • Troubles with SDL image library

    Hi, my goal is to port SuperTux - a 2D platform game to browser using crossbridge. I currently work on OS X Maverics if thats important. I'm very new to this area - I have some small experience with C++ after colege, but in work I work with web technologies - so Im some sort of noob with that - especially with Crossbridge.
    I followed install instruction and crossbridge itself works fine - Hello World compiles well. Now that I try to compile supertux proccess fails on ./configure level.
    $ export PATH=~/crossbridge/sdk/usr/bin:$PATH
    $ ./configure
    checking build system type... AVM2-unknown-freebsd8.2
    checking host system type... AVM2-unknown-freebsd8.2
    checking target system type... AVM2-unknown-freebsd8.2
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    /Users/zzz/Projekty/supertux13/missing: Unknown `--is-lightweight' option
    Try `/Users/zzz/Projekty/supertux13/missing --help' for more information
    configure: WARNING: 'missing' script is too old or missing
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for gprof mode... disabled
    checking for debug mode... disabled
    checking wether OpenGL should be used... yes
    checking for sdl-config... /Users/zzz/crossbridge/sdk/usr/bin/sdl-config
    checking for SDL - version >= 1.2.4... yes
    checking for Mix_OpenAudio in -lSDL_mixer... yes
    checking for IMG_Load in -lSDL_image... no
    configure: error: SDL_image library required
    And with the config.log:
    configure:5390: checking for IMG_Load in -lSDL_image
    configure:5415: gcc -o conftest -g -O2 -I/Users/zzz/crossbridge/sdk/usr/include/SDL -D_GNU_SOURCE=1   conftest.c -ltiff -ljpeg -lpng -lz -lSDL_image -lSDL_mixer  -L/Users/zzz/crossbridge/sdk/usr/lib -Wl,-rpath,/Users/zzz/crossbridge/sdk/usr/lib -lSDL -lm -lvgl >&5
    /Users/zzz/crossbridge/sdk/usr/bin/ld: error: cannot find -ltiff
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_calc_output_dimensions'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_CreateDecompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_destroy_decompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_finish_decompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_read_header'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_read_scanlines'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_resync_to_restart'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_start_decompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_std_error'
    At the moment I start to think that this maight be problem related to crossbridge itself. Lib SDL_image came with basic instalation - I also tried to compile it myself, but without any help. Some googling showed up that this problem was affecting some cygwin users, but I didn't give nay clues how ti fix that. I tried to skip SDL_image in configure - and that is the only problem I have with libraries.
    Also If want to compile it in a normal way - without Crossbridge, it works well.
    Anyone might be able to help with that? I already lost a lot of time facing this bug, but I couldn't make it work. I would really apprecieate any help.

    ziemovitto wrote:
    ... And with the config.log:
    configure:5390: checking for IMG_Load in -lSDL_image
    configure:5415: gcc -o conftest -g -O2 -I/Users/zzz/crossbridge/sdk/usr/include/SDL -D_GNU_SOURCE=1   conftest.c -ltiff -ljpeg -lpng -lz -lSDL_image -lSDL_mixer  -L/Users/zzz/crossbridge/sdk/usr/lib -Wl,-rpath,/Users/zzz/crossbridge/sdk/usr/lib -lSDL -lm -lvgl >&5
    /Users/zzz/crossbridge/sdk/usr/bin/ld: error: cannot find -ltiff
    This means you don't have a static library called "tiff" (at least in the library paths). I'm guessing you can live without TIFF (.tif) image support so you probably need to modify configure or it's arguments to reflect this (if the game has any TIFF image resources you will need to convert these to another format...)
    ziemovitto wrote:
    ... And with the config.log:
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_calc_output_dimensions'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_CreateDecompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_destroy_decompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_finish_decompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_read_header'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_read_scanlines'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_resync_to_restart'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_start_decompress'
    /Users/zzz/crossbridge/sdk/usr/lib/libSDL_image.a: error: undefined reference to '_jpeg_std_error'
    Pretty sure this means the jpeg library you have doesn't have the functions listed... but this error is stopping you from compiling conftest.c (ie. not the game) which is trying to see if your SDL_image library is up to it's standards...
    Porting doesn't mean compiling. You suggest that you can skip the tests on the SDL_image library and configure without further errors so that gives you a way forward. You may be lucky and find that the game doesn't call the missing JPEG functions, or if it does you may be able to work around what's missing, if the JPEG library is complete enough to load JPEG images then this might just mean replacing the function calls with their equivalents from the library which you have. Do remember though that as SuperTux is GPL you need to ensure that if you change anything your modify source code is made available to at least the same people as the compiled SWF.

  • IText trouble with automatically adjustment of table width

    With iText I an producing a PDF file with some elements. One of these is a table which is supposed to be centered.
    In this table 2x2 with input form a Servlet. This input is a string of variable length, in other words I do not know the length of it.
    I want this table to automatically adjust the cells width according to the length of the String. As I understand iText does not posess this functionality.
    This is how I have created the table: The first column has a width of 0.3 because the values in those I allready know. The default value is centered and 80% span, and because of this the table is not centered according to the text since the content contains empty space, but the 80% span table is centered.
    PdfPTable table = new PdfPTable(2);
    float[] widths = { 0.3f, 0.8f };
    table.setWidths(widths);How could I calculate this? The string has a font size of 22pt. Could I check for the number of chars in the String and adjust the width accordingly? It seems like I need to set the table.setWidthPercentage(50) in addition to the width size. But if I dont know the relationship between the width and percentages.
    If I calculate the width to be 0.6f with font size 22 and length x, how much percentages should I use?
    Message was edited by:
    DJ_Viking
    Message was edited by:
    DJ_Viking

    You need to use FontMetrics. In particular, use the FontMetrics of the table's renderer component so the string width will be calculated correctly even if the cell's value is bold. Something like this:
    Component comp = table.getDefaultRenderer(Object.class).getTableCellRendererComponent(table, cellValue, false, false, row, column);
    FontMetrics fm = comp.getFontMetrics(comp.getFont());
    int cellWidth = fm.stringWidth(cellValue);
    table.getColumnModel().getColumn(column).setWidth(cellWidth);

Maybe you are looking for

  • How can I delete my abode accts.

    I had an account and some place checked a box and started to receive a lot of mail.I didn't know were to uncheck the box so I change my e-mail and password in my account ( of course that didn't stop the emails going to the original e-mail address (di

  • On open, no events in current month on ical?

    When I open iCal, the correct month displays, but it is empty. When I select another month then return to the current month, all events appear. Very frustrating!

  • How to call stand Alone java program from jsp

    Hello all... I want to use the stand alone java program in jsp page. I compiled the java program and place the class file in classes folder under web-inf. But when i try to instantiate the java class inside jsp it is not recognizing the class. Where

  • Exporting an album with stills and video as a Quicktime movie in iPhoto 8.1.2

    Hello, Running iPhoto 8.1.2 here. We have created an album that contains still images (~300) and several videos. All of the videos were taken on a iPhone then we imported them to iPhoto. Videos are interspersed between the photos. We need to export t

  • Unable to set the speed on dot11Radio Interface

    Hello Experts, I have number of 1130ag access points in our network. The problem i am facing is that when I tried to set the speed on the dot11Radio 0 and 1 interface it doesn't appear This is the command I am using: interface dot11Radio 0 speed basi