Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    556
    Plugin Contributions
    0

    Default class="floatLeft" not working

    Hi,

    When I add - class="floatLeft" within define pages editor it doesn't work and text just starts further down the image

    EXAMPLE

    Why is this...is it possible to get it to float left or right?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,962
    Plugin Contributions
    25

    Default Re: class="floatLeft" not working

    class="floatLeft" only adds a classname to the element. To get it to do anything, you need to add a rule to your stylesheet like

    .floatLeft {float: left;}

    You don't need to do this, though, as there is already a Zen Cart class called "back" which has a float: left; property. ("forward" gives float: right;)

    You can also use style="float: left;" in your HTML markup if you want to.

  3. #3
    Join Date
    Nov 2007
    Posts
    556
    Plugin Contributions
    0

    Default Re: class="floatLeft" not working

    Great, thank you...will check that out

 

 

Similar Threads

  1. <a href="#" not working when trying to add a tooltip: onmouseover="Tip('First Name')"
    By time111 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Nov 2009, 08:57 PM
  2. Replies: 7
    Last Post: 12 Oct 2009, 09:07 PM
  3. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  4. Change <div class="categoryListBoxContents" style="width:33%;">
    By akabigdog in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Apr 2007, 02:03 AM

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
  •