Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2006
    Posts
    29
    Plugin Contributions
    0

    Default Horizontal Checkboxes

    Hello,

    I have been trying to my attribute checkboxes to display horizontally. I can't find where to delete the <br> tag at the end of the input line. Can anyone steer me in the right direction?
    HTML Code:
    <div class="wrapperAttribsOptions"><h4 class="optionName">#3 Type</h4><input type="checkbox" name="id[105][49]" value="49" id="attrib-105-49" /><label class="attribsCheckbox" for="attrib-105-49">NICU Baby</label><br /><input type="checkbox" name="id[105][50]" value="50" id="attrib-105-50" /><label class="attribsCheckbox" for="attrib-105-50">NICU Survivor</label><br /><input type="checkbox" name="id[105][51]" value="51" id="attrib-105-51" /><label class="attribsCheckbox" for="attrib-105-51">Miracle Baby</label><br />

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Horizontal Checkboxes

    Have you looked in includes/modules/attributes.php?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Nov 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Horizontal Checkboxes

    Kuroi,

    Thank you, thank you! I removed the <br> from the includes/modules/attributes.php file and all looks great.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Horizontal Checkboxes

    If things continue as they did from Zen Cart 1.2 to 1.3, then I rather suspect that much of this "presentational html", which is a throw back and can be a huge impediment to styling sites, is going to be gone from the 1.4 release.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v150 Attributes: Checkboxes already checked
    By Nahna26 in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 19 Aug 2013, 01:11 PM
  2. checkboxes creating a centered mutiny
    By fontaholic in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Jul 2010, 04:21 AM
  3. Checkboxes
    By delia in forum Contribution-Writing Guidelines
    Replies: 6
    Last Post: 28 May 2009, 04:38 PM
  4. Uncheck Checkboxes
    By billscheltema in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 30 Oct 2008, 03:34 PM

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