Pallavi Sharma
Pallavi Sharma

Reputation: 655

how to set margin or padding 0px between column?

I am trying to develop simple application as show in image [![enter image description here][1]][1]

But I am facing few issues in that

http://plnkr.co/edit/kEplF4kXjIkRRmxNzsVb?p=preview

Please check code using preview button (full screen) .

.answer_div .col{
  padding:0px;
  margin:0px;
}

Upvotes: 2

Views: 889

Answers (2)

Shrinivas Pai
Shrinivas Pai

Reputation: 7701

To make text to center

.answer_block{
  border:1px solid grey;
  padding:20px; //added this
  width:100%;
  height:150px;
  background-color:lightgrey;

}

To make check mark right and color white use this

.ion-checkmark
{
  color:white;
  font-size: 16px;
  float:right;
}

Upvotes: 1

Konzertheld
Konzertheld

Reputation: 26

There is a padding on the "row" css class. That's why your outer columns are spaced to the inside - the padding is not on the columns (you removed that correctly), it's on the outer div having the "row" class.

For the check mark, you can use a float to get it to the right side.

For centering the text, please just type it into Google. Hit 1 already did it for me.

Upvotes: 1

Related Questions