Skip navigation
Currently Being Moderated

CSS and alignment

Mar 22, 2012 8:27 AM

Hello,

 

I have a table with a form on the below page.  I would like the first column (first, last, player id, etc) to be right aligned.  I would like the form fields to be left aligned.  I thought I set this up correctly in my CSS but it does not seem to work.  Can someone take a look?

 

http://www.winriversignup.com/signup.aspx

 

Thanks,
Melanie

 
Replies
  • Currently Being Moderated
    Mar 22, 2012 9:54 AM   in reply to mshef534

    You have some corruption going on in your stylesheet (see below). You have the .BodyTxtRight css selector mixed in with the .rightbar2 css selector then you repeat the .BodyTxtRight css again.

     

    .rightbar2 {

    background-image: url(http://208.69.110.181/926260_WinRiver_PURL/Images/926260WR_Landing_04. png);

    background-repeat: repeat-y;.BodyTxtRight {

    font-family: Geneva, Arial, Helvetica, sans-serif;

    font-size: 11pt;

    font-style: normal;

    color: #000000;

    }

    .BodyTxtRight {

    font-family: Geneva, Arial, Helvetica, sans-serif;

    font-size: 11pt;

    font-style: normal;

    color: #000000;

    text-align: right;

    position: fixed;

    }

     

     

     

    It should be as below:

     

    .rightbar2 {

    background-image: url(http://208.69.110.181/926260_WinRiver_PURL/Images/926260WR_Landing_04. png);

    background-repeat: repeat-y;

    }

     

    .BodyTxtRight {

    font-family: Geneva, Arial, Helvetica, sans-serif;

    font-size: 11pt;

    font-style: normal;

    color: #000000;

    text-align: right;

    position: fixed;

    }

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points