Form layout changes

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/11/2010 11:24:11 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Form layout changes

Hi Joe,

This may be more of a "skinning" question, but I'm not really sure.

I was talking to Joe Davis this weekend, and he said that you had started replacing the <div> tags for form layouts with an <ol>/<li> structure.  I changed one of my forms to this, and it works okay, the only issue I'm having is when using the editors.  I was just wrapping the editor in another div, but that doesn't always work the nicest when inside an LI tag.

Could you either explain what you do for these, or give an example of a feature where you've made this change?

Thanks,

7/13/2010 7:14:59 AM
Gravatar
Total Posts 18439

Re: Form layout changes

Hi Matt,

The Links/Simple list feature uses the newer form layout in the EditLink.aspx page

The basic structure is like this:

<ol class="formlist">
    <li class="settingrow"></li>
</ol>
 

and a relevant CSS example would be:

ol.formlist { list-style:none; margin: 0px; }
li.settingrow { list-style:none; }

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.