May 7, 2004 #1 byleth Programmer Joined Feb 27, 2004 Messages 70 Location PT Hi, isn't it possible to alter the border attributes of a checkbox? I've tried, input.txt1 { border: thin black solid } but it stays with the same aspect.. thanks
Hi, isn't it possible to alter the border attributes of a checkbox? I've tried, input.txt1 { border: thin black solid } but it stays with the same aspect.. thanks
May 7, 2004 #2 codeone Programmer Joined Mar 25, 2003 Messages 343 Location US dont think this is possible, but you could throw it in the middle of a div and emulate a thick border... __________________________________________________________ "The only difference between me and a mad man is that I'm not mad." - Dali Upvote 0 Downvote
dont think this is possible, but you could throw it in the middle of a div and emulate a thick border... __________________________________________________________ "The only difference between me and a mad man is that I'm not mad." - Dali
May 7, 2004 #3 Supra Programmer Joined Dec 6, 2000 Messages 422 Location US Works for me: Code: <input type="checkbox" style="border:3px dashed #000000" checked> Upvote 0 Downvote
May 7, 2004 #4 grtfercho Programmer Joined Apr 11, 2003 Messages 424 Location US your input.txt1 definition is incorrect. use a class name instead. Code: <html> <body> <style> .borderbox { border:3px dotted #000000; } </style> <form name="test" > <input type="checkbox" class="borderbox" checked> </form> </body> </html> grtfercho çB^]\.. "Imagination is more important than Knowledge"A. Einstein Upvote 0 Downvote
your input.txt1 definition is incorrect. use a class name instead. Code: <html> <body> <style> .borderbox { border:3px dotted #000000; } </style> <form name="test" > <input type="checkbox" class="borderbox" checked> </form> </body> </html> grtfercho çB^]\.. "Imagination is more important than Knowledge"A. Einstein
May 10, 2004 Thread starter #5 byleth Programmer Joined Feb 27, 2004 Messages 70 Location PT well it doesn't work, although it works with text entries.. maybe it's because the browser, wich is Mozilla 1.4.1 Upvote 0 Downvote
well it doesn't work, although it works with text entries.. maybe it's because the browser, wich is Mozilla 1.4.1
May 10, 2004 #6 BabyJeffy Programmer Joined Sep 10, 2003 Messages 4,189 Location GB Check you are not in Quirks mode... make sure you are using a !DOCTYPE on the page (always defined before you open the <html> tag). You could always try making a simple HTML page up with no linked style sheets etc... and use this page (test page) to trial your border CSS out. Try testing with other versions of Moz (Firefox 0.8 is a good lightweight release to test against). Let us know how you get on. Jeff Upvote 0 Downvote
Check you are not in Quirks mode... make sure you are using a !DOCTYPE on the page (always defined before you open the <html> tag). You could always try making a simple HTML page up with no linked style sheets etc... and use this page (test page) to trial your border CSS out. Try testing with other versions of Moz (Firefox 0.8 is a good lightweight release to test against). Let us know how you get on. Jeff