• 0
Sign in to follow this  
Followers 0

formatting not staying

Question

Posted · Report post

I have used firebug to add background color to primary sidebar and to remove a white line around my contact form. I added this custom css code to my Custom CSS section and only some took effect. In Firefox, the background color took but not in safari. the removal of the border on my submit button did not take for either browser. www.ipsimmediatepropertysolutions.com PS- I am working with the new 2.0 page lines- really great!

Share this post


Link to post
Share on other sites

7 answers to this question

  • 0

Posted · Report post

What code did you try adding and what white lines are trying to get rid of? The white line above the Submit button?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

This is what I used for removing the white line above the submit button: input[type="submit"], .submit, input[type="button"], .button, input[type="reset"], .reset { ? ? ? ? -moz-border-bottom-colors:? none; ? ? ? ? -moz-border-image:? none; ? ? ? ? -moz-border-left-colors:? none; ? ? ? ? -moz-border-right-colors:? none; ? ? ? ? -moz-border-top-colors:? none; ? ? ? ? background-attachment:? scroll; ? ? ? ? background-color:? transparent; ? ? ? ? background-image:? -moz-linear-gradient(center top , #FFFFFF 0%, #DCDCDC 100%); ? ? ? ? background-origin:? padding-box; ? ? ? ? background-position:? 0 0; ? ? ? ? background-repeat:? repeat; ? ? ? ? background-size:? auto auto; ? ? ? ? border-bottom-color:? #BBBBBB; ? ? ? ? border-bottom-left-radius:? 0; ? ? ? ? border-bottom-right-radius:? 0; ? ? ? ? border-bottom-style:? solid; ? ? ? ? border-bottom-width:? 1px; ? ? ? ? border-left-color-ltr-source:? physical; ? ? ? ? border-left-color-rtl-source:? physical; ? ? ? ? border-left-color-value:? #BBBBBB; ? ? ? ? border-left-style-ltr-source:? physical; ? ? ? ? border-left-style-rtl-source:? physical; ? ? ? ? border-left-style-value:? solid; ? ? ? ? border-left-width-ltr-source:? physical; ? ? ? ? border-left-width-rtl-source:? physical; ? ? ? ? border-right-color-ltr-source:? physical; ? ? ? ? border-right-color-rtl-source:? physical; ? ? ? ? border-right-color-value:? #BBBBBB; ? ? ? ? border-right-style-ltr-source:? physical; ? ? ? ? border-right-style-rtl-source:? physical; ? ? ? ? border-right-style-value:? solid; ? ? ? ? border-right-width-ltr-source:? physical; ? ? ? ? border-right-width-rtl-source:? physical; ? ? ? ? border-right-width-value:? 1px; ? ? ? ? border-top-color:? #BBBBBB; ? ? ? ? border-top-left-radius:? 0; ? ? ? ? border-top-right-radius:? 0; ? ? ? ? border-top-style:? solid; ? ? ? ? border-top-width:? 0; ? ? ? ? box-shadow:? none; ? ? ? ? color:? #000000; ? ? ? ? cursor:? pointer; ? ? ? ? padding-bottom:? 4px; ? ? ? ? padding-left:? 9px; ? ? ? ? padding-right:? 9px; ? ? ? ? padding-top:? 4px; ? ? ? ? text-shadow:? 0 1px 0 rgba(255, 255, 255, 0.5); } This is what I used for the background image for primary sidebar: #sb_primary{ background: -moz-linear-gradient(top, #efefef, #025c95); }

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

-moz-linear-gradient is what's called a prefixed css rule, and is only intended to work in firefox. Try using a tool like this which will give you the rules for all browsers: http://projects.korrelboom.com/gradient-generator/#top|RosyBrown|Purple

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks but it didn't work. I copied all the code in their order and nothing happened. Any other suggestions?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Sorry- just got it to work- I had to add the #sb_primary{ in front of it :) Any way I can get the white line above the submit button removed?? The code above works with bumblebee but not when I add it into the CSS

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Can you post a link to your site?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Just got it to work. Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0