Announcement

Collapse
No announcement yet.

Width of drop downs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Width of drop downs

    Just incase anyone needs to know this for the future, you can edit the act_VariantListHeader.html to enable each drop down to be a standard width.

    As follows:

    <!-- VariantListHeader HTML begin -->
    <!-- This template is used for a product variant list box header. -->
    <SELECT NAME="NETQUOTEVAR:ATTRIBUTEREF" style="width: 400px">
    <!-- This template is used for a product variant list box header. -->
    <!-- VariantListHeader HTML end -->

    You can then also add a class to the drop down if you are using css.

    <!-- VariantListHeader HTML begin -->
    <!-- This template is used for a product variant list box header. -->
    <SELECT NAME="NETQUOTEVAR:ATTRIBUTEREF" style="width: 400px" class="main1">
    <!-- This template is used for a product variant list box header. -->
    <!-- VariantListHeader HTML end -->

    Actinic seems to try to add a </select> tag at the end of the above each time you re-open the html file, however if you delete this it seems to work fine.

    Cheers

    #2
    Actinic seems to try to add a </select> tag at the end of the above each time you re-open the html file, however if you delete this it seems to work fine.
    Actinic does not try and validate HTML - are you sure it is not the web-editing package you are using that tries to do this?

    Great trick though - I honestly did not think you could do this.

    Comment


      #3
      Originally posted by cdicken
      Actinic does not try and validate HTML - are you sure it is not the web-editing package you are using that tries to do this?

      Great trick though - I honestly did not think you could do this.
      You're dead right.. Dreamweaver adds it upon opening the html file.
      It's probably one of those things that very few people would use.. but great for sites like I'm building for customising computers.

      Cheers

      Comment

      Working...
      X