Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Question Placeholder color problem

    If I insert this code into Placeholder and export site, background color and font color does not work properly as if I preview this file alone.

    HTML Code:
    <html>
    
    <body bgcolor="#ffffa5" text="#000000">
    
    <table cellpadding="0" cellspacing="0" border="0" width="360"><tr><td align="left" valign="top">
    
    
    <br>
    
    
    
    
    
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
    
    <tr><td valign="top">
    
    Name <span style="color:ff0000">*</span><br>
    <input type="text" name="your_name" size="30" class="shadeform"><br>
    
    </td></tr><tr><td>
    
    Phone <span style="color:ff0000">*</span><br>
    <input type="text" name="phone" size="30" class="shadeform"><br>
    
    </td></tr><tr><td>
    
    Email <span style="color:ff0000">*</span><br>
    <input type="text" name="email" size="30" class="shadeform"><br>
    
    </td></tr><tr><td>
    
    Please confirm your email <span style="color:ff0000">*</span><br>
    <input type="text" name="email_confirm" size="30" class="shadeform"><br>
    
    <br><br>
    
    I am interested in:<br><br>
    <span class="quotechoice">
    <input type="checkbox" name="check1" value="Choice 1"> test<br>
    <input type="checkbox" name="check2" value="Choice 2"> test<br>
    <input type="checkbox" name="check3" value="Choice 3"> test<br>
    <input type="checkbox" name="check4" value="Choice 4"> Other<br>
    </span>
    
    <br>
    
    Message <span style="color:ff0000">*</span><br>
    
    <textarea name="comments" rows="5" cols="35" class="textarea"></textarea>
    
    <br><br>
    
    <input type="submit" value="Send" class="submitbutton"><br>
    
    </td></tr></table>
    
    </form>
    
    </td></tr></table>
    
    
    
    </body>
    </html>

  2. #2

    Default Re: Placeholder color problem

    You cannot have two <body areas in a single page.
    Web Designer has it's own body tags and uses an external .css for the colors.
    What you are trying to do (load a complete page HTML code into a placeholder) is wrong entirely.

    However, you can use an iframe to load an external page.
    This way the colours defined in the external file will be used in the iframe.
    (the WD page itself can be coloured the same #FFFFA5)

    See attached for the result.
    Attached Files Attached Files

  3. #3
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Placeholder color problem

    Or simply use the part of HTML you really need instead of the entire page source
    Put this into placeholder:
    Code:
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
    
    <tr><td valign="top">
    
    Name <span style="color:ff0000">*</span><br>
    <input type="text" name="your_name" size="30" class="shadeform"><br>
    
    </td></tr><tr><td>
    
    Phone <span style="color:ff0000">*</span><br>
    <input type="text" name="phone" size="30" class="shadeform"><br>
    
    </td></tr><tr><td>
    
    Email <span style="color:ff0000">*</span><br>
    <input type="text" name="email" size="30" class="shadeform"><br>
    
    </td></tr><tr><td>
    
    Please confirm your email <span style="color:ff0000">*</span><br>
    <input type="text" name="email_confirm" size="30" class="shadeform"><br>
    
    <br><br>
    
    I am interested in:<br><br>
    <span class="quotechoice">
    <input type="checkbox" name="check1" value="Choice 1"> test<br>
    <input type="checkbox" name="check2" value="Choice 2"> test<br>
    <input type="checkbox" name="check3" value="Choice 3"> test<br>
    <input type="checkbox" name="check4" value="Choice 4"> Other<br>
    </span>
    
    <br>
    
    Message <span style="color:ff0000">*</span><br>
    
    <textarea name="comments" rows="5" cols="35" class="textarea"></textarea>
    
    <br><br>
    
    <input type="submit" value="Send" class="submitbutton"><br>
    
    </td></tr></table>
    
    </form>
    
    </td></tr></table>
    John.

  4. #4

    Default Re: Placeholder color problem

    Yes, well that's an alternative of course..

  5. #5

    Question Re: Placeholder color problem

    What I want to do is to create contact form that will change color when I click on the field.

    So form should look white but when I click on the Name field surounding rectangle should become yellow and when I click on the next field this one should go back to white and next one change to yellow.

    Please check attachment to see what I mean.

    If I learn this I would be able to crate fancy looking web form that works with formmail.

    How can I do it?
    Attached Files Attached Files

  6. #6
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Placeholder color problem

    Hmmm I can get it to work in FF but not IE.
    Attached Files Attached Files

  7. #7
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Placeholder color problem

    Where's the opening <form> tag?
    John.

  8. #8

    Bug Re: Placeholder color problem

    I did not mean that.

    Try testing this form and see what happen when you click at the field:

    http://www.formstack.com/forms/?944891-3K8McREcGW

  9. #9
    Join Date
    Oct 2003
    Location
    Reading, United Kingdom
    Posts
    168

    Default Re: Placeholder color problem

    Quote Originally Posted by zaoka View Post
    I did not mean that.

    Try testing this form and see what happen when you click at the field:

    http://www.formstack.com/forms/?944891-3K8McREcGW
    You do realise that this forum is dedicated to Xara Software? Have you checked to see if Formstack have their own forums

  10. #10

    Default Re: Placeholder color problem

    I want to find a way to create this and use in Xara if possible, I am sorry if im asking for too much.
    Im still new to Xara so im exploring to see what I can do.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •