You are viewing our Forum Archives. To view or take place in current topics click here.
[Help] Little Problem
Posted:

[Help] Little ProblemPosted:

OrsonCopeland
  • Challenger
Status: Offline
Joined: Feb 15, 201212Year Member
Posts: 194
Reputation Power: 7
Status: Offline
Joined: Feb 15, 201212Year Member
Posts: 194
Reputation Power: 7
Hey guys im making a website, i ran into this issue. Basically i'm making a one page website with different color sections but when i use a <p> tag or any other text tag it's like there is a margin. If any of you can help i will really appreciate it!!! You can see the white that is my background colour

[ Register or Signin to view external links. ]

the css

/* CSS Document */

body{
   font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
   background-color:#ffffff; margin:0px; padding:0px; color:#FFFFFF;}

.nav{ background-color:#1CD9A7!important;
       min-height:960px;
       float:inherit;
       background:top;
       margin:auto;
       padding:inherit;
      
}

.About{ background-color:#F11F60 !important;
       min-height:960px;
       background:inherit;
       background-origin:padding-box;
      
       background:scroll;
       padding:inherit;
       margin:auto;
      
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.text-center{
   
   align-content:center;
   
   }
   
   
.text-left{
   
   align-content:left;
   
   }
   
   
.text-right{
   
   align-content:right;
   
   }
   
h1{
   padding-top:0px;}
#2. Posted:
MLP
  • TTG Contender
Status: Offline
Joined: Oct 26, 201014Year Member
Posts: 3,869
Reputation Power: 177
Status: Offline
Joined: Oct 26, 201014Year Member
Posts: 3,869
Reputation Power: 177
if you want to remove margins (See [ Register or Signin to view external links. ] ) then all you do is set the margin to 0.

.class {
    margin: 0;
}
#3. Posted:
OrsonCopeland
  • Challenger
Status: Offline
Joined: Feb 15, 201212Year Member
Posts: 194
Reputation Power: 7
Status: Offline
Joined: Feb 15, 201212Year Member
Posts: 194
Reputation Power: 7
thanks for the reply i adjusted it and work perfect
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.