Forum Moderators: not2easy

Message Too Old, No Replies

Create checkbox without border in IE

Is there an "mso-" style to use?

         

DrDoc

4:18 pm on Oct 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm working on a page for an intranet. I need to remove the border around my checkboxes. For other browsers
border:none
works like you would expect, but not in Internet Explorer.

It seems impossible to change the look of the border around the checkbox... So, now I'm wondering if there's a proprietary "mso-" property I can use?

In fact, does anyone have a handy-dandy list of all (or at least a majority) of Microsoft's proprietary "mso-" properties?

MozMan

8:45 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



Doc-

My best guess is that such a property doesn't exist. I tried creating a checkbox in a form in a word document and saving it as HTML, then looking at the code, and there is no reference to border in the resulting code. In addition, I tried tried to use word to change the properties of the checkbox (right-click on it and go to properties) in hopes that changing the border would make the border property appear in the code, and there is no way to affect the border there either. So, while I'm not 100% certain, I'm guessing that an MSO property for border doesn't exists for checkboxes...

-Moz

munchiez

8:13 am on Oct 8, 2004 (gmt 0)

10+ Year Member



Rather than using border:none have you tried using border:0?

DrDoc

2:52 pm on Oct 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, I've tried any possible combination of applicable standard CSS, but nothing works on the checkboxes. In fact, assigning any form of border value to a checkbox causes the XP style to be changed to the standard inset look.

For now, I just used clipping to remove the border...

chrisef

2:13 pm on Oct 14, 2004 (gmt 0)

10+ Year Member



Try setting the border color to the same as the background of the form the checkbox is on.

encyclo

2:20 pm on Oct 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In fact, does anyone have a handy-dandy list of all (or at least a majority) of Microsoft's proprietary "mso-" properties?

This only thing I have in my bookmarks is this:

[msdn.microsoft.com...]

There are some

mso-
properties in the right-hand column, but I'm not sure it's a complete list.

DrDoc

4:35 am on Oct 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try setting the border color to the same as the background of the form the checkbox is on.

That does nothing in IE, since IE puts the border outside the checkbox... Try it, and you'll see what I mean ;)

Thanks for the link, encyclo. Will check it out :)