January 7th, 2004, 07:31 AM
[CSS] Positioning 2 layers in one centered layer
I'm transitioning my client sites into compliant XHTML/CSS sites.
I started with this menupage (don 't mind of you don't understand what is says, it's in Dutch ): http://www.valentinus.be.
When you open it 's source code, you see the old non-compliant code using tables. I abandoned tables and used layers in the new code.
One centered layer which contains the photo of the person, the title (De officiŽle website van...) and the beige square as one backgroundphoto. I'm going to make the 2 rollovers also in CSS, and I want to use two layers, one for each choice. I want to position these two layers in the right corner, just like the layout of the old site. Is it possible to do this in a centered containerlayer? So something like this:
This is my code so far:
Thx in advance!
ontwerp door <a href="http://www.grayscale.4ever.cc" target="_blank" class="designlink">Grayscale New Media</a>
<!-- Begin Nedstat Basic code -->
<!-- Title: Valentinus Paquay :: het heilig paterke -->
<!-- URL: http://126.96.36.199/web/valentinus/index.html -->
<a target="_blank" href="http://v1.nedstatbasic.net/stats?ACe2eQOOvLqYI4SvBJ5sYLSYyEaw"><img src="http://m1.nedstatbasic.net/n?id=ACe2eQOOvLqYI4SvBJ5sYLSYyEaw" border="0" width="18" height="18" alt="Nedstat Basic - Free web site statistics" /></a>
<!-- End Nedstat Basic code -->
January 7th, 2004, 11:17 AM
as far as my knowledge goes, if your website is stucked on the left, that means all your navigation and cnotent are based on the left side.(whether its 1024x768,800x600, or even higher resolution all your stuffs are left side) , then you are advisable to use layers with CSS. But if you are using layers to centralise an image with the use of CSS, to my knowledge its nto possible, just stick to tables.