Welcome, Guest. Please Login or Register.
April 30, 2025, 04:29:06 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Graphics and Templates  |  How to get rid of a Checkbox Border? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: How to get rid of a Checkbox Border?  (Read 782 times)
LittleOlMe
Noobie
*
Posts: 5


I'm a llama!

How to get rid of a Checkbox Border?
« on: February 06, 2003, 04:16:21 AM »
Reply with quote

I know this must sound stupid but how do I get rid of a checkbox border? I checked the HTML and the settings.php. Am I missing something?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:How to get rid of a Checkbox Border?
« Reply #1 on: February 06, 2003, 04:19:26 AM »
Reply with quote

a checkbox is included as an <input> tag
so if u want to change the border, u can puto something like this in the css part:

input { border: 1px solid black; }
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
LittleOlMe
Noobie
*
Posts: 5


I'm a llama!

Re:How to get rid of a Checkbox Border?
« Reply #2 on: February 07, 2003, 04:16:02 PM »
Reply with quote

When I changed the css in the template.php on the input line it takes my borders off of all input fields. I just want the border transparent on my checkboxes. Here's the website

http://www.filebookslink.com/yabbse/index.php

On the search page (and all other checkboxes throughout the forum) you can see the white border around all the checkboxes. What file do I actually need to alter? Is it the settings.php, template.php, or the search.php?
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:How to get rid of a Checkbox Border?
« Reply #3 on: February 07, 2003, 05:54:33 PM »
Reply with quote

I suppose that if the classes "windowbg" and "input" have different colors you will always see a little border around the checkbox. The border is the better visible the more different the colors are. Maybe you could change your "input" color from pure white to a light green?
« Last Edit: February 07, 2003, 05:55:45 PM by andrea » Logged

LittleOlMe
Noobie
*
Posts: 5


I'm a llama!

Re:How to get rid of a Checkbox Border?
« Reply #4 on: February 10, 2003, 03:17:18 PM »
Reply with quote

I ended up taking the <input> reference out of the template.php and it reset everything to the default settings. It gives me a white window, no borders, and gray buttons. I'm not thrilled with the button color but it looks better than the border around the boxes.

Thanks.  
Logged
alienine
Forum Screwball
YaBB God
*****
Posts: 648


*GRIN*

Re:How to get rid of a Checkbox Border?
« Reply #5 on: February 11, 2003, 12:00:45 PM »
Reply with quote

its simply coz if you got a background for your input in your css.. you unfortunatelly get the background on the boxes... its kinda stupid...
Logged

[/url]
Zulu
Full Member
***
Posts: 104


I'm no longer a llama, I'm a Monkey

WWW
Re:How to get rid of a Checkbox Border?
« Reply #6 on: February 11, 2003, 06:29:24 PM »
Reply with quote

If the above worked.. but did it for all input fields you can try adding something like this to all checkbox <input> fields:

<input style="border: 0px" ... />
Logged

Webby @ RFI
Formerly known as PtPazuzu
alienine
Forum Screwball
YaBB God
*****
Posts: 648


*GRIN*

Re:How to get rid of a Checkbox Border?
« Reply #7 on: February 12, 2003, 03:33:21 AM »
Reply with quote

good idea but requires yabb to be modded a bit... but honestly its nothing a well formed regular expression couldn't do in 2 seconds!
Logged

[/url]
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  How to get rid of a Checkbox Border? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.116 seconds with 21 queries.