Print Page | Close Window

Need to control Radio Button alignment

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart Build To Order
Forum Name: Customizing BTO
Forum Description: Interact with other users, resellers and developers about customizing BTO
URL: https://forum.productcart.com/forum_posts.asp?TID=3078
Printed Date: 22-May-2024 at 3:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Need to control Radio Button alignment
Posted By: M Robles
Subject: Need to control Radio Button alignment
Date Posted: 01-October-2009 at 3:20pm
I would like to flow the radio buttons horizontal and vertically to minimize the amount page scrolling due to large numbers of selections within a category.
 
I have looked at the configurePrdCode.asp and although I have not found what I am looking for I am pretty sure it is in this file.
 
This seems like an easy formatting solution, but it's not coming easy to me.
 
Thanks.



Replies:
Posted By: M Robles
Date Posted: 02-October-2009 at 1:07pm
Can CSS be used to control the flow of the radio buttons?
 
If so, where would I place the CSS within the configurePrdCode.asp? In the TD, or the Input?
 
I want to create a class="configPrdRadioButtons" but like I said I am not sure where it would be inserted or if it would even work. 
 
Then use this in my PC CSS file
.configPrdRadioButtons {
   display: inline;
}


Posted By: M Robles
Date Posted: 05-July-2012 at 5:00pm
This is something I still would like to solve. 


Posted By: Hamish
Date Posted: 05-July-2012 at 5:22pm
Hi, It's not a CSS only solution I'm afraid. If you view source you will see the buttons are on a row each in an html table. If you do modify ConfigurePrdCode.asp to get what you want then please be aware that there are two blocks of code in the file that will need modifying. I did something along these lines, but with checkboxes, several years ago on an earlier version of ProductCart but stuck to two wide.  

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: M Robles
Date Posted: 20-July-2012 at 12:28pm
What do you think about replacing the entire config table with div containers so that they could be positioned freely? 


Posted By: Greg Dinger
Date Posted: 20-July-2012 at 3:28pm
That can likely be done.  It's just a matter of digging in, or asking someone to assist.  I have resources I could apply to that right away if you wish help.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net