CSS Aligning a form

I am having some serious issues vertically aligning a form. I have to use this form, it was given to me by the company I work for. I am new to CSS and can't seem to get this to align appropriately. If you look at the website you will instantly see what I am talking about, with the form by the graphic that says "Check Availability"
http://www.colonybeachresort.com/re-design/
If anyone can help, that would be great! I've attached the css used too.

nowherecreative wrote:
My specific question is ... what is the best way to go about vertically aligning a form within a div? I need each form element to line up with the "check availability" text. At one point I did have IDs assigned to the form elements, but then I was told from someone not to do that. I will try it again and see if I can somehow get it working. Thank you for your help
Probably best to use a simple table as you can align vertically in a table cell whereas a css/<div> combination can't do that. Well I say can'tdo it - you can get away with one line of simple text in a <div> using line-height; but you have form elements and images.
You can try and shift elements into position by giving them a padding or margin or a combination of both. However in my expience forms are a bugger to line up correctly using css.
For starters you can zero out the default margin on the form tag
form {
margin: 0;
padding: 0;
Then push it down a bit to line up with the 'check availability' background image by adding some top padding:
form {
margin: 0;
padding: 10px 0 0 0;
You could then try and push the two image 'calendar' and 'submit' down as well;
form img {
padding-top: 10px;
However I found that this shifted the form fields down as well, at which point I gave up lol
I would have at that stage used a simple table and put each element (including 'check availability' in its own cell and set the vertical align to middle.

Similar Messages

  • Need help in alignment a form

    Hello,
    I am new in writing HTML code. I need help to align my Form
    and it's text.
    Please view my code and please show me how to align all the
    square boxes (the square box is where the user type the text
    input). Currently I have 2 boxes but they are not aligned. The
    below is my code:
    <FORM name="input" method="get" >
    PROJECTROOT: <INPUT TYPE=TEXT SIZE=50 NAME=proj_root>
    <br>
    FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    <BR>
    <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    </FORM>
    Would you please help.
    Thank you very much
    Goober35

    <form name="input" method="get" action=""> <!-- ARE
    YOU SURE YOU NEED "GET"
    and not "POST"? -->
    <table cellspacing="0" cellpadding="0" border="0"
    width="300">
    <tr>
    <td><label for="proj_root">PROJECTROOT:
    </label></td>
    <td><input type="text" size="50" name="proj_root"
    id="proj_root"></td>
    </tr>
    <tr>
    <td><label for="frontend">FRONTEND:
    </label></td>
    <td><input type="text" size="50" name="frontend"
    id="frontend"></td>
    </tr>
    <tr>
    <td colspan="2" align="center"><input type="submit"
    name="submit"
    id="submit" value="Submit" onclick="save()"></td>
    </tr>
    </table>
    </form>
    (your form needs an action attribute value)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "goober35" <[email protected]> wrote in
    message
    news:gcjmlh$p42$[email protected]..
    > Hello,
    > I am new in writing HTML code. I need help to align my
    Form and it's text.
    > Please view my code and please show me how to align all
    the square boxes
    > (the
    > square box is where the user type the text input).
    Currently I have 2
    > boxes but
    > they are not aligned. The below is my code:
    >
    > <FORM name="input" method="get" >
    > PROJECTROOT: <INPUT TYPE=TEXT SIZE=50
    NAME=proj_root> <br>
    > FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    > <BR>
    > <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    >
    > </FORM>
    >
    >
    > Would you please help.
    >
    > Thank you very much
    > Goober35
    >
    >
    > <FORM name="input" method="get" >
    > PROJECTROOT: <INPUT TYPE=TEXT SIZE=50
    NAME=proj_root> <br>
    > FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    > <BR>
    > <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    >
    > </FORM>
    >

  • How to use css in oracle forms

    Hello,       I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • CSS Align right problem

    Hi
    I am using the following css to align a div to the right hand
    side of the
    page:
    #headerRight { RIGHT: 10px; MARGIN-RIGHT: 0px; POSITION:
    absolute; TOP: 5px;
    align: right; border: 0; width: 235px;}
    The above seems to work well, except for one small annoying
    problem. If the
    content of the page is wide and causes the horizontal scroll
    bar to appear,
    then the div seems to work as it appears 10px from the right
    side of the
    window. However if I move the horizontal scroll bar over to
    the right, then
    the div doesnt move accordingly.
    If I then resize the browser window, then the div moves and
    always lines up
    10px from the edge no matter what size the window is.
    Anyone know where I am going wrong, or need any more
    information?
    Thanks
    Brendan
    Rate your experiences with your UK and Ireland builders at
    http://www.ratethebuilder.co.uk
    =========================================

    Solved the problem by using the following javascript code:
    function scrollDetect(){
    document.getElementById("headerRight").style.left =
    document.body.clientWidth - 245 + document.body.scrollLeft;
    setInterval("scrollDetect()", 500);
    Where 245 is the width of the div.
    Only problem is that the code probably isnt cross browser at
    the moment, but
    I'll work on that.
    Thanks again for all your help.
    Rate your experiences with your UK and Ireland builders at
    http://www.ratethebuilder.co.uk
    =========================================
    "RateTheBuilder" <[email protected]>
    wrote in message
    news:[email protected]...
    > Osgood
    >
    > Sorry, would love to post a url, but content is
    sensitive.
    >
    > Basically I have a div which stretches the width of the
    page which
    > contains the header details. Then on top of this div but
    to the very right
    > of the page I have a div that I have absolute
    positioning set. This div
    > must remain the set distance from the right of the
    screen (10px) even when
    > the user is scrolling horizontally.
    >
    > Thanks for your time so far and I hope I've shed a
    little more light.
    >
    > Brendan
    > ______________________________________________
    > Rate your experiences with your UK and Ireland builders
    at
    >
    http://www.ratethebuilder.co.uk
    > =========================================
    >
    > "Osgood" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> RateTheBuilder wrote:
    >>
    >>> Osgood
    >>>
    >>> There is no content on the same level as the div
    to the right, but the
    >>> content below the div may extend the width of
    the page. There are other
    >>> divs on the same level as the one I want to keep
    right and I have the
    >>> problem div above them, so that is why I used
    absolute positioning.
    >>
    >> Sorry i'm lost.
    >>
    >> You say you have no content on the same level as the
    div to the right and
    >> then say there are other divs on the same level as
    the one you want to
    >> keep right?
    >>
    >> Can you post a url to the page in question?
    >>
    >
    >

  • How can i get the code html and css of my form please help me

    how can i get the code html and css of my form

    HI,
    If you like to embed the HTML form in your web page then you will need to obtain the form code from the Distribite/Embed tab. Additional information can be found here: http://forums.adobe.com/docs/DOC-1991
    You will not be able to access/modify the css code or the rest of the form html code.  If you like to view the source of of a HTML page, please use your browser 'view source code' functionality.
    I hope this answer your question,
    Thanks,
    Lucia

  • Horizontal toolbar alignment in form

    Hello,
    We are in the process of migrating from Forms 6i C/S to Forms 10g R2.
    We have a problem in which the Horizontal toolbar is aligned to the left instead of the right, the direction is ok all the buttons in the design preview are placed in the same order but the toolbar canvas is drawing the items from left to right
    Ex:
    design:
    _________________________________________ [button2][button1]
    On the web:
    [button2][button1]_________________________________________
    There is also an image on the canvas and it's position stays the same.
    The module, block, canvas and window direction property is Right to Left, The NLS_LANG is HEBREW_ISRAEL.IW8IS08859P8, Oracle10gDS platform is win 2000 and browser is IE.
    This works well in Forms 6i C/S but seems broken is 10g....
    I even tried to make a new form with the toolbar and it didn't work, so it's not related to the application code.
    Thank you for your help.

    did you search in metalink for such a problem. This seemed to be the fastest way, because the environment is not typical for our WE8ISO-environments

  • Verticle Aligning a Form Within a Table

    I got a form code for our hotel reservations from the
    company, I'm trying to vertically align it in the middle of a
    table. I have no problem aligning it center horizontally. I only
    know minimal html and would greatly appreciate anyone who can help!
    I've attached the code to look at.

    What 'vertical alignment' are you hoping to achieve?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "nowherecreative" <[email protected]> wrote
    in message
    news:[email protected]...
    >I got a form code for our hotel reservations from the
    company, I'm trying
    >to
    > vertically align it in the middle of a table. I have no
    problem aligning
    > it
    > center horizontally. I only know minimal html and would
    greatly appreciate
    > anyone who can help! I've attached the code to look at.
    >
    > <body>
    > <table width="800" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td height="40" align="center" valign="middle"
    bgcolor="#99CCFF">
    > <form
    action="https://reservations.ihotelier.com/istay.cfm"
    method="get">
    > <input type="hidden" name="HotelID" value="####"
    />
    > <input type="hidden" name="LanguageID" value="#"
    />
    > <input type="hidden" name="Rooms" value="1" />
    > <font color="#FFFFFF" size="2" face="Palatino
    Linotype">Check-In
    > Date:</font>
    > <input name="DateIn" type="text" size="8" />
    > <font color="#FFFFFF" size="2" face="Palatino
    > Linotype">Nights:</font>
    > <select name="Length">
    > <option value="1"
    selected="selected">1</option>
    > <option value="2">2</option>
    > <option value="3">3</option>
    > <option value="4">4</option>
    > <option value="5">5</option>
    > <option value="6">6</option>
    > <option value="7">7</option>
    > <option value="8">8</option>
    > <option value="9">9</option>
    > <option value="10">10</option>
    > </select>
    > <font color="#FFFFFF" size="2" face="Palatino
    > Linotype">Adults:</font>
    > <select name="Adults">
    > <option value="1"
    selected="selected">1</option>
    > <option value="2">2</option>
    > <option value="3">3</option>
    > <option value="4">4</option>
    > </select>
    > <font color="#FFFFFF" size="2" face="Palatino
    Linotype">
    > Children:</font>
    > <select name="Children">
    > <option value="0"
    selected="selected">0</option>
    > <option value="1">1</option>
    > <option value="2">2</option>
    > <option value="3">3</option>
    > <option value="4">4</option>
    > </select>
    > <input name="submit" type="submit" value="Submit"
    />
    > </form></td>
    > </tr>
    > </table>
    > </body>
    >

  • Surface Pro 3, Project Siena Apps, Need CSS for that form factor ASAP please

    Now that the Surface Pro 3 is out, I really don't like the black bars that appear above and below Project Siena Apps.
    I don't know enough to figure out how *I* can edit the CSS which currently states:
    #publishedCanvas {
        /* TASK: 73670: Add support for different form factors. */
        width: 1366px;
        height: 768px;
        background-color: transparent;
    but I'd like the code I should use (at my own risk, I know) to fix the CSS for all my apps.
    Please, MS folks or anyone?
    -- Barb Bowman

    Now that the Surface Pro 3 is out, I really don't like the black bars that appear above and below Project Siena Apps.
    I don't know enough to figure out how *I* can edit the CSS which currently states:
    #publishedCanvas {
        /* TASK: 73670: Add support for different form factors. */
        width: 1366px;
        height: 768px;
        background-color: transparent;
    but I'd like the code I should use (at my own risk, I know) to fix the CSS for all my apps.
    Please, MS folks or anyone?
    -- Barb Bowman

  • Problem in Alignment - Adobe Forms

    I am new to Adobe forms technology.
    I have an production issue: When they run a standard report to generate a PDF pay stub in R/3, it looks fine with all the columns. But when the same pay stub is viewed though our ESS on portal (Company website), few values in the columns are good but few of them are not aligned. They are moved to the left.
    So what can be the problem?
    What are the things I need to check?
    How do I see the Adobe form? How is the adobe form being passed to the portal?
    Thanks
    Kiran
    Edited by: kiran dasari on Jan 23, 2009 2:08 AM

    Few fields have reference to table XBT. But when I see this in SE 11, such a table is not existing at all.
    Can any of you share some ideas or clues?
    Thanks in anticipation.
    Regds,
    Kiran
    Edited by: kiran dasari on Jan 26, 2009 7:53 AM

  • Alignment of Form Feilds in Invoice Screen using Form Personalizations

    Hi,
    I want few feilds to hide in Invoice Form. I tried to hide few columns in the middle of the form but couldn align the rest of the columns with in the Position of hided Columns.
    Am able to move the feilds but not able to move the Lable of the Feilds
    Please help me on this.
    Thanks,'
    Maggi.

    Dear,
    This might be the problem of Adobe Acrobat Reader. what is the version of Adobe you are using ?? If it 9.0, then uninstall it and reinstall 8.0 and then check .
    Could you please check your installed SAPGUI component? If component 'Engineering Client Viewer' is installed, please uninstall
    it. And try to call same transaction again.
    BR, Deepak

  • Odd alignment in form

    I inherited some css from the person who worked on this file previously.
    So far, I've taken what used to be a very complicated looking form, and simplified it. I'm close to being done, but can't seem to make the phrase "Last Name" line up with the other labels.
    NOTE: It does line up in Safari. But does NOT line up in Firefox.
    I'm guessing it has something to do with either widths, margins or padding. I've played around with all of these but can't seem to find the right combo that makes it all line up in Firefox. Here is the test file:
    http://www.jamison-design.com/test/abotests/ProfileTest.php
    I appreciate your help in spotting the problem! I'm currently learning css, but have a long way to go... so it would help if you could respond in as simple terms as possible. :-)
    THANKS!!! -- Wn10

    The "clear" style clears any current floats.  Your problem was the existing float:right on the text box was affecting the subsequent label.  This layout is indeed an odd way to do things, honestly.  I'd do them like this -
    <ol>
    <li><span class="label">Label Stuff</span><span class="input">blah</span></li>
    <li><span class="label">Label Stuff</span><span class="input">blah</span></li>
    <li><span class="label">Label Stuff</span><span class="input">blah</span></li>
    <li><span class="label">Label Stuff</span><span class="input">blah</span></li>
    <li><span class="label">Label Stuff</span><span class="input">blah</span></li>
    </ol>
    Then you could have -
    ol {
         list-style-type:none;
    span.label {
         display:block;
         float:left;
         margin-right:10px;
         padding-right:5px;
         border-right:1px solid #CCC;
    span.input {
         display:block;
         float:left;
    li {
         overflow:hidden;
         width:400px;

  • CSS alignment disparities and fix: LIVE View & Browser Lab views

    The upper half is LIVE View in DW CSS5.5 while the lower left is IE 9 and the lower right is FF 11 in BrowserLab.  Why such a disparity between LIVE View and IE9 and FF11?  You may notice that the horizontal navigation bar is only properly aligned in the IE9 view.  In fact the IE9 is exactly as I want this dwt file to look like.  I am redesigning my current web site and working solely on the dwt file.   These are the dwt and CSS code views. Where do I start to have FF aligned as IE9 and to fix the misleading LIVE view image.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
      <meta name="generator" content="HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />
      <meta name="description" content="Dillmans of Notasulga, Alabama" /><!-- Loading favicon -->
      <link rel="shortcut icon" type="image/x-icon" href="http://frankdillman.com/images/favicon/pryapus.ico" />
      <!-- Link to style sheet for this web site -->
      <link href="../css/frdstyles.css" rel="stylesheet" type="text/css" />
      <!-- Title below is for browser title bar and search engines only -->
      <!-- TemplateBeginEditable name="doctitle" -->
      <title>The Dillmans of Notasulga, AL</title><!-- TemplateEndEditable -->
      <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body style="margin: 0; padding: 0">
       <div id="wrap">
      <!--Start of page header -->
      <div id="header">
        <img src="../images/forest.gif" alt="forest gif" style="position:absolute; top: 5px; left: 5px" />
        <h1 style="margin-top: 0">Dillmans of Notasulga, AL</h1>
      </div>
      <!--End of page header-->
      <!--Start of horizontal nav bar-->
      <div id="navigationbar">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a class="MenuBarItemSubmenu" href="#">us</a>
            <ul>
              <li><a href="#">Frank</a></li>
              <li><a href="#">Dorothea and me</a></li>
              <li><a href="#">Grandkids</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">local interest</a>
            <ul>
              <li><a href="#">Notasulga</a></li>
              <li><a href="#">Macon County</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">recreation</a>
            <ul>
              <li><a class="MenuBarItemSubmenu" href="#">stained glass</a>
                <ul>
                  <li><a href="#">Item 3.1.1</a></li>
                  <li><a href="#">Item 3.1.2</a></li>
                </ul>
              </li>
              <li><a href="#">GPry Dogs</a></li>
              <li><a href="#">Goats</a></li>
              <li><a href="#">Orchids</a></li>
              <li><a href="#">Genealogy</a></li>
              <li><a href="#">Farm </a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">politics</a>
            <ul>
              <li><a href="#">TEA Party Locator</a></li>
              <li><a href="#">Misc. Notes</a></li>
              <li><a href="#">Elections</a></li>
              <li><a href="#">Legislature</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">links</a>
            <ul>
              <li><a href="#">Not Forever Wild</a></li>
              <li><a href="#">Dillman Family Assoc.</a></li>
              <li><a href="#">Military</a></li>
            </ul>
          </li>
        </ul>
      <!--End of horizontal nav bar-->
      </div>
      <!--Start of page sidebar-->
      <div id="sidebar">
      </div>
      <!--End of page sidebar-->
      <!--Start of main content-->
      <div id="main">
        <!-- TemplateBeginEditable name="frankbody" -->page body - do not take closing div <!-- TemplateEndEditable -->
      </div><!--End of main content-->
      <!--Start of page footer -->
      <div id="footer">
        <table style="width: 100%" summary="footer items">
          <tr>
            <!-- TemplateBeginEditable name="page footer1" -->
            <td style="width: 75px"> </td>
            <td style="width:150px; text-align: right">
              <div id="update">
                <!-- #BeginDate format:En2m -->05-Dec-2012  15:03<!-- #EndDate -->
              </div>
            </td><!-- TemplateEndEditable -->
            <td style="width:150px; text-align:center">
              <div id="copyright">
                &copy; 2008, 2009, 2010, 2011, 2012
              </div>
            </td><!-- TemplateBeginEditable name="footer2" -->
           <!-- <td style="width:100px; text-align:center"><a href="http://validator.w3.org/check?uri=referer"><img src=
            "http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a></td> -->
           <!-- <td style="width:100px; text-align:center"><a href="http://jigsaw.w3.org/css-validator/"><img style=
            "border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt=
            "Valid CSS!" /></a></td>  -->
            <!-- TemplateEndEditable -->
          </tr>
        </table>
      </div><!--End footer-->
        <!--close wrap--></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
       </script>
    </body>
    </html>
    CSS file:
    /*stylesheet.css for my personal pages*/
    /* Body text and page background */
    body{
         margin:0;
         padding: 0;   
         font-family: 'Book Antiqua', Times, Serif;
         font-size: medium;
         color: #000000;
         background-color: #FFFFFF;
    #wrap{
        margin: 0 auto;
        width: 860px;
        position: relative;
    /*Style for main content */
    #main{
        margin-left:14.5em;
        margin-right:0;
        padding: 5px;
        text-align: justify;
        background-color: #B2F63D;
        color: #333333;
    /* Page header style 4Dec2012 testing additonal height: auto line of code suggested by http://www.adobe.com/inspire-archive/january2011/articles/article2/index.html?trackingid=I EHCL */
    #header{
        top:100px;
        left:0;
        width:100%;
        height: auto;
        height:50px;
        background-color: #BF9230;
        border-bottom: thick solid #000000;
    /*horizontal naivagion bar using spry*/
    #navigationbar {
    /*Style for sidebar column  with total width of 10.5em and top:5.25em   UNABLE to GET top to align with body top.  Adjusting sidebar top has no effect */
    #sidebar {
        position: fixed;
        top: 5.25em;
        left: 4.65em;
        font-family: Arial, Helvetica, sans-serif;
        float: left;
        display: inline;
        padding: 2em;
        width: 10.5em;
        background-color: #619A00;
        border-right: thin solid #000000;
    .redbold {
        color: #FF0000;
        font-weight: bold;
    .quotetext {
        font-style:italic;
    .bluebold {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        font-variant: normal;
        color: #0066CC;
        text-decoration: none;
        text-align: center;
      /*Level 1 Headings */
    h1{
        font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: x-large;
        color: #00008b;
        text-align: center;
    /*Level 2 Headings */
    h2{
         font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: large;
        color: #00008b;
        text-align: center;
    /*Level 2 Headings in red*/
    h2_red{
        font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: large;
        color: #FF0000;
        text-align: center;
        font-weight: bold;
    /*Level 3 Headings */
    h3{
        font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: medium;
        color: #00008b;
        text-align: center;
    /* Unvisited links */
    a:link{
       color: #00bfff; /* sky blue */
       text-decoration: underline;
    /* Visited links (no underline) */
    a:visited{
    color: #ff00ff; /* fuchsia */
    text-decoration: none;
    /* Hover links (red no underline) */
    a:hover{
    color: #ff0000; /* red */
    text-decoration: none;
    /* Active links (green no underline) */
    a:active{
    color: #00ff00; /* green */
    text-decoration: none;
    /*Float image to left of paragraph*/
    img.floatLeft{
       float: left;
       margin-right: 5px; margin-top: 5px; margin-bottom: 5px;
    /* Float image to right of paragraph */
    img.floatRight{
    float: right;
    margin-left: 5px; margin-top: 5px; margin-bottom: 5px:
    /* Center image between margins */
    div.center{
    width: 100%;
    text-align: center
    /* Page footer style */
    #footer{
         clear:both;   
         height: 42px;
         width: 100%;
         background-color: #BF9230;
         border-top: thick solid #000000;
    /*Page footer and automatic update of date */
    #update{
       font-family: 'Times New Roman', Times, serif;
       font-size: x-small;
       color: #000000;
       text-align: left;
       margin-left: 7em;
    /*Page footer copyright dates */
    #copyright{
       font-family: 'Times New Roman', Times, serif;
       font-size: x-small;
       color: #000000;
       text-align: left;
       margin-left: 3em;
    /*Style for tables of thumbnail images: lesson5, chapter2*/
    tables.thumbs{
        vertical-align: middle;
        text-align: center;
        border-collapse: collapse;
    /*Style for table cells that contain thumbnails*/
    td.thumbs{
        border: solid 1px #00bfff;
        padding: 5px;
    /*Style for thumbnail images*/
    img.thumbs{
        width:100px;
    /* determine if in use.  If not delete
    .legislative {
        color: #800000;
        font-size: 24px;
        font-style: normal;
        font-weight: bold;
        text-decoration: blink;

    I think it's fair to say Spry is not your best option anymore.  Spry 1.6 was a pre-release version made in 2006.  It neither works well in IE9 nor touch screen devices (iPhone, iPad, etc..) because it predates them.
    You could switch to Spry Menu 2.0 from the Widget Exchange (the last version made), but Adobe has abandoned the Spry framework in favor of jQuery:  
    http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l
    Other Menus:
         Pop-Menu  Magic2 by PVII (DW extension purchase)
        http://www.projectseven.com/products/menusystems/pmm2/index.htm
        jQuery Superfish
        http://users.tpg.com.au/j_birch/plugins/superfish/
        jQuery Mega Menus 
        http://www.javascriptkit.com/script/script2/jkmegamenu.shtml
        CSS3 Dropdown Menus
        http://www.red-team-design.com/css3-dropdown-menu
        10 Responsive Menus
        http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    Nancy O.

  • External CSS for infopath forms in browser not working

    Hi everyone,
    I'm going to develop many forms using Infopath 2013 and then deploy to Sharepoint Server 2013. Because of UI requements, I need use css to accomplish this. I create external css files so I can reuse them easily. I followed this steps:
    Add css as resource file.
    In .xsl file, add <link> which references to css file
    Save manifest.xsf file and deploy.
    In Infopath designer, it works well. But when I deploy to Sharepoint Form Library, these css is not applied anymore.
    Could you please help me.
    Thanks for your time and considerations.
    Dang Huynh

    You are previewing the *.dwt file? Make sure you have Preview
    with temp
    files enabled in your preferences.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Sean022" <[email protected]> wrote in
    message
    news:g7mhro$64a$[email protected]..
    > Hi,
    >
    > I have built a website page which was all fine until I
    added editable
    > regions
    > and turned it into a template. Now when I try previewing
    in Internet
    > Explorer
    > it comes up with a File download window asking 'Do you
    want to download or
    > save
    > this file?'. Anyone know what is going on?
    >
    > Many thanks,
    > Sean
    >

  • Edit Css in Embed form

    Hi
    I have embed forms in my site and I want to edit the Css file.
    Could you please let me know where can I find it ???
    Many Thanks / Best regards
    Vag

    Hi,
      I am not sure if you are refering your webpage when you say "Template", if so changing the css of your webpage will not affect the FormsCentral responses.
    Thanks,
    Lucia

  • Annoying CSS align problem.

    Before anything, an image I made to explain:
    I'm just learning CSS pretty much by having a play, then I'll google anything I get stuck with but can't find an answer for this.
    Sorry the code is on another computer so any syntax errors please ignore, I know it's not a syntax problem by the way I just don't know what to do.
    OK, so as you can see where the white text is, thats where I want to type. I could put an AP div in there but know that both bad practice and wont be fluid/liquid.
    I have tried setting the image as a BG, centering it, adding another div and changing the left-margin to the appropriate amt then going down with the space bar but this brings the image down with it.
    I've tried floating an extra div
    I've had extra divs in and out of the div with the background in.
    I've tried changing the Z-index of them both, still same problem.
    I'm sure it's simple to some but can't think what to go with!

    Start with a basic, pre-built  2-col layout.  If you want text superimposed on images, you'll need to put those images in the division's background.
    EXAMPLE - (view page source to see the HTML and CSS code)
    http://alt-web.com/TEMPLATES/2-col-fixed-layout.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

Maybe you are looking for