Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) CSS Positioning…is this method good or bad? why? (Curtis?)

  • Curtis Thompson

    October 2, 2005 at 1:02 am

    hello…

    that certainly works great – the only caveat might be when you have plain text content in a box because you might not be able to guarantee the height, meaning you couldn’t reliably do the division to get it perfectly vertically centered…

    but outside of that, this is a very cool way to do centering – i’ve always done it the old table way, but this is much easier…

    hope that helps!

    sitruc

  • Brian Of influx media

    October 2, 2005 at 2:35 am

    Thanks for the reply. Now, If I do use this to center the page, what about if I want to position lets say some slices from photoshop using the ABSOLUTE property in that container.

    ie.

    I have 5 jpg files and one gif file (a logo), and I want to make 5 DIV’s that are absolutely positioned in the DIV that is centered on the page as in the example link I gave you. Everything I position inside the main DIV will be centered no matter what the browser size is. Is this a bad practice? I have been reading alot of negative things on using ABSOLUTE positioning in this way. If its a bad practice, I will stick with tables for the layout portion for now. I am in that “Wanting to position with CSS mood” but I dont want to sacrifice alot of other things while doing it. I like the sites on http://www.csszengarden.com and how they are designed and set up to float with the page, or expand on one side, but most of my designs are not like that. I like to “center” my content in whatever kind of frames I use at the moment. Its either going to be the old fashioned way (tables) or the new wave way (CSS-P)… I cant decide =)

    Wow.. sorry for the ramble. lolo

    B

    Brian Artka

    https://www.influx-media.com
    Digital Video/Digital Media Specialist
    Video Production/Web Design

  • Brian Of influx media

    October 22, 2005 at 4:15 pm

    https://www.joe2torials.com/view_tutorial.php?view=37

    is where the example has been moved to

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy