360haven works best with JavaScript enabled
Help with CSS/HTML
Loading
Register
Results 1 to 5 of 5
  1. #1
    Developer
    Mocha is offline
    Join Date : Dec 2010
    Location : Southampton Pennslyvania
    Posts : 85
    Array

    Help with CSS/HTML

    I have a question, I made a button image in Photoshop, so then I did the css styleing, and when i go to add it to the html I use: <input type="submit" class="button" value="Register"/> but when I view it it just uses the defualt button. mocha-mods.net/Home/Index.html do you know what i could possibly be doing wrong?

    Here is the CSS for the button:
    Code:
    a.button{
      display:inline-block;
      width:50px; 
      height:40px;
      padding:5px;
      border:1px #D7D7D7 solid;
      text-align:center;
      text-decoration:none;
      color:#666666;
      background:url(../Images/button.png) repeat-x;
    }



  2. #2
    Haven Donator
    GP I Zero is offline
    Join Date : Mar 2011
    Location : Prescott Valley, AZ
    Age : 29
    Posts : 67
    Array
    Quote Originally Posted by Mocha View Post
    I have a question, I made a button image in Photoshop, so then I did the css styleing, and when i go to add it to the html I use: <input type="submit" class="button" value="Register"/> but when I view it it just uses the defualt button. mocha-mods.net/Home/Index.html do you know what i could possibly be doing wrong?

    Here is the CSS for the button:
    Code:
    a.button{
      display:inline-block;
      width:50px; 
      height:40px;
      padding:5px;
      border:1px #D7D7D7 solid;
      text-align:center;
      text-decoration:none;
      color:#666666;
      background:url(../Images/button.png) repeat-x;
    }
    well i admit im out of my element here, but what part of that actually tells it where the buttons picture is lol? when i was dabbling in html i had to either have it pull from my computer for testing, but when it was a page online i had to upload it to a photo host site and use the url of that photo to use the pic.

    i appologize if i made it more confusing, but hopefully i've helped even a lil
    Downloads : 4 || Uploads : 0 || Rep Power : 2330 || Posts : 67 || Thanks : 46 || Thanked 4 Times in 4 Posts


    Light a fire for a man, Keep him warm for a night.
    Light a man on fire, Keep him warm for the rest of his life.
    ---------------------------------------------------------------------------------
    If you liked my Sig feel free to PM and say so :P

    Only hit the "Thanks" button if my post helped in some form or fashion

    Learning: Visual Basic |||| Tutorials, Guidance, and Constructive Criticism welcome always

  3. #3
    Developer
    Mocha is offline
    Join Date : Dec 2010
    Location : Southampton Pennslyvania
    Posts : 85
    Array
    Quote Originally Posted by GP I Zero View Post
    well i admit I'm out of my element here, but what part of that actually tells it where the buttons picture is LOL? when i was dabbling in HTML i had to either have it pull from my computer for testing, but when it was a page online i had to upload it to a photo host site and use the URL of that photo to use the pic.

    i apologize if i made it more confusing, but hopefully I've helped even a little.
    The image locating is the last line in the CSS snippet.

  4. #4
    Administrator
    Rpg_Fan

    Sephiroth is offline
    Join Date : Nov 2010
    Location : Setagaya-ku, Tokyo, Japan
    Posts : 3,310
    Array
    Twitter: @
    Code:
    http://woork.blogspot.com/2008/07/nice-login-and-signup-panel-newsvine.html
    Downloads : 150 || Uploads : 12 || Rep Power : 6656 || Posts : 3,310 || Thanks : 481 || Thanked 4,176 Times in 1,272 Posts




    What i have shown you is reality. What you remember... that is the illusion.




  5. #5
    DEADBEEF

    JizzaBeez is offline
    Join Date : Nov 2010
    Posts : 777
    Array
    You need to do the background like:

    Code:
    background-image:url('http://www.360haven.com/image.jpg');
    Read more..
    Last edited by JizzaBeez; 05-03-2011 at 02:48 AM.

 

 

Similar Threads

  1. HTML Basic
    By JizzaBeez in forum Tutorials and Resources
    Replies: 1
    Last Post: 03-03-2011, 06:41 AM
  2. HTML Colors
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 06:39 AM
  3. HTML Tables
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 06:18 AM
  4. HTML Elements
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 06:00 AM
  5. HTML CSS
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 05:43 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.
     

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

Like this page

Google+