Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Hamish 96 posts 154 karma points
    Oct 06, 2010 @ 04:40
    Hamish
    0

    How do you change the markup

    Not sure why, but Contour generates a <br style="clear: both;"> within each contour field holder before the holder closes.

    Is there a way of tidying up the markup that is generated by Contour?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 06, 2010 @ 12:06
    Ismail Mayat
    0

    Hamish,

    You can update the ascx file RenderForm.ascx but if you upgrade you will lose changes or you could target the br using css and set to display none e.g

    .contourFieldSet br{display:none;}

    Regards

    Ismail

  • Rik Helsen 670 posts 873 karma points
    Oct 06, 2010 @ 17:27
    Rik Helsen
    0

    Since there a lot of divs with float:left css properties, removing the inline html will require you to add the clear:both to the css file instead, and have a div to apply it to...

     

  • Hamish 96 posts 154 karma points
    Oct 06, 2010 @ 23:38
    Hamish
    0

    Maybe this is a feature that could be added - Have the ability to customise the markup a little better without having to worry about losing changes when you upgrade..

    I just think the br and possibily the wrapping div around the field is a little excessive (i don't normally need them when styling with css)... I just like html to be as minial as possible :)

     

Please Sign in or register to post replies

Write your reply to:

Draft