2 replies [Last post]
jsabarese
jsabarese's picture
Offline
Enthusiast
Positively 4th Street
Last seen: 7 years 39 weeks ago
Positively 4th Street
Timezone: GMT-4
Joined: 2005-02-05
Posts: 404
Points: 7

hello. i made a 2 column style "left aligned" layout w/ the generator. now i've decided that i want it to be centered. rather than go back and punch out another layout, i'd like to step up to the challenge of converting my existing layout.

if it were you, what would you look for / examine first?

what, if any calculations need to be made?

what do i need to take note of about the divs' current jobs, and what should i be mindful of when thinking about how they will take on new purpose?

i think if i can tackle this experiment with success, it could be a big step in the progress of my learning, so i want to be sure to approach it the right way instead of guessing, and getting lucky.

thanks!!

ps. im finally starting to look at the beginners posts-- in hopes i might be able to lend a hand. hehe... then, i see... not just yet. gimme another few months! Cool

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 weeks 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

"generated": 2-col-left-style to become centered s

Hi jsabarese,
Firstly you need to apply text-align:center to the body to center in IE.
Then you may want to override that with text-align:left in the next element/container.
Lastly you just need to apply auto to the left and right margins of the container.

jsabarese
jsabarese's picture
Offline
Enthusiast
Positively 4th Street
Last seen: 7 years 39 weeks ago
Positively 4th Street
Timezone: GMT-4
Joined: 2005-02-05
Posts: 404
Points: 7

"generated": 2-col-left-style to become centered s

do you mean like i've done here?
i guess the preferred method, of course, is to change the ID in the stylesheet so that all of the pages i've made from the index templage will also be effected.

side note:
wow! i have just set up my "free" linux hosting account w/ my hosting provider... and man is it cool! i just made that sub-domain "test". ah, children will play. hehe