quick CSS job for someone

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Spudman
    Confirmed User
    • Aug 2002
    • 3198

    #1

    quick CSS job for someone

    hey,

    i need someone to help me with some CSS, i think it should be very quick and simple.

    hit me up on icq if you can help 258616899
    Take it Easy !!!
  • Zeiss
    Confirmed User
    • May 2012
    • 5189

    #2
    http://www.w3schools.com/css/default.asp


    Adult Webmasters Guides

    Comment

    • karapandza
      Confirmed User
      • Jul 2007
      • 7312

      #3
      Originally posted by Zealotry
      that's where I learned all that I need about html, css and php
      OG OOG OOOG

      Comment

      • Spudman
        Confirmed User
        • Aug 2002
        • 3198

        #4
        anyone know how i can do this in all browsers? it only works in ff,
        width: calc(100% - 100px);
        Take it Easy !!!

        Comment

        • LouiseLloyd
          SO FUCKING SCAMMED
          • Mar 2010
          • 1433

          #5
          Originally posted by Spudman
          anyone know how i can do this in all browsers? it only works in ff,
          width: calc(100% - 100px);
          Is this not the same as:

          margin-left: 50px; margin-right: 50px; width: 100%;

          or adjust margin-left or margin-right to 100px and delete the obsolete one, depending which side you want it.

          Comment

          • LouiseLloyd
            SO FUCKING SCAMMED
            • Mar 2010
            • 1433

            #6
            Originally posted by Spudman
            anyone know how i can do this in all browsers? it only works in ff,
            width: calc(100% - 100px);
            Is this not the same as:

            margin-left: 50px; margin-right: 50px; width: 100%;

            or adjust margin-left or margin-right to 100px and delete the obsolete one, depending which side you want it.

            Comment

            • acctman
              Confirmed User
              • Oct 2003
              • 2840

              #7
              this should do the trick


              Code:
              .calc {
              width: 100px;
              height: 100px;
              border: 1px solid #f00;
              padding: 10px;
               
              /* Firefox */
              width: -moz-calc(75% - 100px);
              /* WebKit */
              width: -webkit-calc(75% - 100px);
              /* Opera */
              width: -o-calc(75% - 100px);
              /* Standard */
              width: calc(75% - 100px);
              }

              Comment

              • fris
                Too lazy to set a custom title
                • Aug 2002
                • 55702

                #8
                never used calc before ;)
                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                Comment

                Working...