Re: Designing with tables and spacer GIFs
Michael Zeltner <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
hey jakob Jakob à berg wrote: > First of all, thanks to all of you who have been doing some very impressive > work in developing Plone. I'm new to this list and quite new to Zope / Plone > as well. I love it so far. I'll do my best to contribute with my experiences > once I get a hang on it. > > So far everything is going fine. I have some problems though finding my way > through all the CSS-styles. I'm trying to do a very exact design where > everything is positioned to the pixel. This would be a simple task using > div-layers, but since I'm using a centered design I had to go for tables and > spacer gifs. you can center divs aswell: http://www.thenoodleincident.com/tutorials/box_lesson/basic_centered.html http://www.mezzoblue.com/tests/centered-css/ joe geldart (Arnia on irc - #plonedesign if you're interested) mentioned a technique where you can center even vertically: http://www.wpdfd.com/editorial/thebox/deadcentre4.html so no need for tables :) we wouldn't claim to be so flexible with css if this wasn't possible ;) > The first row that should be two pixels high renders as about 10 pixels > high. actually, i don't know how to use tables anymore (yes thats really true) so i can't help you with the code snippet :) > I tried to remove "plone.css", which obviously ruins most of the design, but > it made the blank row look like intended. Does anyone know if there is a > style that set a margin to images or table cells or something? Was this > intended to be done in some other way? I've seen examples of people who > apply a text style to blank spaces, with font-size and line-height set to > one pixel... i don't exactly see what you mean - i don't think we're applying anything on tables or images. regards, michael -- </gro.jiin//:ptth> °jiin ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click