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 6941131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:50:45+00:00 2026-05-27T12:50:45+00:00

No matter what I try to do, I can’t get my tinyMCE text editor

  • 0

No matter what I try to do, I can’t get my tinyMCE text editor to center properly.

here’s the markup:

<div id="container">    
<form method="POST" id="tiny_mce"><div class="title">YOUR POSTING</div><br>
    Title:<br />
    <input type="text" name="title"  /><br /><br />
    Your words:<br />
    <textarea name="words" class="tinymce" cols="30" rows="10"></textarea>
    <br /><br />
    <input type="submit" name="submit" value="SUBMIT"  />  
    </form>
</div>

CSS:

*{
margin: 0;
padding: 0; 

}
body,html{
    margin:0 auto;

}
#container{
width:1200px;
border:0px solid black;
height:600px;
margin:0 auto;
}
#tiny_mce{
display:block !important;
float:left;
margin-left:auto;
margin-right:auto;
}
#tiny_mce input{
float:left;
}
  • 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-05-27T12:50:46+00:00Added an answer on May 27, 2026 at 12:50 pm

    This is due to the strange combination of your floating + having no width. You are trying to center an object which you wish to be entirely to the left, this is in direct conflict with each other. Also your #tiny_mce CSS has no width thus the auto-auto on left and right margins won’t work since the browser doesn’t know how big the block element will be. Removing the float and adding a width will center your tiny_mce.

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

Sidebar

Related Questions

This should be simple but no matter what I try I can't get the
No matter how hard I try I can't get this.. This matches the whole
I have a simple problem but no matter what I try I can't see
No matter how I try, I can't seem to create a nice and clean
No matter how I try, I cannot mimic the clean syntax of Rhino Mocks,
I am having a really bad issue where no matter what I try, the
No matter how you scroll, the div should always be at the bottom of
No matter how I configure the Credentials property I get a 401 exception when
I've been playing with HTML5 audio recently, and though I can get it to
I am trying to prevent an animation from firing unless the container div, #opts,

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.