Archived

This topic is now archived and is closed to further replies.

  • 0

css / div issue

Question

Posted · Report post

I am trying to get some css on my Custom CSS section to carry over to http://new.drumhike.com/sponsors/. I have tried every combination of id/class to make it work with no luck. These 3 classes are defined, I need them to carry over to the above page:

.40l55r {clear: left; padding: 0px 2px 0px 2px; }
	.40left { width: 40%; float: left; padding: 0px 2px 0px 2px; text-align:center; }
	.55right { width: 55%; float: left; padding: 0px 2px 0px 2px; }

I have tried all of the following combos in the Custom CSS section: body #page div.40l55r body #page .40l55r #page div.40l55r #page .40l55r and entered <div class="40l55r"> in the div. Please assist.

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

a css class name must start with an underscore (_), a dash (-), or a letter(a??“z), followed immediately by a letter or underscore, and then any number of dashes, underscores, letters, or numbers. Try renaming your class to __40l55r and use .__40l55r in your custom css code

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you for your assistance. This fixed my issue.

Share this post


Link to post
Share on other sites