+ Reply to Thread
Results 1 to 8 of 8

Thread: CSS login "wrong user/pass picture" alignmnet help...

  1. #1
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Question CSS login "wrong user/pass picture" alignmnet help...

    i am having trouble with positioning a picture i have for my login system. When a username or password is wrong a little red circle with a X in it should appear by whatever was incorrectly submitted. i have no idea how to position it specifically but i do know its all within the my style.css sheet. right now it just ends up right over the login button and that really doesn't help much when logging in.

    my site with the problem is [CYK Studios]

    Any help at all is very much appreciated!...

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

  2. #2
    sourfacedcyclop's Avatar
    sourfacedcyclop is offline x10 Sophmore sourfacedcyclop is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    221

    Re: CSS login "wrong user/pass picture" alignmnet help...

    One problem is, you didn't close your image tag. The main thing though, is that you didn't give your image tag any sort of positioning, its just thrown in their. You should put the image inside of a div, use two of the divs for each the password and username input area and then have them set to appear if either are invalid. Using divs make them easy to position as well.
    "Sanity is nothing but our interpretation of reality"

    http://tswebvisions.com - Portfolio

  3. #3
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Re: CSS login "wrong user/pass picture" alignmnet help...

    Quote Originally Posted by sourfacedcyclop View Post
    One problem is, you didn't close your image tag. The main thing though, is that you didn't give your image tag any sort of positioning, its just thrown in their. You should put the image inside of a div, use two of the divs for each the password and username input area and then have them set to appear if either are invalid. Using divs make them easy to position as well.
    okay i closed both tags, but where should i place the div tags so they will be next to the user/pass boxes?

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

  4. #4
    sourfacedcyclop's Avatar
    sourfacedcyclop is offline x10 Sophmore sourfacedcyclop is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    221

    Re: CSS login "wrong user/pass picture" alignmnet help...

    Okay, I would either a. put the divs around each of the error boxes, OR b, give the "img" tag itself a ID or a class which you could then change.

    Here might be an example, very loosely of course.

    Code:
    <img class="usererror" src="images/error.png" border="0" width="16" height="16" />
    "usernameinput"
    <img class="passerror" src="images/error.png" border="0" width="16" height="16" />
    "passworderror"
    Code:
    img.usererror {
    height:16px;
    height:16px;
    float:left;
    }
    img.passerror {
    height:16px;
    height:16px;
    float:left;
    }
    This is VERY rough, I don't know the full details of how your site is coded or anything, so you'll have to probably edit things so they work for you.
    "Sanity is nothing but our interpretation of reality"

    http://tswebvisions.com - Portfolio

  5. #5
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Re: CSS login "wrong user/pass picture" alignmnet help...

    Quote Originally Posted by sourfacedcyclop View Post
    Okay, I would either a. put the divs around each of the error boxes, OR b, give the "img" tag itself a ID or a class which you could then change.

    Here might be an example, very loosely of course.

    Code:
    <img class="usererror" src="images/error.png" border="0" width="16" height="16" />
    "usernameinput"
    <img class="passerror" src="images/error.png" border="0" width="16" height="16" />
    "passworderror"
    Code:
    img.usererror {
    height:16px;
    height:16px;
    float:left;
    }
    img.passerror {
    height:16px;
    height:16px;
    float:left;
    }
    This is VERY rough, I don't know the full details of how your site is coded or anything, so you'll have to probably edit things so they work for you.
    thanks i'll work on this and get back to you if i have any questions...

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

  6. #6
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Re: CSS login "wrong user/pass picture" alignmnet help...

    i had a friend fix the problem, he made the images float to whichever input box was an error,

    thanks ZapZack

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

  7. #7
    zapzack is offline x10 Elder zapzack is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    606

    Re: CSS login "wrong user/pass picture" alignmnet help...

    No problem.. Rep or credits are appreciated

  8. #8
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Re: CSS login "wrong user/pass picture" alignmnet help...

    Please close thread!!!!!!!
    Please close thread!!!!!!!
    Please close thread!!!!!!!
    Please close thread!!!!!!!
    Please close thread!!!!!!!
    Please close thread!!!!!!!

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

+ Reply to Thread

Similar Threads

  1. Ftp login
    By newer69 in forum Free Hosting
    Replies: 3
    Last Post: 05-21-2009, 06:05 AM
  2. Can not login to cpanel
    By insane85 in forum Free Hosting
    Replies: 28
    Last Post: 02-26-2008, 11:31 PM
  3. The previous way of login?
    By halchalgroups in forum Free Hosting
    Replies: 1
    Last Post: 09-22-2007, 02:07 AM
  4. A simple Visual Basic Login Form
    By Zenax in forum Tutorials
    Replies: 0
    Last Post: 03-13-2007, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers