Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2005
    Posts
    99
    Plugin Contributions
    0

    Default change from centered 100% width to left justified?

    hi everyone,

    ive got a 100% width, centered template that i use for my site and because i want to have nore flexibility with banners and graphics etc , i want to fix the size of the template, and left justify it also.

    i have edited the css to achieve what it currently is, ad that was a painful trial and error experience, so i kinda know my way around it, however for some reason what i thought would have effect doesnt.

    Can some expert here please tell me what css areas i need to be looking at to change please (from % to px for instance?).

    i might as well have it all fixed, as the sideboxes are set via the admin page- so all is left is the centre area.

    i hope someone can assist.

    if you want to havea look please visit www.totalerc.com

    at the moment ive been able to change the overall size, but it is still centred, and to tell you the truth im not really sure what i changed to change the size from 100% to 1000px (i think)

    Cheers,

    Tim

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: change from centered 100% width to left justified?

    Not sure what it is that you want??

    you have several design conflicts if what I think you want is correct.

    I f you want the design left justified, most browers resoultion is 1024 or less and you top image is fixed at 1023px making for a mess if you reduce the layout to say 750px.

    An example of what you want might assist
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    hi kobra- yep gotchya.

    i was aware of the mess and the size limit...however what i really need help with is what sections in the css to edit to make this happen.

    i can see that some sections of my current css show things like ''100%'' and so forth..as they should.

    but which one do i change to make it 1023 for example?

    and then, when i do that, it stays centred (as it is right now on my site).

    how do i left justify it?

    or should i leave it centered?

    Thanks for the reply mate!

    Tim

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    Change the #mainWrapper width to whatever you want and remove the margin: auto; from the same
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Mar 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    thanks!.......

  6. #6
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    I'm looking to do the opposite...
    I want it centered, but when I make it a specific size, or percentage smaller then my screen resolution it left justifies. where and what code do I put in to center the main wrapper?

  7. #7
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    Change the #mainWrapper width to whatever you want and remove the margin: auto; from the same
    Put the margin: auto in the mainWrapper.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  8. #8
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    didn't work for me, still left justified.

    /*wrappers - page or section containers*/
    #mainWrapper {
    background-color: #FFFFFF;
    text-align: center;
    width: 80%;
    margin:auto;
    vertical-align: top;
    border: 1px solid #000000;

  9. #9
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?

    URL to the site?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  10. #10
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: change from centered 100% width to left justified?


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Left *and* right justified images in logowrapper?
    By 4lex in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Aug 2011, 03:22 AM
  2. Center VS left or justified - arkitec-hd black template
    By calsac in forum Addon Templates
    Replies: 4
    Last Post: 29 Apr 2010, 08:48 PM
  3. Product-Listing Description ONLY Left-justified
    By sjk1000 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Nov 2008, 05:19 PM
  4. I want product listing images centered, but the other two columns left-justified?
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Oct 2008, 04:51 PM
  5. 100% width header - fixed width content
    By Empire402 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jan 2007, 03:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg