Results 1 to 2 of 2

Thread: [ce_break] Break Element with inline clear styles

  1. #1
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default [ce_break] Break Element with inline clear styles

    This is a very simple but useful CE. It allows you to add a CE element called Break. When you have many floats in your layout you might need a break to create a clean split point between elements. Instead of having to type all the break elements using HTML, you can use this Content Element instead.

    • Control which way the clear works: left, right, both[/*:m:2126zl9i]
    • Toggle the element between BR (default) or use DIV instead[/*:m:2126zl9i]
    • Element will also incorporate the ID, Class and margins into the element[/*:m:2126zl9i]
    • Create a custom ce_break.tpl template if you need to add anything else[/*:m:2126zl9i]


    This element is also really useful when you want to style the break as a border line between content pieces to break it up (pardon the pun). Then you make the style-able ones DIVs and the non-style ones just BRs - neat. I'm using in my new client website -- very slick.

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: [ce_break] Break Element with inline clear styles

    I've updated the extension to display some graphics of the break and clear elements, which just looks a lot neater than the HTML code.
    [attachment=0:2cp52mew]ce_break.jpg[/attachment:2cp52mew]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •