Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7712933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:44:51+00:00 2026-06-01T01:44:51+00:00

Why is my CSS not working? I’m trying to edit the margins for the

  • 0

Why is my CSS not working? I’m trying to edit the margins for the image, to center it.

I’ve put “margin-left: 135px !important;” and “margin-right: 335px !important;” in my css file, selected the correct class and tag, and it is showing struck out in Google Chrome. Firefox isn’t even showing the CSS.

The class is .mainlogo-img.

The site is http://www.barflypub.com

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:44:52+00:00Added an answer on June 1, 2026 at 1:44 am

    You mustn’t use spaces between the value and “px”.
    margin: 0px 335px 0px 135px; will work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a CSS for these lines, but they are not working
Vertical-align: middle; is not working. From css file : #header {height:150px; text-align: center; vertical-align:
CSS word-spacing property for input elements not working in Opera Am I doing something
I need to add a background for in css file which is not working
am using the following css code for the style, but it is not working
Below code is not working in IE but working in Chrome... $(this).css(border,solid 1px green)
I have a JavaScript function that is not working now that I put in
Possible Duplicate: css @font-face not working with firefox, but working with chrome and IE
Please help : $(this).css(background, transparent); is not working in IE (7 and 8). Thank
Footer css after form's css is not working , what is the problem in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.