CSS: img  {Float: Left; } gives strange results in Firefox

Hi, I’m having trouble aligning some text to the right
of an image. It looks fine in IE6 but the entire page goes crazy in
Firefox. Here is the link:
http://www.option-price.com/test/index.php
I already have a few pages in place and I just wanted to add
a contact link to the right above the main navigation. Here are the
main pages:
http://www.option-price.com/index.php
The thing is…I could probably do it by creating a
nesting div around the logo div and then another div inside for the
new link (and float to right), but I was trying to cut down on
code.
Can I get this to work using img float in FireFox?
Many thanks.

petertyler wrote:
> Hi, I?m having trouble aligning some text to the right
of an image. It looks
> fine in IE6 but the entire page goes crazy in Firefox.
Here is the link:
>
>
http://www.option-price.com/test/index.php
>
> I already have a few pages in place and I just wanted to
add a contact link to
> the right above the main navigation. Here are the main
pages:
>
>
http://www.option-price.com/index.php
>
> The thing is?I could probably do it by creating a
nesting div around the logo
> div and then another div inside for the new link (and
float to right), but I
> was trying to cut down on code.
>
> Can I get this to work using img float in FireFox?
>
> Many thanks.
>
You would have to float the image in the logo <div>
left. Add another
<div> inside the logo <div> and float that right,
as below.
Html code:
<div id="logo"><img src="index_files/logo.jpg"
alt="Option-Price.com"><div
id="logoRight">Contact</div>
<br style="clear:both;" /></div>
Css:
#logo {
margin: 0px 0px 0px 100px;
padding: 0px;
width: 600px; /* YOU NEED A WIDTH */
#logo img {
float: left;
#logoRight {
float: right;
width: 200px;
text-align: right;
padding-top: 45px;
A simpler method would be to use an absolutely positioned
layer. I can't
see that anything moves on the site which would'nt warrant
the use of an
ap layer in the position you require it.

Similar Messages

  • [solved]lspci gives strange results

    I just reinstalled, and am trying to get my wireless card up and running.  I ran lspci, then lspci -nn, and it gives unexpected results.  Instead of listing things like vendors and such as intel, and ralink, it just lists non-useful stuff in a format like this:
    xx.xx.x Class [xxxx] Device [xxxx:xxxx] rev 40
    (where all x's are digits)
    what does this mean?  where is the useful information that I was expecting to find (like actual device names)?  What did I forget to do?
    edit:
    Now I have Xorg up, so I'll post the output:
    lspci
    00:00.0 Class 0600: Device 1002:5957
    00:02.0 Class 0604: Device 1002:5978
    00:09.0 Class 0604: Device 1002:597e
    00:0a.0 Class 0604: Device 1002:597f
    00:11.0 Class 0106: Device 1002:4390 (rev 40)
    00:12.0 Class 0c03: Device 1002:4397
    00:12.2 Class 0c03: Device 1002:4396
    00:13.0 Class 0c03: Device 1002:4397
    00:13.2 Class 0c03: Device 1002:4396
    00:14.0 Class 0c05: Device 1002:4385 (rev 42)
    00:14.1 Class 0101: Device 1002:439c (rev 40)
    00:14.3 Class 0601: Device 1002:439d (rev 40)
    00:14.4 Class 0604: Device 1002:4384 (rev 40)
    00:14.5 Class 0c03: Device 1002:4399
    00:15.0 Class 0604: Device 1002:43a0
    00:16.0 Class 0c03: Device 1002:4397
    00:16.2 Class 0c03: Device 1002:4396
    00:18.0 Class 0600: Device 1022:1200
    00:18.1 Class 0600: Device 1022:1201
    00:18.2 Class 0600: Device 1022:1202
    00:18.3 Class 0600: Device 1022:1203
    00:18.4 Class 0600: Device 1022:1204
    01:00.0 Class 0c03: Device 1033:0194 (rev 03)
    02:00.0 Class 0200: Device 10ec:8168 (rev 06)
    03:00.0 Class 0c00: Device 1106:3403 (rev 01)
    04:00.0 Class 0300: Device 10de:0e22 (rev a1)
    04:00.1 Class 0403: Device 10de:0beb (rev a1)
    05:05.0 Class 0280: Device 1814:0301
    05:06.0 Class 0401: Device 1102:0004 (rev 04)
    05:06.1 Class 0980: Device 1102:7003 (rev 04)
    05:06.2 Class 0c00: Device 1102:4001 (rev 04)
    Last edited by Convergence (2012-06-07 02:48:41)

    Falconinidy:  You're right!  That was a  bad move.  Thanks!

  • Quality check on Business Rules gives strang result for OMS-60005

    OMS-60005 Functions used to record business rules should be labeled as:
    BR_[entity short name]###([decomposition id])_[type abbreviation]
    BR_IDE024_CEW, BR_IDE029_CEV, BR_IDE030_CEW, BR_IPF004_CEW are violations but they are valid as far as I know.

    Yes my particular issue is not like yours. However, there have been many other laptop users experiencing similar problem to yours after 3.10 kernel. Mostly it seems to be bumblebee users that experience your problem with the blank screen. We do know that nvidia have yet to make their official drivers work with kernel 3.10 and up. The drivers in the Arch repository have been patched to work with 3.10. From what I have seen, this also only seem to be affecting laptops with newer nvidia gpu's. I fear there is not much to do with this problem until nvidia give official 3.10 kernel support.
    My suggestion would be to stick with 3.9.9 kernel and the drivers that work with it, and don't upgrade those packages until nvidia has addressed these issues. If you have a look at the nvidia forums you will see quite a number of topics mentioning black screen when starting x on 3.10 kernel, and also a thread for the system dying. Reading some of the threads there may help you keep up to date on whether or not the issue seem to be solved.
    https://devtalk.nvidia.com/default/board/98/

  • Double clicking project gives strange results

    If I open FCP 6.02 I can groove and edit no problems. However, some of the FCP project files, if I double click them FCP prompts me for a serial number and to register. If I quit and open FCP directly, no more prompting.
    This has only happened to me since switching to Leopard. Never happened in Tiger.

    Michael Trauffer has solved this in other posts by doing the following:
    Using the Finder, navigate to the following location:
    systemHD/Library/Application Support/ProApps/Final Cut Studio System ID
    Move the file to the trash, next time you launch FCP, you'll be prompted to enter your serial number, after you do that, a new system ID file will be created. That should solve your problem.

  • Strange result from insert into...select query

    Hello guys,
    I need your preciuos help for a question maybe simple, but that I can't explain by myself!
    I have a query of "insert into...select" that, as I have explained in the title, returns a strange result. In facts, If I execute ONLY the SELECT statement the query returns the expected result (so 2 rows); instead If I execute the entire statement, that is the "insert into...select", the query returns 0 rows inserted!!
    Following an example of the query:
    INSERT
    INTO TITOLI_ORI
    COD_TITOLO_RICCONS ,
    D_ESTRAZIONE ,
    COD_SOCIETA ,
    COD_PIANO_CONTABILE ,
    COD_CONTO_CONTABILE ,
    COD_RUBRICATO_STATISTICO_1 ,
    COD_NDG ,
    NUM_ESEGUITO ,
    CUR_IMPORTO_RICCONS ,
    CUR_IMPORTO_BICO ,
    FLG_MODIFICATO ,
    CUR_NON_ASSEGNATO ,
    FLG_QUOTATO ,
    COD_CATEG ,
    TIP_COPERTURA ,
    TIPTAS_TITOLO
    SELECT NEWID,
    '28-feb-2111',
    COD_SOCIETA,
    COD_PIANO_CONTABILE,
    COD_CONTO_CONTABILE,
    COD_RUBRICATO_STATISTICO_1,
    COD_NDG,
    NUM_ESEGUITO,
    CUR_VAL_IMPEGNI,
    'ABC' as CUR_IMPORTO_BICO,
    0 as FLG_MODIFICATO,
    NULL as CUR_NON_ASSEGNATO,
    FLG_QUOTATO,
    COD_CATEG,
    TIP_COPERTURA,
    TIP_TASSO
    FROM
    (SELECT S.COD_SOC AS COD_SOCIETA,
    S.TIP_PIANO_CNTB AS COD_PIANO_CONTABILE,
    S.COD_CONTO_CNTB AS COD_CONTO_CONTABILE,
    S.COD_RUBR_STAT AS COD_RUBRICATO_STATISTICO_1,
    TRC.COD_RAGGR_IAS AS COD_RAGGRUPPAMENTO_IAS,
    TRC.COD_NDG AS COD_NDG,
    TRC.COD_ESEG AS NUM_ESEGUITO,
    CAST((TRC.IMP_PLUS_MINUS_VAL/TRC.IMP_CAMB) AS FLOAT) AS CUR_VAL_IMPEGNI,
    TRC.TIP_QUOTAZ AS FLG_QUOTATO,
    TRC.COD_CAT_TIT AS COD_CATEG,
    TIP_COP AS TIP_COPERTURA,
    T.TIP_TASSO AS TIP_TASSO
    FROM S_SLD_CNTB S
    INNER JOIN
    (SELECT DISTINCT COD_SOC,
    TIP_PIANO_CNTB,
    COD_CONTO_CNTB,
    COD_RUBR_STAT ,
    COD_INTER_TIT AS COD_INTER
    FROM S_COLLEG_CONTO_CNTB_TIT
    WHERE COD_SOC = 'ME'
    ) CCC
    ON S.COD_SOC = CCC.COD_SOC
    AND S.TIP_PIANO_CNTB = CCC.TIP_PIANO_CNTB
    AND S.COD_CONTO_CNTB = CCC.COD_CONTO_CNTB
    AND S.COD_RUBR_STAT = CCC.COD_RUBR_STAT
    INNER JOIN S_TIT_RICCONS TRC
    ON CCC.COD_INTER = TRC.COD_INTER_TIT
    AND CCC.COD_SOC = TRC.COD_SOC
    AND TRC.COD_RAGGR_IAS = RTRIM('VALUE1 ')
    AND TRC.COD_RAGGR_IAS NOT IN ('VALUE2')
    AND TRC.DES_TIP_SLD_TIT_RICCONS IN ('VALUE3')
    AND TRC.DES_MOV_TIT = RTRIM('VALUE4 ')
    AND TRC.COD_CAT_TIT = RTRIM('VALUE4 ')
    AND TRC.COD_INTER_TIT = RTRIM('VALUE5')
    AND '28-feb-2011' = TRC.DAT_RIF
    LEFT JOIN S_TIT T
    ON T.COD_INTER_TIT = TRC.COD_INTER_TIT
    AND T.COD_SOC = TRC.COD_SOC
    AND '28-feb-2011' = T.DAT_RIF
    INNER JOIN S_ANAG_SOGG AG
    ON TRC.COD_NDG = AG.COD_NDG
    AND AG.COD_SOC = TRC.COD_SOC
    AND '28-feb-2011' = AG.DAT_RIF
    WHERE S.DAT_RIF = '28-feb-2011'
    AND (S.FLG_ANULL_BICO = 0
    OR S.FLG_ANULL_BICO IS NULL)
    AND S.COD_SOC = 'V6'
    AND LENGTH(RTRIM(S.COD_CONTO_CNTB)) = 10
    AND S.TIP_PIANO_CNTB = 'V7'
    AND TRC.IMP_PLUS_MINUS_VAL < 0
    AND SUBSTR(S.COD_CONTO_CNTB,1,7) IN (RTRIM('VALUE8 '))
    Thanks a lot

    Right, I have executed this steps:
    - I have changed the query with the select count(*)
    - Changed the insert into with the select count(*)
    - Executed the insert into
    These are the result:
    SQL> select count(*) from TITOLI_ORI2;
    COUNT(*)
    1
    BUT:
    SQL> select * from TITOLI_ORI2;
    A
    0
    The insert into that I've modified is this:
    INSERT INTO bsc.TITOLI_ORI2
    select count(*)
    FROM
    (SELECT bsc.NEWID,
    TO_DATE('28-feb-2111','DD-MON-YYYY') as data,
    COD_SOCIETA,
    COD_PIANO_CONTABILE,
    COD_CONTO_CONTABILE,
    COD_RUBRICATO_STATISTICO_1,
    COD_NDG,
    NUM_ESEGUITO,
    CUR_VAL_IMPEGNI,
    'ABC' AS CUR_IMPORTO_BICO,
    0 AS FLG_MODIFICATO,
    NULL CUR_NON_ASSEGNATO,
    FLG_QUOTATO,
    COD_CATEG,
    TIP_COPERTURA,
    TIP_TASSO
    FROM
    (SELECT S.COD_SOC AS COD_SOCIETA,
    S.TIP_PIANO_CNTB AS COD_PIANO_CONTABILE,
    S.COD_CONTO_CNTB AS COD_CONTO_CONTABILE,
    S.COD_RUBR_STAT AS COD_RUBRICATO_STATISTICO_1,
    TRC.COD_RAGGR_IAS AS COD_RAGGRUPPAMENTO_IAS,
    TRC.COD_NDG AS COD_NDG,
    TRC.COD_ESEG AS NUM_ESEGUITO,
    CAST((TRC.IMP_PLUS_MINUS_VAL/TRC.IMP_CAMB) AS FLOAT) AS CUR_VAL_IMPEGNI,
    TRC.TIP_QUOTAZ AS FLG_QUOTATO,
    TRC.COD_CAT_TIT AS COD_CATEG,
    TIP_COP AS TIP_COPERTURA,
    T.TIP_TASSO AS TIP_TASSO
    FROM bsc.S_SLD_CNTB S
    INNER JOIN
    (SELECT DISTINCT COD_SOC,
    TIP_PIANO_CNTB,
    COD_CONTO_CNTB,
    COD_RUBR_STAT ,
    COD_INTER_TIT AS COD_INTER
    FROM bsc.S_COLLEG_CONTO_CNTB_TIT
    WHERE COD_SOC = 'ME'
    ) CCC
    ON S.COD_SOC = CCC.COD_SOC
    AND S.TIP_PIANO_CNTB = CCC.TIP_PIANO_CNTB
    AND S.COD_CONTO_CNTB = CCC.COD_CONTO_CNTB
    AND S.COD_RUBR_STAT = CCC.COD_RUBR_STAT
    INNER JOIN bsc.S_TIT_RICCONS TRC
    ON CCC.COD_INTER = TRC.COD_INTER_TIT
    AND CCC.COD_SOC = TRC.COD_SOC
    AND TRC.COD_RAGGR_IAS = RTRIM('HFT ')
    AND TRC.COD_RAGGR_IAS NOT IN ('GPO')
    AND TRC.DES_TIP_SLD_TIT_RICCONS IN ('DISPONIBILI')
    AND TRC.DES_MOV_TIT = RTRIM('CONSEGNARE ')
    AND TRC.COD_CAT_TIT = RTRIM('OBBLIGAZIONE ')
    AND TRC.COD_INTER_TIT = RTRIM('334058')
    AND '28-feb-2011' = TRC.DAT_RIF
    LEFT JOIN bsc.S_TIT T
    ON T.COD_INTER_TIT = TRC.COD_INTER_TIT
    AND T.COD_SOC = TRC.COD_SOC
    AND '28-feb-2011' = T.DAT_RIF
    INNER JOIN bsc.S_ANAG_SOGG AG
    ON TRC.COD_NDG = AG.COD_NDG
    AND AG.COD_SOC = TRC.COD_SOC
    AND '28-feb-2011' = AG.DAT_RIF
    WHERE S.DAT_RIF = '28-feb-2011'
    AND (S.FLG_ANULL_BICO = 0
    OR S.FLG_ANULL_BICO IS NULL)
    AND S.COD_SOC = 'ME'
    AND LENGTH(RTRIM(S.COD_CONTO_CNTB)) = 10
    AND S.TIP_PIANO_CNTB = 'IS'
    AND TRC.IMP_PLUS_MINUS_VAL < 0
    AND SUBSTR(S.COD_CONTO_CNTB,1,7) IN (RTRIM('P044C11 '))
    Another time the strange result returns!!
    And I've created the table TITOLI_ORI2 as create table TITOLI_ORI2 (a number); to contain the number result of the query.

  • Need help with Div Float Left...

    Hi... this is a bit beginner, but can't seem to figure it out..
    I'm trying to put three photos in a row... I am doing this by using divs with one floating left... but the third photo wants to drop to a second line below the other two...
    Here is a link: http://www.robynjeandesign.com/bayareafacepainters/index.html
    Help please
    Thanks!

    Don't overly complicate your code with too many divisions.  Less is more.
    Change this:
    <div id="index_photos">
    <div id="index_photo1"><img src="images/Face-Peacock.jpg" height="400" width="300"></div>
    <div id="index_photo2"><img src="images/Face-Fairy-Crown.jpg" height="400" width="300"></div>
    <div id="index_photo3"><img src="images/Face-Dragon.jpg" height="400" width="300"></div>
    </div>
    to this:
    <img src="images/Face-Peacock.jpg" height="400" width="300">
    <img src="images/Face-Fairy-Crown.jpg" height="400" width="300">
    <img src="images/Face-Dragon.jpg" height="400" width="300">
    Having said that, there may be times when you need 3 floats on a page.  See link below for details.
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Strange results with Insert statement having select query

    Hi all,
    I am facing a strange issue with Insert statement based on a select query having multiple joins.
    DB- Oracle 10g
    Following is the layout of my query -
    Insert into Table X
    Select distinct Col1, Col2, Col3, Col4, Function(Col 5) from Table A, B
    where trunc(updated_date) > = trunc(sysdate-3)
    and join conditions for A, B
    Union
    Select Col1, Col2, Col3, Col4, Function(Col 5) from Table C, D
    trunc(updated_date) > = trunc(sysdate-3)
    and join conditions for C, D
    Union
    .... till 4 unions. all tables are residing in the local Database and not having records more than 50,000.
    If I execute above insert in a DBMS job, it results into suppose 50 records where as if I execute the select query it gives 56 records.
    We observed following things-
    a) no issue with size of tablespace
    b) no error while inserting
    c) since query takes lot of time so we have not used Cursor and PLSQL block for inserting.
    d) this discrepancy in number of records happens frequently but not everytime.
    e) examined the records left out from the insert, there we couldn't find any specific pattern.
    f) there is no constraint on the table X in which we are trying to insert. Also tables A, B, C....
    I went through this thread -SQL insert with select statement having strange results but mainly users are having either DB Links or comparison of literal dates, in my case there is none.
    Can somebody explain why is the discrepancy and what is the solution for it.
    Or atleast some pointers how to proceed with the analysis.
    Edited by: Pramod Verma on Mar 5, 2013 4:59 AM
    Updated query and added more details

    >
    Since I am using Trunc() in the where clause so timing should not matter much. Also I manually ruled out records which were updated after the job run.
    >
    The first rule of troubleshooting is to not let your personal opinion get in the way of finding out what is wrong.
    Actually this code, and the process it represents, is the most likely CAUSE of the problem.
    >
    where trunc(updated_date) > = trunc(sysdate-3)
    >
    You CANNOT reliably use columns like UPDATED_DATE to select records for processing. Your process is flawed.
    The value of that column is NOT the date/time that the data was actually committed; it is the date/time that the row was populated.
    If you insert a row into a table right now, using SYSDATE (8am on 3/5/2013) and don't commit that row until April your process will NEVER see that 3/5/2013 date until April.
    Here is the more typical scenario that I see all the time.
    1. Data is inserted/updated all day long on 3/4/2013.
    2. A column, for example UPDATED_DATE is given a value of SYSDATE (3/4/2013) in a query or by a trigger on the table.
    3. The insert/update query takes place at 11:55 PM - so the SYSDATE values are for THE DAY THE QUERY BEGAN
    4. The data pull begins at 12:05 am (on 3/5/2013 - just after midnight)
    5. The transaction is COMMITTED at 12:10 AM (on 3/5/2013); 5 minutes after the data pull began.
    That data extract in step 4 will NEVER see those records! They DO NOT EXIST when the data pull query is executed since they haven't been committed.
    Even worse, the next nights data pull will not see them either! That is because the next pull will pull data for 3/5/2013 but those records have a date of 3/4/2013. They will never get processed.
    >
    Job timing is 4am and 10pm EST
    >
    Another wrinkle is when data is inserted/updated from different timezones and the UPDATED_DATE value is from the CLIENT pc or server. Then you can get even more data missed since the client dates may be hours different than the server date used for the data pull process.
    DO NOT try to use UPDATED_DATE type columns to do delta extraction or you can have this issue.

  • Strange result for outer join with rownum

    I'm using rownum in join condition of left outer join query but i'm getting strange results.
    Query is:
    Select * from table1 left outer join table2 on table1.id = table2.id or rownum=1
    Data in table1 is
    id
    7
    8
    9
    Data in table2 is
    id
    10
    11
    12
    Result of above query in Oracle 9.2.0.1 is
    table1.id table2.id
    7 10
    7 11
    7 12
    8 10
    8 11
    8 12
    9 10
    9 11
    9 12
    Even if change is rownum related condition to like rownum >2 even than i'm getting same result.
    In case of inner join, the above condition gives results as required.
    Can anybody explain the result or is it a bug?

    could you please explain why you are using rownum.
    You may have a look at the following link explaining rownum and you should understand why you got this result, keep in mind that you are using an OR condition.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/sql_elements6a.htm#4295

  • Help - count function returns strange results

    hi everyone,
    here's my scenario: i'm trying to get the NUMBER OF REPORTS and NUMBER OF
    IMAGES GROUP BY MONTH from the two tables below.
    REPORT
    reportid(*primary key)
    date
    IMAGE
    reportid(*foreign key referring to report's table)
    image
    sample output:
    MONTH NO.OF REPORTS NO. OF IMAGES
    feb 01 10 9
    mar 01 12 8
    my SQL goes like this:
    select to_char(date, 'month-yy'),
    count(REPORT.reportid), count(IMAGE.reportid)
    from REPORT, IMAGE
    where REPORT.reportid = IMAGE.reportid
    group by to_char(date, 'month-yy')
    the above sql yielded strange results, number of images is equal to the number of reports, which is of course wrong! as one report may or may not contain one or more image.
    i dont know what's wrong with the above statement, but if i were to group it
    by REPORTID and DAY rather than MONTH, then amazingly it works! what's
    wrong with the count, why does it give me the same result if i group by
    MONTH.
    can anyone shed some light on this?

    try using the following example:
    Table TEST_REPORT
    RPTID RPTDATE
    1 02-JAN-01
    3 02-JAN-01
    2 02-JAN-01
    5 11-FEB-01
    6 11-FEB-01
    7 11-FEB-01
    Table TEST_IMAGE
    RPTID IM
    1 1
    2 1
    3 1
    SQL:
    select to_char(rptdate,'MON-YYYY'),
    sum(decode(a.rptid,null,0,1)) report_cnt,
    sum(decode(b.rptid,null,0,1)) image_cnt
    from test_report a, test_image b
    where a.rptid = b.rptid(+)
    group by to_char(rptdate,'MON-YYYY');
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by skcedric:
    hi everyone,
    here's my scenario: i'm trying to get the NUMBER OF REPORTS and NUMBER OF
    IMAGES GROUP BY MONTH from the two tables below.
    REPORT
    reportid(*primary key)
    date
    IMAGE
    reportid(*foreign key referring to report's table)
    image
    sample output:
    MONTH NO.OF REPORTS NO. OF IMAGES
    feb 01 10 9
    mar 01 12 8
    my SQL goes like this:
    select to_char(date, 'month-yy'),
    count(REPORT.reportid), count(IMAGE.reportid)
    from REPORT, IMAGE
    where REPORT.reportid = IMAGE.reportid
    group by to_char(date, 'month-yy')
    the above sql yielded strange results, number of images is equal to the number of reports, which is of course wrong! as one report may or may not contain one or more image.
    i dont know what's wrong with the above statement, but if i were to group it
    by REPORTID and DAY rather than MONTH, then amazingly it works! what's
    wrong with the count, why does it give me the same result if i group by
    MONTH.
    can anyone shed some light on this? <HR></BLOCKQUOTE>
    null

  • Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?

    Hello
    I'm currently developping an image processing algorithm using Labview 7.1 and the associated IMAQ Vision tools. After several tests, I found a weird result. Indeed, I put the labview algorithm - including the IMAQ VI on the library to get sure that I use all the time the same VI - on my memory stick and used it on two different computers. I tested the same picture (still in my memory stick) and had two very different results.
    After several hours trying to understand why, I found that there were a difference between the results given by both computers at the very begining of the algorithm. Indeed, I used a JPEG file.
    To open it, I first create an Image with IMAQ Create (U8). Then, I open it.
    Then in my first sub-VI, I use IMAQ Cast Image to be sure that the picture is a U8 grayscale picture.
    Right after that, I use the IMAQ Linear Averages. The results of this VI are different on the two computers.
    I tried several time on the same picture : one computer always give me the same result but the two computers give me a different result. So there is no random variable on the results.
    So my question is : Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?
    My bet is on IMAQ Cast Image but I'm not quite sure and I do not undestand why. The labview and IMAQ are the same on both computers.
    The difference between the two computer are above :
    Computer 1 :
    Pentium(R) 4 CPU 3.20GHz with a RAM of 1Go. The processor is an Intel(R).
    The OS is windows XP Pro 2002
    Computer 2 :
    Pentium(R) 4 CPU 2.80GHz with a RAM of 512Mo. The processor is an Intel(R).
    The OS is windows XP Pro 2002.
    If anybody can help me on this problem, it would be really helpful.
    Regards
    Florence P.

    Hi,
    Indeed it's a strange behaviour, could you send me your VI and your JPEG file, (or another file that reproduces) so that I could check this inthere ?
    I'll then try to find out what's happening.
    Regards
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • Centered images float left when exporting to epub - images don't stay centered

    Hi,
    I have created an ebook with from the template apple instructs to use (http://images.apple.com/support/pages/docs/ePub_Best_Practices_EN.zip)
    and i've added some images on several pages. they are all centered and set to inline (as epub can't handle floating objects/images)
    but when i export to epub almost all images appear floating left in the epub file except for a few images.
    i can't figure out why or how do i keep them centered. i've tried selecting the rows below and above with the one the image is on and centering the text. i've tried adding the "object causes wrap" and chose the one that centeres the image. nothing works.
    any advice would be great.
    Thanks
    J

    Hi Steph,
    That worked for some of the images but not for all of them.
    I found a strange solution that worked in conjunction with your solution.
    After you center the "text line" that it is on (or the one under it like you say), i mark the image and in the sidebar in which you choose the type of line/text (like chapter title or sub title etc') and you make the image or image line as a a chapter title or subtitle. prefprebly subtitle as to not mess with the table of content.
    then when i exported to epub the images were finally centered. all of them.
    hope this helps if anyone else encounters that issue.
    Thanks for the added help.
    J

  • OT: CSS TR float

    Guten Morgen WG,
    Habt Ihr zufällig einen Tip wie ich den IE (6+7) dazu
    bringen kann die
    CSS Anweisung tr{float: left;} zu akzeptieren?
    Will da einen schnellen GUI Prototypen basteln und da
    wäre das schon
    super praktisch.... im FF und Opera gehts widermal ohne
    Probleme.
    lg
    Wen*kaffeanbiet*zel

    Franz Marksteiner schrieb:
    > Wenzel Wondra <[email protected]> wrote:
    >> Guten Morgen WG,
    >>
    >> Habt Ihr zufällig einen Tip wie ich den IE
    (6+7) dazu bringen kann die
    >> CSS Anweisung tr{float: left;} zu akzeptieren?
    >>
    >> Will da einen schnellen GUI Prototypen basteln und
    da wäre das schon
    >> super praktisch.... im FF und Opera gehts widermal
    ohne Probleme.
    >
    > Was genau soll passieren? Sollen die Zeilen
    nebeneinandern sitzen? ;-)
    Jupp, ist ein kleiner "Hack" aber was solls :)
    ciao
    wewo

  • InetAddress.getByName gives strage results.

    hello.
    I'm interested in integer representation of IP address.
    However the inetAddress.getByName gives me strange results.
    public static void main(String[] args) throws UnknownHostException {
                InetAddress test1 = InetAddress.getByName("127.0.0.1"); 
                System.out.println(String.valueOf(test1.hashCode()));  //prints 2130706433, that's great.
                InetAddress test2 = InetAddress.getByName("192.168.5.18");
                System.out.println(String.valueOf(test2.hashCode()));  *//prints -1062730478, that's wrong!! should be 3232236818 why negative ?*
                InetAddress test3 = InetAddress.getByName("79.182.113.50");
                System.out.println(String.valueOf(test3.hashCode())); // prints 1337356594, that's ok.
        }I'd like to know what I'm missing here , this seems to be a glitch.

    uprooter wrote:
    http://www.aboutmyip.com/AboutMyXApp/IP2Integer.jsp
    That's even a JSP page :)
    As the results showed, it's not a dumb hash code. it's the real int representation of the IP address.
    Edited by: uprooter on Dec 8, 2008 9:41 AMI haven't clicked that, but if by "real int representation", you mean that it's just taking the 4 octets of the IP adress and mashing them together into an int, with the first octet as the high-order byte, then simple logic (the pigeonhole principle) will tell you that half of the possible IP addresses MUST have negative hashCodes, and an understanding of [twos complement|http://en.wikipedia.org/wiki/Twos_complement] will tell you that 192.168.5.18 in particular will definitely be negative.

  • Custom search using boolean attribute set to True gives no result

    I am setting up an auto-query using the custom search portlet. This is to show all items where a boolean custom attribute is checked, ie = True.
    In step 3 I have tried to set the operator to Equals to and the default value to True. This gives no results even though several items have this attribute set to True.
    The Auto Query check box is checked.

    Found that True = 1 in database. When set to this the search works.

  • P/L A/c for a single day gives different results for different users

    Hi!
         We have SAP B1 8.81 (PL 09) in our office. P/L Account for a particular date gives different value for a single account (Other Income Account) for one user and a consistent value for all other users. The user in question is a super user and does not seem to pick a specific entry posted in the Other Income Account for that day thus giving erroneous result. I have checked the Trial Balance for that day and it gives proper result. Only the P/L account gives erroneous data. Could anyone help with the reason for this.
    Thanks
    Sreekumar

    Hi Jitin,
              Thanks for your reply.
              I tried the way you mentioned. However, the result is the same.
              The entry that I'm talking about is an automatic journal entry posted through the Outgoing Payment option.
              To make it more clear, an outgoing payment to a vendor was posted on 05/19/11 for 1,42,178.32. The check was drawn only for 71,089.16 which was the correct amount and the remaining amount (71,089.16) got posted in the Other Income account. The P/L account for this date is not picking the amount of 71,089.16 in the Other Income Account.
    Thanks & Regards
    Sreekumar
    Edited by: Sreekumar on Jan 31, 2012 5:58 PM

Maybe you are looking for

  • Advance payment to be reduced

    Hello Frds, we paid to vendor 10000 advance but invoice received only 5000 remaining 5000 vendor has given back.Now i want to reduce the advance payment from vendor.Can any body explain how can we post this. I appreciate your valuable inputs and adva

  • BUG: Default reminder set in Live cal. even when specifying Reminder=None in Outlook 2013

    Since switching from Outlook 2010 to 2013 I have been getting calendar apointment alerts on the Windows Phone and iPad linked to my Live account, even though I am creating appointments specifying no reminder. After a lot of investigation, I can see e

  • Photoshop Elements 3.0 error message 150:30

    I have photoshop elements 3.0 and use it on a Mac system 10.9.5.  I just received an error message 150:30  when trying to open Photoshop Elements.  Says it's a Licensing issue and to restart computer.  I did this but continue to get the message and c

  • Source is not a permitted variable data objects

    Hi SCN, So we transported queries. Collected in manually and gouped by necessary objects. We're having a problem with our variables that holds a replacement path setting for clearing date, net due date and posting date. Replacement path for key using

  • Using iMessage from uk to Japan or other country

    Hi I am trying to iMessage a iPhone 5 that is from Japan from a uk iphone, I have it in airplane mode but wifi turned on and when i enter the number and start to type it does not turn blue. Is there any reason why I can't send iMessage to the phone?