SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    calif
    Posts
    743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Where to find the button image

    I'm looking at the page code to determine how I can find the button image.
    Does this code (below) create a standard button image or is this the button link or would it be elsewhere in the code?

    Thanks

    Code:
    <input type="submit" name="continue" value="Continue" style="margin:7px 0" rel="gb_page_center[600, 635] ">

  2. #2
    SitePoint Member
    Join Date
    Dec 2007
    Location
    Columbus, OH
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, the code you showed will output just a generic submit button background, probably set in a CSS file such as if markup would be...

    <div class="container"><input type="submit" /></div>, the CSS for applying a background would be something like: .container INPUT[type="submit"] { background: url('pathtoimage.gif') no-repeat center center; }

    A note for the sample above:
    INPUT[type="submit"] - this will not work in IE6 (you will need a class for the input)

    But there is also a case where the background could be set via JavaScript.... It would be easier to answer your question if you can provide the URL. Post it and I will be happy to look at it further.
    Darren Stevenson - Programmer
    www.htmlBlender.com
    Hand coding services for XHTML, CSS, AJAX, and more!

  3. #3
    SitePoint Wizard PHPycho's Avatar
    Join Date
    Dec 2005
    Posts
    1,201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ChrisjChrisj View Post
    I'm looking at the page code to determine how I can find the button image.
    Does this code (below) create a standard button image or is this the button link or would it be elsewhere in the code?

    Thanks

    Code:
    <input type="submit" name="continue" value="Continue" style="margin:7px 0" rel="gb_page_center[600, 635] ">
    Please mention what are you trying to achieve.
    AFAIK, you are using GreyBox popup for your submit button (which is non-image one).
    In order to convert this button to image just change type="image" and add src="source to image".
    Thanks


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
  •