Formatting Defined Lists


Author Message
R. Dennis

Posted: 3/25/2009
Quote message 

I'm using Artisteer 2.0.2.15338 Standard Edition and was implementing a Defined List (dl) when I found that the CSS list formatting only applied to Ordered Lists (ol). Being relatively new to CSS, it took me a few hours to figure out how to successfully get this working, so I figured that I would share this with everyone else (in addition to requesting future support for this).<br><br>
Adding support in style.css:<br>
- Find the following lines about 3/4 of the way down in style.css.<br>
/* begin PostBullets */<br>
/* Start Content list */<br>
- Copy and paste a duplicate of the ul, li, and .Post ul li sections (~30 lines)<br>
- Change the "ul" line to "dl.PostContent"<br>
- Change the "li" line to ".PostContent dd"<br>
- Change the ".Post ul li" line to ".PostContent dt"<br><br>
Adding support in style.ie6.css:<br>
- Find the line ".BlockContent-body ul li" about 2/3 of the way down the style.ie6.css page<br>
- Make a second copy of the ".BlockContent-body ul li" section (~7 lines)<br>
- Change the ".BlockContent-body ul li" line to ".BlockContent-body dl dt dd"<br><br>
I have no doubt that there are better and more maintainable solutions, but I'm just happy that it currently works.<br><br>
Good luck,<br>
Ryan
 
Ed Coyne

Posted: 6/28/2009
Quote message 

There just has to be an easier way to do this. I had to change the CSS for the lists, using the stylesheet, not Artisteer.

I just want to be able to accuratelt format my lists BEFORE saving and uploading.

/* begin PostBullets */
/* Start Content list */

EVERYTHING BETWEEN THESE LINES SHOULD BE EDITABLE

/* Finish Content list */
/* end PostBullets */

Thanks for a great product!!!