This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Placement of icon
#6
Use value-left class. In this case the value element must have a fixed width (50px in this example), otherwise if the text width changes the icon position will change as well.
Code:
.value-left .icon {
  display: inline-block;
}

.value-left .value {
  line-height: 56px;
  padding: 0;
  float: left;
  width: 50px;
  text-align: center;
}
Reply


Messages In This Thread
Placement of icon - by Trond Hoyem - 07.10.2020, 08:30
RE: Placement of icon - by admin - 07.10.2020, 08:35
RE: Placement of icon - by Trond Hoyem - 07.10.2020, 08:52
RE: Placement of icon - by admin - 07.10.2020, 08:52
RE: Placement of icon - by Trond Hoyem - 07.10.2020, 08:55
RE: Placement of icon - by admin - 07.10.2020, 09:26
RE: Placement of icon - by Trond Hoyem - 07.10.2020, 12:29

Forum Jump: