Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    555
    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
    22,010
    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
    555
    Plugin Contributions
    0

    Default Re: class="floatLeft" not working

    Great, thank you...will check that out

 

 

Similar Threads

  1. Replies: 2
    Last Post: 17 May 2011, 03:50 AM
  2. <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
  3. Replies: 7
    Last Post: 12 Oct 2009, 09:07 PM
  4. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  5. 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR