The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to format a checkbox image of unknown size/aspect ratio?
parth shah
post Feb 19 2020, 01:07 AM
Post #1





Group: Members
Posts: 2
Joined: 19-February 20
Member No.: 27,173



I have a survey page on my web site where the options are formatted checkboxes with a background image. However, the images are not necessarily uniform size or aspect ratio from survey to survey. How can I adjust my CSS to use a common width when the sizes are unknown. I've posted the relevant section of my CSS below, as well as a link to the page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 19 2020, 04:31 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,630
Joined: 9-August 06
Member No.: 6



QUOTE(parth shah @ Feb 19 2020, 07:07 AM) *

I've posted the relevant section of my CSS below, as well as a link to the page.


No, you didn't. Please try again. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
parth shah
post Feb 20 2020, 01:34 AM
Post #3





Group: Members
Posts: 2
Joined: 19-February 20
Member No.: 27,173



QUOTE(parth shah @ Feb 19 2020, 01:07 AM) *

I have a survey page on my web site where the options are formatted checkboxes with a background image. However, the images are not necessarily uniform size or aspect ratio from survey to survey. How can I adjust my CSS to use a common width when the sizes are unknown. I've posted the relevant section of my CSS below, as well as a link to the page.



Any Updates???
______________________________________________________________________________
land solutions new projects in dadar commercial property for sale in pune
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Feb 20 2020, 01:42 AM
Post #4


Programming Fanatic
********

Group: Members
Posts: 1,711
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



You posted no CSS and no link.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 23 2020, 07:24 PM
Post #5


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,630
Joined: 9-August 06
Member No.: 6



Any updates? biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 2nd April 2020 - 02:21 AM