Results 1 to 5 of 5

Thread: Align a Button

  1. #1
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Align a Button

    Hi All,

    In the attached file you can see I can't align the button to the text field... Any ideas? I want them to be horizontally aligned... When I test it on different browsers the button sits slighlty below the box...

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Why do you need 2.1k zipped to show a button?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    I've changed a your HTML source code a bit, my changes are in red color and are as follows:


    Code:
    <input name="textfield22" type="text" size="12" style="height:15px;"  align="top" />
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('go_but1','','images/go_but_1.gif',1)">
    <img src="images/go_but_0.gif" alt="GO" name="go_but1" width="23" height="19" border="0" align="top" id="go_but1" /></a>
    I've viewed the page in IE, FF, NN & Opera and looks ok. I've attached the page on which i've made the changes here.
    Last edited by codeexploiter; 09-21-2006 at 11:07 AM.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by codeexploiter
    I've changed a your HTML source code a bit, my changes are in red color and are as follows:

    HTML Code:
    <input name="textfield22" type="text" size="12" [COLOR="Red"]style="height:15px;" [/COLOR] [COLOR="Red"]align="top"[/COLOR] />
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('go_but1','','images/go_but_1.gif',1)">
    <img src="images/go_but_0.gif" alt="GO" name="go_but1" width="23" height="19" border="0" [COLOR="Red"]align="top"[/COLOR] id="go_but1" /></a>
    You cannot use the colors in HTML blocks in the editor. Use code blocks:

    Code:
    <input name="textfield22" type="text" size="12" style="height:15px;"  align="top" />
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('go_but1','','images/go_but_1.gif',1)">
    <img src="images/go_but_0.gif" alt="GO" name="go_but1" width="23" height="19" border="0" align="top" id="go_but1" /></a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Thanks John for that info, I've changed my post now


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
  •