NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page is there anyway to make the checkbox wider and taller

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-27-2007, 04:01 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jan 2007
Posts: 98
baris22 is an unknown quantity at this point
 



is there anyway to make the checkbox wider and taller


Is there any way you can make the checkbox wider and taller. so it will be easy to click.

it is getting harder to click after beeing on the computer so long.

thanks
baris22 is offline  
Old 11-27-2007, 08:31 PM   #2 (permalink)
NamePros Regular
 
G33K's Avatar
Join Date: Mar 2006
Posts: 434
G33K will become famous soon enoughG33K will become famous soon enough
 



don't think so.

maybe if you change your resolution.
G33K is offline  
Old 11-28-2007, 02:29 AM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Jan 2007
Posts: 98
baris22 is an unknown quantity at this point
 



I ment on the web page. I made a script and have to click the check box so often.

After 2-3 hours i loose my cons.
baris22 is offline  
Old 11-28-2007, 02:36 AM   #4 (permalink)
Traveller
 
-NC-'s Avatar
Join Date: Mar 2007
Location: Yet another city
Posts: 1,419
-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future
 


Animal Cruelty Animal Rescue Ethan Allen Fund Protect Our Planet
<input type="Checkbox" style="height:50px;width:50px;">

big enough for ya?

you may also want to look into using the label tag, so that you can click the text next to the checkbox.

<label for="mycheckbox">Click this text to tick the box!</label>
<input type="Checkbox" name="mycheckbox" id="mycheckbox" style="height:50px;width:50px;">
__________________
NameCooler.com
-NC- is offline  
Old 11-28-2007, 04:49 AM THREAD STARTER               #5 (permalink)
NamePros Member
Join Date: Jan 2007
Posts: 98
baris22 is an unknown quantity at this point
 



Waww. thank you very much. it is perfect. Instead of the text can we put image?

i tried this on my php code for image but did not work


PHP Code:

<td width="100"><label for="add_image"><img src="'.$img.'" width="100" height="100" vspace="10" /></label></td>
    <
td><input name="add_image['.$c.']['.$j.']" style="height:50px;width:50px;" type="checkbox"  /></td



Originally Posted by -NC-
<input type="Checkbox" style="height:50px;width:50px;">

big enough for ya?

you may also want to look into using the label tag, so that you can click the text next to the checkbox.

<label for="mycheckbox">Click this text to tick the box!</label>
????: NamePros.com http://www.namepros.com/programming/400548-there-anyway-make-checkbox-wider-taller.html
<input type="Checkbox" name="mycheckbox" id="mycheckbox" style="height:50px;width:50px;">
baris22 is offline  
Old 11-28-2007, 05:55 AM   #6 (permalink)
NamePros Regular
 
nick's Avatar
Join Date: Jun 2004
Location: Iowa City
Posts: 705
nick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud of
 


Save The Children
Originally Posted by baris22
Waww. thank you very much. it is perfect. Instead of the text can we put image?

i tried this on my php code for image but did not work


PHP Code:

????: NamePros.com http://www.namepros.com/showthread.php?t=400548
<td width="100"><label for="add_image"><img src="'.$img.'" width="100" height="100" vspace="10" /></label></td>
    <
td><input name="add_image['.$c.']['.$j.']" style="height:50px;width:50px;" type="checkbox"  /></td

Try removing the label tags
__________________
formally ninedogger
------
Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends
nick is offline  
Old 11-28-2007, 06:05 AM THREAD STARTER               #7 (permalink)
NamePros Member
Join Date: Jan 2007
Posts: 98
baris22 is an unknown quantity at this point
 



Originally Posted by ninedogger
Try removing the label tags
no. you got me wrong.
????: NamePros.com http://www.namepros.com/showthread.php?t=400548

<label for="mycheckbox">Click this text to tick the box!</label>
<input type="Checkbox" name="mycheckbox" id="mycheckbox" style="height:50px;width:50px;">

this works perfect. But i want to click to an image instead of the text to activate the check box.
baris22 is offline  
Old 11-28-2007, 06:08 AM   #8 (permalink)
Traveller
 
-NC-'s Avatar
Join Date: Mar 2007
Location: Yet another city
Posts: 1,419
-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future
 


Animal Cruelty Animal Rescue Ethan Allen Fund Protect Our Planet
you can put a background image on the label:

Code:
<label for="mycheckbox" style="width:276px;height:110px;background-image:url('http://www.google.com/intl/en_ALL/images/logo.gif');display:block;float:left;"></label>
<input type="Checkbox" name="mycheckbox" id="mycheckbox" style="height:50px;width:50px;">
__________________
NameCooler.com
-NC- is offline  
Old 11-28-2007, 06:10 AM THREAD STARTER               #9 (permalink)
NamePros Member
Join Date: Jan 2007
Posts: 98
baris22 is an unknown quantity at this point
 



Originally Posted by -NC-
you can put a background image on the label:

Code:
<label for="mycheckbox" style="width:276px;height:110px;background-image:url('http://www.google.com/intl/en_ALL/images/logo.gif');display:block;float:left;"></label>
<input type="Checkbox" name="mycheckbox" id="mycheckbox" style="height:50px;width:50px;">
Can you not put an image instead of background?

ok. sorted. thank you very much

PHP Code:
<td width="120"><//span>><label for="add_image['.$c.']['.$j.']" style="width:120px;height:120px;background-image:url('.$img.');display:block;"></label><//span>></td>
????: NamePros.com http://www.namepros.com/showthread.php?t=400548
    <
td><input name="add_image['.$c.']['.$j.']" id="add_image['.$c.']['.$j.']" type="checkbox"  /></td
baris22 is offline  
Old 11-28-2007, 08:59 AM THREAD STARTER               #10 (permalink)
NamePros Member
Join Date: Jan 2007
Posts: 98
baris22 is an unknown quantity at this point
 



Originally Posted by -NC-
you can put a background image on the label:
When you put background image, can you adjust the settings for the image.

Say width:276px;height:110px for the original image. Can you resize it to width:100px;height:100px
baris22 is offline  
Old 11-28-2007, 11:55 AM   #11 (permalink)
Traveller
 
-NC-'s Avatar
Join Date: Mar 2007
Location: Yet another city
Posts: 1,419
-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future
 


Animal Cruelty Animal Rescue Ethan Allen Fund Protect Our Planet
it's best to resize the image to the actual size you want it displayed.
__________________
NameCooler.com
-NC- is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:23 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger