The reason it is bad to mix is when people who can't see your typeface decide to increase the font size in their browser (and a lot of us do that when the font size is too small), that a mixture of absolute values and relative values don't work well to keep your layout relative to the font size. Relative values will allow for a fluid layout that flows with the size of the font, absolute values will not. So by mixing these items, some of your parts will flow and some will not, which will make for a very lopsided layout at font sizes that are other than you choose. (and a lot of people do choose to increase font sizes).
In terms of moving it, use the offsets only. CSS is as much an art as a science so you have to play, but start at 45% and work your offset up or down from that. The offsets don't have to match. Also remember that when using an absolutely positioned div, that that div is positioned relative to the containing parent which is not statically positioned. (position:relative or position:absolute), so you also need to make sure that the div is positioned so that it is (structurally speaking) contained only within the <body> tag and not any other tags around it that it might be positioned relative to. Sandra Clark ============================== http://www.shayna.com Training in Cascading Style Sheets and Accessibility CSS HANDS ON New York City, October 10-13, 2006. http://www.shayna.com/index.cfm?fuseaction=training.syllabus_display&id=1 Why is it to mix, it does exactly what I want it to do. Now this may not work very widely but this is an Intranet application where I have knowledge of what browsers I am working with. My logic is that by placing the container top: 50% and left: 50%, this places the div layer in the middle of the browser, but it places the top left corner of the div in the middle. With the negative margins each 1/2 of the width and height move the middle of the div layer to the middle of the browser. How would I do that with positive values? I'll check out the scroll: auto, but I currently have only one vertical scroll bar, albeit in the limited set of browsers I am concerned with; again the advantage of a strictly controlled intranet environment of a small company. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

