Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Boilerplate font

Boilerplate font 2 weeks 1 day ago #110816

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6207
  • Thank you received: 788
  • Karma: 238
danika wrote:
Classes normally don't go side by side. Is that a formatting error, or are you suggesting a double class selector?
?
Really don't understand .... It's the css way
.class1{color:red}
.class2 .class1{color:green}
Make
<div class="class1">Red color</div>
<div class="class2"><div class="class1">Green color</div></div>
The administrator has disabled public write access.
The following user(s) said Thank You: danika

Boilerplate font 2 weeks 1 day ago #110821

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1061
  • Thank you received: 234
  • Karma: 74
Danika,

In case it could be useful, remember that:

1) you can use some web inspector (like firebug) or CSS browser add-ons (like Live Css Editor) to avoid wasting your time with -more or less- basic CSS issues

2) you can sometimes get some benefits using !important rules
.
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.
The following user(s) said Thank You: danika

Boilerplate font 2 weeks 1 day ago #110831

  • danika
  • danika's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 46
  • Karma: 0
Ben_V, waste of time is an understatement. 9 days and finally, wallah!

Using double class selectors as Denis implied was the answer, and I also appreciate the !important tip.

As I'm sure you can tell, I code this stuff when I have to, though it is not my full time job. Thanks for the guidance. Much appreciated! Works like a charm.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.139 seconds
Donation Image