View Single Post
Old 10-21-2003, 04:59 PM   #30 (permalink)
niceguyeddie
Inactive
 
Join Date: 10-12-03
Location: Cranberry Township
Posts: 275
iTrader: 0 / 0%
niceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really nice
Send a message via ICQ to niceguyeddie
Quote:
Originally Posted by LazyJim
This is one of those 'missing' CSS properties I was talking about. I would call it something like block-align or block-position and have the top|center|bottom and left|center|bottom like background-position does.
I don't quite understand what you are getting at. You can float an element, etc, you can pad an element, you can position an element. I just don't understand why you are having a problem with the positioning.

I tell an element to load at an x - y coordinate. Inside that element I can pad it or float it. Why are you using margins for element positioning? Margins are useful for adding space outside of an element, but they aren't intended to be used for the position of block level events.

http://www.georgehernandez.com/xWebs...Attributes.htm

Might help you in your struggles. BTW, I didn't do the xaraya.com theme, that's all Andy V's work. He's much better at CSS than I, but I tend to work a bit simpler. The wyome theme is entirely CSS, and is based on some of the work of csszengardens because it fits well with the Xaraya mark-up.

I prefer simplicity over complicated designs, as less is more in my book. Perhaps that is why I don't necessarily see the problems that you are conjuring up, but that said, I have seen a ton of layouts done that are fully CSS for the positioning that are more complicated than any tabular layout will allow. Besides, tables are a hack for layouts, and are used outside of their original intent of displaying tabular data. Doesn't make it wrong, but I prefer to use the correct tools for the job, rather than messing around with tables which are limited, and are often a mess to validate and make cross browser.
niceguyeddie is offline   Reply With Quote