Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] getting padding-right for no reason? Reply To: [Solved] getting padding-right for no reason?

#191834
Senff
Participant

Senff: When I remove left: 40%; the search text input moves to the left side . I want it to be in the middle :/

Then you weren’t clear about what you wanted. To do that, you’ll need to add more code, like:

.s_p form {
   text-align:center;
}

However, by doing that, you’ll be adding code that may fix one problem, but it could break other things. There are a lot of issues with your code. Instead of patching every problem, I fully back up @Paulie_D’s advice and suggest you start over properly.

Don’t take this as harsh criticsm; we’re here to help. And the best way to help you with this is to tell you that you’re not using the proper methods, and that you should look into how things should be done properly.