need Help from Someone good with CSS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    need Help from Someone good with CSS

    *****

    how to remove grey border and make the site stretch to fit a mobile phone screen?i cant continue with the site until i fix it it just doesnt suit mobiles
    Last edited by arnage; 10.04.12, 21:06.

    #2
    post your css body, and also check it bg tag is used in index..

    keep margin, padding, width, hight auto or keep it fixed!! i am also interested to see experts comment about mobile screen fix!!

    Comment


      #3
      PHP Code:
      /* FORUM STYLE */
      body {

       
      height:100%;
       
      width480px;
       
      marginauto;
       
      padding:0;
      background-color#4E4E4E;
       

      Heres the body i havent studied css much thats why im stuck lol

      Comment


        #4
        Originally posted by Matt_dowd91 View Post
        Code:
        /* FORUM STYLE */
        body {
        
         height:100%;
         width: 480px;
         margin: auto;
         padding:0;
        background-color: #4E4E4E;
         }
        Heres the body i havent studied css much thats why im stuck lol
        Code:
        body {
        
         height:100%;
         width: 480px;
         margin: auto;
         padding:0;
        background-color: change this with any colour you want or to remove, just remove this line;
         }

        Comment


          #5
          i'd also suggest to replace line
          Code:
          width; 480px;
          with
          Code:
          max-width: 98%;
          that would be also partly answer to icedroplet1987 i guess..
          It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
          ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
          ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
          キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

          Comment


            #6
            Originally posted by icedroplet1987 View Post
            Code:
            body {
            
             height:100%;
             width: 480px;
             margin: auto;
             padding:0;
            background-color: change this with any colour you want or to remove, just remove this line;
             }
            this is rest off
            PHP Code:
                text-aligncenter;            /* make sure IE centers the page too */
            }

            #wrapper {
                
            width450px;
                
            margin:0 auto;             /* center page */
            }

            #content {
                
            background-color#fff;
                
            border1px solid #000;
                
            floatleft;
                
            font-familyArial;
                
            padding20px 30px;
                
            text-alignleft;
                
            width100%;                /* fill up the entire div */
            }

            #menu {
            floatleft;
            border1px solid #000;
            border-bottomnone;        /* avoid a double border */
            clearboth;                /* clear:both makes sure the content div doesn't float next to this one but stays under it */
            width:100%;
            height:20px;
            padding0 30px;
            background-color#FFF;
            text-alignleft;
            font-size85%;
            }

            #menu a:hover {
                
            background-color#009FC1;
            }

            #userbar {
                
            background-color#fff;
                
            floatright;
                
            width250px;
            }

            #footer {
                
            clearboth;
            }

            /* begin table styles */
            table {
                
            border-collapsecollapse;
                
            width100%;
            }

            table a {
                
            color#000;
            }

            table a:hover {
                
            color:#373737;
                
            text-decorationnone;
            }

            th {
                
            background-color#B40E1F;
                
            color#F0F0F0;
            }

            td {
            padding5px;    
            }

            /* Begin font styles */
            h1#footer {
                
            font-familyArial;
                
            color#F1F3F1;
            }

            h3 {marginpadding0px;}

            /* Menu styles */
            .item {
                
            background-color#00728B;
                
            border1px solid #032472;
                
            color#FFF;
                
            font-familyArial;
                
            padding3px;
                
            text-decorationnone;
            }

            .
            leftpart {
                
            width70%;
            }

            .
            rightpart {
                
            width30%;
            }

            .
            small {
                
            font-size75%;
                
            color#373737;
            }
            #footer {
                
            font-size65%;
                
            padding3px 0 0 0;
            }

            .
            topic-post {
                
            height100px;
                
            overflowauto;
            }

            .
            post-content {
                
            padding30px;
            }

            textarea {
                
            width450px;
                
            height200px;

            Last edited by Matt_dowd91; 10.04.12, 19:54.

            Comment


              #7
              Originally posted by Matt_dowd91 View Post
              Thanks bro , screen width i will figureout myself i got too much code in my file lol
              No one will give you ready made css :D to fit on your site , some advices remove that strict <width's/heights> and modify your script pages to fit on your needs .
              you can't set it just from css .. html (static page) need's to be modified also :p .
              This is ten percent luck, twenty percent skill
              Fifteen percent concentrated power of will
              Five percent pleasure, fifty percent pain

              And a hundred percent reason to remember the name!

              Comment


                #8
                thanks guys also padding 0px; can fix toomuch white space it looks good now on mobile

                Comment

                Working...
                X