Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Apr 2010
    Posts
    220
    Thanks
    116
    Thanked 1 Time in 1 Post

    Having a CSS alignment issue, please help

    null null
    Last edited by BlackReef; 05-05-2010 at 10:37 AM.

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    Add margin:0; to the input button

  • Users who have thanked Fang for this post:

    BlackReef (05-05-2010)

  • #3
    Regular Coder
    Join Date
    Apr 2010
    Posts
    220
    Thanks
    116
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Fang View Post
    Add margin:0; to the input button
    Thanks, but I don't think that worked. Here is the exact code as it is now:

    <div style="width:100px; float:right; position:absolute; top:3px; right:25px; margin:0;">
    <input type="button" class="submit2" value="find a dealer" onclick="window.location='viewContent.asp?idpage=4'">

  • #4
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    On the input button:
    Code:
    <div style="width:100px; float:right; position:absolute; top:3px; right:25px; ">
    <input type="button" class="submit2" style="margin:0;" value="find a dealer" onclick="window.location='viewContent.asp?idpage=4'">

  • Users who have thanked Fang for this post:

    BlackReef (05-05-2010)

  • #5
    Regular Coder
    Join Date
    Apr 2010
    Posts
    220
    Thanks
    116
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Fang View Post
    On the input button:
    Code:
    <div style="width:100px; float:right; position:absolute; top:3px; right:25px; ">
    <input type="button" class="submit2" style="margin:0;" value="find a dealer" onclick="window.location='viewContent.asp?idpage=4'">
    wow! that worked, thank you very much, Fang


  •  

    Posting Permissions

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