The Noob Coder
08-08-2012, 12:05 AM
I have a few simple elements (some spans, p's, text box, etc.) that I want to put into a container and center in the middle of the page.
I'd like the container to be of a fixed width, such that as the content changes, the container never gets any wider or narrower. I'll have things sliding up and down with jQuery in this box and the box should get taller or shorter based on what appears inside it, but not wider. Is all this possible?
If this seems too vague, please feel free to ask for a clarification.
I'd like the container to be of a fixed width, such that as the content changes, the container never gets any wider or narrower. I'll have things sliding up and down with jQuery in this box and the box should get taller or shorter based on what appears inside it, but not wider. Is all this possible?
If this seems too vague, please feel free to ask for a clarification.