![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Radio buttons take styles somewhat inconsistently from browser to browser when input styles are declared, you could add a class removing borders or other values you don't want, this will look after the browsers that do render them. This tut shows you how to layout a two column form with CSS, a three column one would follow the same principles. http://www.adobe.com/devnet/dreamwea...forms_pt3.html This one explains using labels as block level elements to break the label and input onto two seperate lines and how to use labels as block level elements to lay out a form "table style". http://www.adobe.com/devnet/dreamwea...forms_pt2.html Further tuts on forms and CSS are available here: This one is a basic intro to form styling, which you likely won't want to read, or perhaps you will. http://www.adobe.com/devnet/dreamwea...forms_pt1.html -- Cheers jojo Adobe Community Expert for Dreamweaver 8 ---------------------------------------------------- http://www.webade.co.uk http://www.ukcsstraining.co.uk/ ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
#4
| |||
| |||
|
|
I skimmed over those tutorials the other day. Anyway, I don't want a 2-col or 3-col form, I just meant it's in a 2-col or 3-col page layout. I applied a class to my radio buttons that didn't have a background color or border, but it still shows it. What am I missing? |
#5
| |||
| |||
|
|
Dan Galfano wrote: I skimmed over those tutorials the other day. Anyway, I don't want a 2-col or 3-col form, I just meant it's in a 2-col or 3-col page layout. I applied a class to my radio buttons that didn't have a background color or border, but it still shows it. What am I missing? Check your specificity, you should be able to override the settings on the radio buttons. They are inheriting styles from input, right? -- Cheers jojo Adobe Community Expert for Dreamweaver 8 ---------------------------------------------------- http://www.webade.co.uk http://www.ukcsstraining.co.uk/ ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
#6
| |||
| |||
|
|
Yes, in IE it's taking the border and background color. In Opera, just the border. In FF, it's fine. |
#7
| |||
| |||
|
|
Dan Galfano wrote: Yes, in IE it's taking the border and background color. In Opera, just the border. In FF, it's fine. Still having a problem? Can I see how the rules are written? -- Cheers jojo Adobe Community Expert for Dreamweaver 8 ---------------------------------------------------- http://www.webade.co.uk http://www.ukcsstraining.co.uk/ ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
#8
| |||
| |||
|
|
.noborder {margin-top: 2px; padding-top: 2px;} |
#9
| |||
| |||
|
|
Dan Galfano wrote: .noborder {margin-top: 2px; padding-top: 2px;} Your .noborder class doesn't remove the border. Change it to this and it works fine for me. .noborder {margin-top: 2px; padding-top: 2px; border: none;} -- Cheers jojo Adobe Community Expert for Dreamweaver 8 ---------------------------------------------------- http://www.webade.co.uk http://www.ukcsstraining.co.uk/ ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
#10
| |||
| |||
|
|
You know, I did do that last night and it did take the border off for Opera and IE. I must've removed it when I was trying to get the background to not follow the rule. This is only in IE where it's taking the input rule's background still. How can I get rid of that? Thanks! Dan "jojo" <jojo (AT) zoot3 (DOT) com> wrote in message news:e37k4b$3tu$1 (AT) forums (DOT) macromedia.com... Dan Galfano wrote: .noborder {margin-top: 2px; padding-top: 2px;} Your .noborder class doesn't remove the border. Change it to this and it works fine for me. .noborder {margin-top: 2px; padding-top: 2px; border: none;} -- Cheers jojo Adobe Community Expert for Dreamweaver 8 ---------------------------------------------------- http://www.webade.co.uk http://www.ukcsstraining.co.uk/ ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
![]() |
| Thread Tools | |
| Display Modes | |
| |