Hey everybody,
I'm ripping my hair out all weekend trying to figure this out.
I'm having a little trouble understanding how .CSS works on XenForo pages.
I noticed that several HTML element don't work on XenForo pages (such as unordered lists and H2). In order to get a XenForo page to match the style of the rest of the forum, you need to add:
Ok, doing that makes unordered lists work. However, the page I'm trying to build utilizes tables, and in my HTML, the tables have no borders. But, when I add the div class "baseHtml" the table alignment gets all messed up and all my table cells have borders around them.
So, I want to get rid of "messageText" "ugc" "baseHtml" and set my own custom class.
Let me give you an example:
I want to create this class:
and then have my XenForo page contain this HTML:
Could someone please provide me with a step-by-step set of instructions on how to make this work? I'm banging my head against the wall. I've tried creating my own template, I tried editing existing templates, I tried adding the .CSS to EXTRA.CSS...nothing is working. Thanks in advance for any help.
I'm ripping my hair out all weekend trying to figure this out.
I'm having a little trouble understanding how .CSS works on XenForo pages.
I noticed that several HTML element don't work on XenForo pages (such as unordered lists and H2). In order to get a XenForo page to match the style of the rest of the forum, you need to add:
HTML:
<div class="messageText ugc baseHtml">
--your content here--
</div>
Ok, doing that makes unordered lists work. However, the page I'm trying to build utilizes tables, and in my HTML, the tables have no borders. But, when I add the div class "baseHtml" the table alignment gets all messed up and all my table cells have borders around them.
So, I want to get rid of "messageText" "ugc" "baseHtml" and set my own custom class.
Let me give you an example:
I want to create this class:
HTML:
ul.a {
list-style-type: square;
}
and then have my XenForo page contain this HTML:
HTML:
<ul class="a">
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
Could someone please provide me with a step-by-step set of instructions on how to make this work? I'm banging my head against the wall. I've tried creating my own template, I tried editing existing templates, I tried adding the .CSS to EXTRA.CSS...nothing is working. Thanks in advance for any help.