Dynamic spacing of page XHTML PHP problem

This problem is driving me crazy, but I think I finally reduced him to the problem.
In this site, I am trying to integrate the image display program called "Gallery" which is an open source free PHP (xhtml) program/script-driven.

I got it incorporated and works very well, except for one annoying problem. As you will see, there is a problem with spacing between the table of the top banner and the td background image in FireFox only. Seen in IE6, the problem goes away. Because I know that IE is not as compatible as FF, the problem is most likely in the way that the strict XHTML page, required by the Gallery, shows something is not like in FF.

In any case, I stripped all the links in css gallery and the gallery itself off the page.

http://northwindcharters.NET/Gallery/main.php

If you go to the main site index, you will see how it should look in both browsers. Of course I would like help on this resolution in FF. I've exhausted my knowledge and worked literally hours on it using the plugin FF called "Web Developer Tool" live editing css and re-create the page with different options, you know the drill.

Thank you very much.

I solved the problem. I used a div instead of a table for the top banner, and the problem disappeared.

Tags: Dreamweaver

Similar Questions

  • Firefox 34.0.5 cannot print correctly. I checked all the pages on firefox problems and still can not solve the problem.

    I use 34.0.5 with Windows 7 and that you cannot print correctly. In print preview, it appears in a label size. I double checked all my settings in firefox and my preferences from the printer, I checked all the pages on firefox problems and still can not solve the problem.

    I was able to finally solve the problem, but I had to do a complete reset of firefox. Thank you for your time.

  • When I click on the right botton I see a small copy of the browser page. This problem on the new version of mozilla. This problem is not presented on 15 version of mozilla.

    When I click on the right botton I see a small copy of the browser page. This problem on the new version of mozilla. This problem is not presented on 15 version of mozilla.

    I think that you run two versions;

    The details of your system to watch;

    Shockwave Flash 14.0 r0 * Shockwave Flash 13.0 r0

  • How to change the background color dynamically on the page of the ofa

    How to change the background color dynamically on the page of the ofa

    Hello

    Can you please let me know the dynamic conditions to change the background color?

    Thank you

    Vincent

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hello

    I would like to create a dynamic newsflash using dreamweaver and PHP because newsflash will be snapped up information from a MySQL database. The Bulletin-Flash should also have a link to view more information about the piece of news a user wants to learn more. What tools do I need to use in dreamweaver and how is the procedure to go about it. All opinions are appreciated. Thanks in advance!

    Sermon of Ras wrote:

    I tried using the spry effects, but it does not work. Is there a best way to do this?

    Google "jquery vertical newsticker" ;-)

  • Dynamic number of pages

    Hello
    I need to create a RTF model with dynamic number of pages.
    Let me explain:
    I have a (my_page_number) page number recorded on the database and I want to start my model with a page number that is

    my_page_number + PAG

    Number of automatic page in MSWORD designating PAG.

    Can someone help me?

    Thank you!
    Good bye
    Daniela

    Hello Daniela,

    using the query, it search in the report.

    You use the following syntax

     in your rtf to make the report to start from page number.
    
    If Your xml looks like
    
    51
    ....
    ...
    ...
    
     
    
  • Problem with dynamic change a page element value

    Hello

    I just calculated dynamically the value of an article based on a simple formula which involves the multiplication of two elements of the same page.

    To do this, create a dynamic action as follows:

    Event: Change
    Selection type: Article (s)
    Product (s): P19_DURATION
    Action: Set value
    Fire on page load: TRUE
    Type of value: SQL statement
    SQL statement: SELECT: P19_DURATION *: DOUBLE P19_RATE
    Items to submit page: P19_DURATION
    Selection type: Article (s)
    Product (s): P19_AMOUNT

    When changing the P19_DURATION GET no change in P19_AMOUNT

    As my knowledge of javascript is almost zero, I'm doing it with pl / sql or sql. Try dynamic action with a function or a PL / SQL statement and nothing works.

    Must use javascript for this?

    Searching the forum I think that it is something simple, but I can't find a similar example to what I need.

    Concerning

    Event: change
    Selection type: item (s)
    Product (s): P19_DURATION
    Action: Set
    Fire on the page loading: TRUE
    Set Type: javascript
    JavaScript Code:

    amount = $v('P19_DURATION') *  $v('P19_RATE');
    $s('P19_AMOUNT',amount);
    
  • problem with the contact page of my site PHP problem

    When I try to send a message on my site I see this text "PHP script form is missing from the web server or PHP is not properly configured on your web hosting provider. Check if the form PHP script has been downloaded correctly, contact your on the configuration of PHP hosting provider' how can I do?

    Hi Wamasch,

    Try to download a trial to the catalyst for the company site and check if the form work?

    If it works on BusinessCatalyst, please check with your configuration of php hosting provider.

    Kind regards

    Akshay

  • How to redirect a page in PHP after submission of user?

    Hi all...

    I created a basic contact/comment form and when I click on the button 'Submit' everything works well, and it sends an email.  Perfect.  A problem though...  It performs a redirect to a new page and it echos a line of small 'Thank You!'.  How to return the user to the page of the contact form on the website (or any other page also?  I'll paste the below short/simple PHP code...

    Any direction on this subject would be appreciated.  Thank you!

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "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 > < /title > customer survey

    < / head >

    < body > <? PHP # Script 1.0 - contactlist.php

    If ($_SERVER ['REQUEST_METHOD'] == 'POST') {}

    If (! empty($_POST['first']) & &! empty($_POST['last']) & &! empty($_POST['email'])) {}

    $body = "name: {$_POST ['first']} \nLast name: {$_POST ['last']} \nEMail address: {$_POST ['email']} \nContactez phone number: {$_POST ['phone']} \nContactez preference: {$_POST ['contactvia']} \nBest Contact time: {$_POST ['timepref']} \nComments:\n {$_POST ['comment']}";

    $body = wordwrap ($body, 70);

    mail (' [email protected]', 'NEW customer investigation presentation', $body, ' to: {$_POST ['email']} "" ");

    echo "< p > < em > thank you for your inquiry!  We will answer you as soon as POSSIBLE! < /em > < / p > ';

    $_POST = array();

    } else {}

    echo "< style p =" make-weight: bold; color: #C60 "> please fill in the form!" < /p > ';

    }

    }

    ? >

    < / body >

    < / html >

    OK, first of all, get rid of the $_SERVER ['REQUEST_METHOD'].  Now if a form is set to display your address it will be processed.  Spambots like these forms because you're really not checking if your form has been submitted.  Usually, you should only need to check if $_POST ['something'] is presented.  I know that I have not said this before, but I should have.

    Then, move the at the beginning of the document before the

    Now, remove the "else" statement

    Then remove the line "echo Thank you" and the $_POST = array(); line.  $_POST is a superglobal and always a table, so you never have to define it. And if you redirect someone, there is nothing you need to do the echo.

    So now, your code should be down for:

    <>

    If (isset($_POST['submit']) &! empty($_POST['submit')) //Test if clicked on button named submit submit and not empty

    {

    If (! empty($_POST['first']) &! empty($_POST['last']) &! empty($_POST['email'])) {}

    $body = "name: {$_POST ['first']} \nLast name: {$_POST ['last']} \nEMail address: {$_POST ['email']} \nContactez phone number: {$_POST ['phone']} \nContactez preference: {$_POST ['contactvia']} \nBest Contact time: {$_POST ['timepref']} \nComments:\n {$_POST ['comment']}";

    $body = wordwrap ($body, 70);

    mail (' [email protected]', 'NEW customer investigation presentation', $body, ' to: {$_POST ['email']} "" ");

    Header ('Location: url.php "");  Redirect to the new url if form is submitted

    }

    }

    ?>

    Just move this text "Please fill out the form" to the actual page above the form.  If the user has sent the form, they will then get redirected, if not, they see the page.  Make sense?

  • dynamic selection list hangs with php

    Hi all

    I can't get a list of dynamic selection of work in dreamweaver. It completely crashes whenever I try to add to my page. I found someone else in the forum who had the same problem, but no one ever answered. I've tried several things, including putting just the dynamic record and select on its own page with no other code in this regard. He always breaks DW. I also tried this coding myself by making a listmenu and change it so that the value of the option equals a value PHP echo. It crashed too much here. Does anyone have a piece of code with a selection list dynamic work that uses a recordset that I could look at? This way I can see where I am going wrong. All I'm trying to do is to get a simple drop-down menu select list of employee names, so anyone can choose their name for advice. This is a table, a set of records 2 fields (first and last name).

    Using DW CS3, php & MySQL, windows XP Pro

    Any help would be really appreciated!

    That's all! Thanks a lot for your help!

  • Muse to export pages in php but links are always html

    After the update to MuseCC 2015.2 when exporting pages being created to my FTP server have the extension .php (which I think is wrong) and all links in pages are still trying to point to pages .html resulting in a 404 error. I can't seem to change the output of Muse, are the bad links or pages?

    Thanks in advance

    Liquid PHP is the script used for forms. Muse creates pages with forms, so that they are able to run properly, the versions of php. Certainly, it should not affect the structure of the site.

    You have a link to the live site with the problem?

    A solution would be to export the site in HTML format, then transfer it independently using a FTP client.

  • php problem

    I created this page using Dreamweaver and following a php tutorial (thanks, David Powers).  I am quite experienced with writing php and that you have run into problems trying to integrate a recaptcha spam control.  I used the audit successfully with shapes that call a separate script, but need to incorporate code on the actual page in this case and don't get any work.

    Can anyone help?

    Here is the page: http://www.ukcountryradio.com/vote_artist2.php

    And here is the php - I understood all that, so there is not bad...  The page works properly outside verification of recaptcha.

    Thank you

    SW

    <? php require_once('Connections/ukcr.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    @mysql_select_db ($database_ukcr, $ukcr);

    $today = date('l');

    $query_schedules = "SELECT 'day', 'time', short_title, presenter OF day schedules WHERE ="{$today}"AND time > ORDER '0700' TIME, short_title ASC";

    $schedules = mysql_query ($query_schedules, $ukcr) or die (mysql_error ());

    $row_schedules = mysql_fetch_assoc ($schedules);

    $totalRows_schedules = mysql_num_rows ($schedules);

    $errorurl = " " http://www.ukcountryradio.com/error.php " ;

    $my_recaptcha_private_key = "6LdAFb0SAAAAAP5qTVqEAfoycaImqp7-koT8tWlK";

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If (strlen ($my_recaptcha_private_key)) {}

    require_once ('recaptchalib.php');

    $resp = recaptcha_check_answer ($my_recaptcha_private_key, $_SERVER ['REMOTE_ADDR'], $_POST ["recaptcha_challenge_field"], $_POST ["recaptcha_response_field"]);

    }

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "vote_artist")) {}

    $insertSQL = sprintf ("INSERT INTO vote_artist ('name', 'email', artist, REMOTE_ADDR) VALUES (%s, %s, %s, %s)',

    GetSQLValueString ($_POST ['name'], "text").

    GetSQLValueString ($_POST ['email'], "text").

    GetSQLValueString ($_POST ["artist"], "text").

    GetSQLValueString ($_SERVER ['REMOTE_ADDR'], "text"));

    @mysql_select_db ($database_ukcr, $ukcr);

    $Result1 = mysql_query ($insertSQL, $ukcr) or die (mysql_error ());

    $insertGoTo = "vote_thanks_artist.php";

    If (isset {}

    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;

    $insertGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $insertGoTo));

    }

    ? >

    That's what I think will work. Its identical to your first message telling you worked but now the spam field validation has been added at the end of this line:

    If ((isset($_POST["MM_insert"])) & ($_POST ["MM_insert"] == "vote_artist") & (empty($_POST['address2'])))

    Everything that is said is IF address2 form field is empty then run the code between the {}. If address2 is not empty then it should not run the code between the {}.

    Here's the complete block of php code:

    <>

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION< 6)="">

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    @mysql_select_db ($database_ukcr, $ukcr);

    $today = date('l');

    $query_schedules = "SELECT 'day', 'time', short_title, presenter OF day schedules WHERE ="{$today}"AND time > '0700' ORDER BY time, short_title ASC";

    $schedules = mysql_query ($query_schedules, $ukcr) or die (mysql_error ());

    $row_schedules = mysql_fetch_assoc ($schedules);

    $totalRows_schedules = mysql_num_rows ($schedules);

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_insert"])) & ($_POST ["MM_insert"] == "vote_artist") & (empty($_POST['address2']))) {}

    $insertSQL = sprintf ("INSERT INTO vote_artist ('name', 'email', artist, REMOTE_ADDR) VALUES (%s, %s, %s, %s)',

    GetSQLValueString ($_POST ['name'], "text").

    GetSQLValueString ($_POST ['email'], "text").

    GetSQLValueString ($_POST ["artist"], "text").

    GetSQLValueString ($_SERVER ['REMOTE_ADDR'], "text"));

    @mysql_select_db ($database_ukcr, $ukcr);

    $Result1 = mysql_query ($insertSQL, $ukcr) or die (mysql_error ());

    $insertGoTo = "vote_thanks_artist.php";

    If (isset {}

    $insertGoTo. = (strpos ($insertGoTo, '?'))? "&" : "?";

    $insertGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $insertGoTo));

    }

    ?>

  • Spacing of table with IE problem

    Hi guys

    I develop this site right now and seems to have a problem with spacing with IE.

    If you click on the link below and browes through the different pages of bag, you will notice that the spacing of the links on the left moves.

    Can anyone of you spot if im doing wrong or am I missing something in my code?

    Link: http://flyingant.dyndns.org/Lauriana%20Designs/giftbags.html

    Thanks in advance for any help.

    Kind regards

    Ashveer

    Your page will load just as slowly as everything I've seen recently.  Your background image is 527K which is quite heavy (and that I would never use), but even an image heavy would not result in a loading page almost progressively the way yours does. Each image is displayed at a time (these images are each less than ~ 50K, this isn't just a question of weight of image.)  To say that the server is running now seems very optimistic for me... Despite this, however, I would say that all your images could use a good dose of optimization (for JPG images, reduce the quality of the recorded image to ~ 80% in your graphics application before loading on the server).

    Now, because of the slowness of the server, it is very difficult to see spacing changes in the links at left.  In fact, I don't really see any! You're talking about willing tabs vertically on the left, right?

  • PHP problem with IE, but works with Chrome and Safari

    In Dreamweaver CS6, I created a html and a file php for an employment application online be sent by e-mail.  The views of html file fine in Internet Explorer, but when you select the button that manages php he think for a minute then back screen application with nothing entered. The two Chrome & Safari complements the action (submission of the request by email, then displays the message 'success'). I tried to use the Adobe BrowserLab on HTML and PHP files.  No message came that something is wrong. Any suggestions?

    The files in question are displayed at www.heartprinthomecare.com/application1.html & www.heartprinthomecare.com/app.php

    Thank you in advance for any help you can provide

    Additional note: when php is running in Internet Explorer it sends an e-mail VACUUM.

    PHP is a server side, scripting language, the problem must be with the code on the client side. Your form page has several validation errors:

    http://validator.w3.org/check?verbose=1&URI=http%3A%2f%2Fwww.heartprinthomecare.com%2Fappl ication1.html

    Most of this is probably due to your doctype does not match your markup. You must fix this.

    But I think the problem is that you use the culture attribute in the submit button that is only supported in HTML5.  Rather than use the two buttons, set the action in the form tag and give the visitor an option button to choose the location. Then have your script appropriate action based on the selected radio button.

  • PHP cannot read the file [was: PHP problem!]

    Hey all,.

    I have a form on my site that saves the information in a .txt file that appears on different pages.

    My problem that I ran into is the following:

    On the pages within the /membersonly (where the form of php and .txt files are located) information is displayed correctly

    On the pages in the rest of the site, I get php errors.  I tried to run php get for files in the /membersonly area, but this does not seem to make a difference.

    Here are two pages, one that works and one that doesn't.  Check out the code on these pages and see if you can find what I'm doing this wrong or absent.

    http://www.hondovfd.org/apparatus.php

    (this one has problems)

    http://www.hondovfd.org/MembersOnly/login.php

    (this one works very well)

    Thanks for all the help!

    [Thread placed in Dreamweaver Application Development forum moderator and edited for clarity subject line.]

    davidmsilver18 wrote:

    I am still confused as to why the pages in my area /apparatus do not work.  How can I create a path relative to the area of /membersonly if I'm in a different folder on top of my site?

    If you use PHP, you need to learn some basics of HTML. A relative path using... / to go up a level.

    $filehandler = fopen('../membersonly/month.txt', 'r');
    

    The alternative is to use an absolute path, that will work independently where the script is. Judging by the error message, this should be:

    $filehandler = fopen('/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt', 'r');
    

Maybe you are looking for