Template with php script, white space around background, locking layers

two questions for 2 sites:
1.) first site http://www.beckervanhoveln.com
I can't get my background to line up correctly; there is a giant white border around the whole thing. With the amount of extra space around the background on all sides, I think it may be an issue with the illustrator file I am importing, but I can't see any way to fix it there, either. All the margins that I can find to change relating to that background are set to 0. Any ideas on what could be causing this? The image in Illustrator is 14" wide, so it's plenty wide enough to cover the whole page.
2.) site http://sai.theclothesgallery.com
I inserted php scripts into a page (in the editable paragraph region) and it is messing up the alignment of the page. Compare what you get on the home page with what you get when you click the "client login" button. Also, wondering where the extra body area came from on page http://sai.theclothesgallery.com/protected_downloads_zdr/validuser.php.
On both sites I am using wrapper and body tags, as directed in the tutorial by Nate (great one, thanks!). On my old site, http://www.theclothesgallery.com, everything works fine, but on the new ones I am just out of my mind. I've spent 10 hours over the last 2 days doing research and trying to manipulate code, to no avail. Thanks to anyone who can help.
Finally, is there a way to lock a layer inside or on top of another layer. for example, the layer the body text is in on site http://sai.theclothesgallery.com is on top of the layer that holds the page's images (which is an imported illustrator file with slices). Is there a way to lock that layer to the first one so it doesn't move if I make changes?

Kelly,
1. The image itself has a white border. You will need to crop that image
in an image editor such as Photoshop.
2. Looking at the source of the page you have two  sections and
two opening  toags but only one closingtag. The PHP
script is probably creating the additional sections, but without seeing
the script it is impossible to say for certain.
2a. You probably have a space or blank line before the opening

Similar Messages

  • White space around Videos

    Hello,
    I am embedding videos into an HTML page and they show up with
    a big white space around the player. Is there a way I can get rid
    of this white space so the videos are neatly contained in only the
    space of the actual video and controls?
    Thanks
    Fiona

    Can u show hoe you have embeded your code?
    this may happen due to incorrect size. Please check the Flash
    Width and height and your HTML tag

  • Removing White Space Around Header - from CSS?

    What is causing the white space around the header and
    above/below the top nav bar? There's also an extra white pixel
    space between each of the buttons on the top nav bar.
    See;
    http://home.roadrunner.com/~phenline/products/prods_models_9_10_07.html
    I've also attached the CSS stylesheet.
    I thought it might be a valign tag but they are all in the
    main text and are necessary to glue the 3 main sections just under
    the top nav bar. I couldn't find any vspace or hspace options in
    the code.
    Because of the rollovers on the top blue horizontal nav bar,
    I need the "class" option in each <td> tag. Otherwise, if I
    put the class="navMain" option on the <tr> tag, then the
    whole nav bar will show the rollover color. Or, I suppose I could
    create 5 different CSS styles for each nav button ???
    Any ideas? Thank you.

    HI, for first you should to revrite tables to DIV, or you can
    correct this with a CSS code for the table:
    for example you shold to check the background color to the
    same:
    .x {
    background-color: #3766c8;
    for more example about Table CSS styling you can check a good
    wizard:
    http://www.somacon.com/p141.php
    Titti
    http://textures.z7server.com/

  • White space around graphic

    Is there any way to get rid of the white space around an image. A lasso?

    Do you mean the wide gutter? The default for all graphics inserted or dragged & dropped into a Pages document is 12 points. You can use the wrap inspector to either turn off the wrap or decrease the gutter?
    If you want to make the background transparent, take a look at a recent thread starting here.

  • When Importing Images, How Do I Remove The White Space Around The Corners?

    When Importing Images, How Do I Remove The White Space Around
    The Corners?

    u may use magic wand (and magic wand setting) from Lasson
    Tool to select and delete that white space, but u must break a part
    to the picture first.

  • Why is there a black part in the X when I try to delete my app? It's covering up the supposed to be white space around the X button

    Help!! Why is there a black part in the X when I try to delete my app? It's covering up the supposed to be white space around the X button

    Try:
    - Reset all settings                  
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.                     
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar
    Since they all line up on the left site that could be a hardware problem or maybe a software glitch. I have never seen that problem posterd here before

  • Create HTML Contact Form with PHP script

    Hi Everyone
    I have designed a contact form in HTML with PHP script but it doesn't seem to be working. The PHP echo message doesn't appear after I submit the form and the e-mail message is not delivered.  The url address is http://www.dreamaustraliastudytours.com.au/Test/ContactUs.html. Any thoughts would be greatly apprecipated
    Thank you in advance
    Paul

    Hi Ben and Murray
    Thank you for your input on the php script. You nailed the problem on the head. I have up dated the script  and provided it below. I have one more question.
    After the end user submits the form I would like them to be directed to another html file - for example successful.html. Would the code be
    $insertGoTo = "successful.html";
    delete 'Thank you for contacting us. We will be in touch with you very soon.'?
    Once again thank you for your advice
    Regards
    Paul
    <?php
    if(isset($_POST['email'])) {
        $email_to = "[email protected]";
        $email_subject = "New Inquiry";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['first_name']) ||
            !isset($_POST['last_name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['telephone']) ||
            !isset($_POST['comments'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['first_name']; // required
        $last_name = $_POST['last_name']; // required
        $email_from = $_POST['email']; // required
        $telephone = $_POST['telephone']; // not required
        $comments = $_POST['comments']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$first_name)) {
        $error_message .= 'The First Name you entered does not appear to be valid.<br />';
      if(!preg_match($string_exp,$last_name)) {
        $error_message .= 'The Last Name you entered does not appear to be valid.<br />';
      if(strlen($comments) < 2) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "First Name: ".clean_string($first_name)."\n";
        $email_message .= "Last Name: ".clean_string($last_name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Telephone: ".clean_string($telephone)."\n";
        $email_message .= "Comments: ".clean_string($comments)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>

  • White spaces around cells

    I am inserting graphics in ajoining cells than need to form a
    continous image across the screen. Dreamweaver cs3 always places a
    white space between each cell so a thin white space shows between
    the cells. I have click "never" in Layout mode in preferences so a
    transparent gif will not be inserted, but the problem continues.
    What do I try next?

    Create a new page. Exit layout mode. INSERT | Table. Click
    within a table
    cell. INSERT | Table.
    Don't use Layout mode. In my opinion, there are three serious
    problems with
    Layout Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    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
    ==================
    "DavidConner" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thank you ACE. That was very helpful. How do you suggest
    I insert tables?
    >
    > David

  • InDesign 2.0: White Space Around Pages Disappeared

    I'm having a really frustrating issue with a document I've been creating in the same way for years. I usually use the whitespace around the pages in InDesign 2.0 to work on my graphics, but this morning I accidentally hit some mysterious shortcut that made the white space (and all my graphics) disappear (the are is now grey) I've been searching and searching the help section and the internet for a solution, but I'm stumped and running way behind on this project. Anyone know how to get that white space back? Thanks.

    Look at the last tool in the toolbox. This toggles between normal mode viewing the pasteboard, guides and other stuff,
    and the preview mode. As Dave says, the keyboard shortcut into and out of preview (which you obviously hit) is W, but if
    you use the toolbox button you will also be able to select a preview showing the bleed area and slug area as well.
    k

  • White space around image when doing Save for Web

    Say I draw a simple square in Illustrator CS6 then export it to a PNG using Save for Web. The preview shows 1px thick of white space on the right side. Sometimes it's on 2 sides or more.
    No other hidden elements are around the image. Clip to artboard in not clicked.
    Why does this happen and how do we get rid of it?

    For once I get to answer a post and say somehting good about align to pixel grid.
    Turn it on
    Your image will now align to the pixel grid
    Turn it off when not doing web work, or will drive you mad.

  • Connect to oracle database with php script

    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin
    null

    Hello
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mheibel([email protected]):
    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin<HR></BLOCKQUOTE>
    Install and put working a sqlnet working client (install the Oracle Client option of the Oracle Database CD ROM). Than compile php with the --oci option. Than try the samples in php.net (oci function in the help).
    These are the steps... Put everything working is a little more complicated...
    FS
    null

  • Extra White Space Around Header Graphic & NavBar

    I have a header graphic and Navigation Bar (rollover images)
    positioned inside a table. Unfortunately, there is about 1-2 pixels
    of white space on the left, right, and top of the header graphic.
    Same with the NavBar--there's 1-2 pixels of white space on the
    edges (left & right sides). By default, cell padding for the
    table is set to zero. If cell padding is set to zero, why am I
    seeing white space between the edge of the graphic and the edge of
    the table?
    You can see what I'm referring to here:
    http://newstartinvestment.com
    What is causing this extra white space, and how do I get rid
    of it?

    On 26 Mar 2007 in macromedia.dreamweaver, csbridges wrote:
    > I have a header graphic and Navigation Bar (rollover
    images)
    > positioned inside a table. Unfortunately, there is about
    1-2 pixels
    > of white space on the left, right, and top of the header
    graphic.
    > Same with the NavBar--there's 1-2 pixels of white space
    on the edges
    > (left & right sides). By default, cell padding for
    the table is
    > set to zero. If cell padding is set to zero, why am I
    seeing white
    > space between the edge of the graphic and the edge of
    the table?
    >
    > You can see what I'm referring to here:
    >
    http://newstartinvestment.com
    (Btw, I
    > don't like the yellow rollovers--they'll be removed
    shortly.)
    >
    > What is causing this extra white space, and how do I get
    rid of it?
    Personally, I thought that the white border was a feature,
    but... In
    addition to the cellpadding, add cellspacing:
    <table width="780" border="0" align="center"
    cellpadding="0"
    cellspacing="0" bordercolor="#000000" bgcolor="#FFFFFF">
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Problem uploading images with php script.

    As a webdebdesigner i developped a cms system to upload images with php to a mysql database. Firefox version 5.0.1 for MAC and earlier have no problems with uploading through the script. But after that version it is impossible to upload images bigger then 250kb. The page where the customer chooses his image for upload stalls and the form is not sent to the actual upload script, which should validate and process the image.
    This problem only occurs in Firefox, all other browsers work just fine!
    On top of that: Giving feedback to firefox not possible for MAC.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web site development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • White space around web form

    Hi all!
    I have my form set to maximize, but I'm getting about 5 or 6 pixels of white space border all the way around my form in the frame that it's in. Any idea how to make it take advatange of all the space??
    Thanks!
    Steve

    Hi Steve,
    Check your base html file for the values of HSPACE and VSPACE, they should be zero.
    If you run in seperateFrame=False then put topmargin and leftmargin in the body tag like:
    <BODY topmargin="0" leftmargin="0">
    That should help.
    Good luck,
    Michiel

  • Weird white space around my AI file.

    Hi buddy,
    I just installed Illustrator CC and I got my interface look like this.
    Why there's a white space at the right and bottom of my document? And I don't have any trouble like this with my Photoshop and Indesign, both looks normal.
    I'm using DELL 15z 7357 with Windows 8 Single Language.
    Thanks before.

    Jacob,
    I was try to click the lower right of the document and drag it to the white space, and it doesn't have any respons.

Maybe you are looking for