CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 7th, 2004, 07:31 AM
titanium::core titanium::core is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 16 titanium::core User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
[CSS] Positioning 2 layers in one centered layer

Hey people!

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:
Code:
<<body id="keuzeindex">
	<div align="center">
		<div id="keuzemenu">
		</div>
		<p class="keuzeindexparagraaf">
			ontwerp door <a href="http://www.grayscale.4ever.cc" target="_blank" class="designlink">Grayscale New Media</a>
		</p>
		<p class="keuzeindexparagraaf">
			<!-- Begin Nedstat Basic code -->
			<!-- Title: Valentinus Paquay :: het heilig paterke -->
			<!-- URL: http://212.123.1.105/web/valentinus/index.html -->
			<script language="JavaScript" type="text/javascript" src="http://m1.nedstatbasic.net/basic.js">
			</script>
			<script language="JavaScript" type="text/javascript" >
			<!--
  				nedstatbasic("ACe2eQOOvLqYI4SvBJ5sYLSYyEaw", 0);
			// -->
			</script>
			<noscript>
			<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>
			</noscript>
			<!-- End Nedstat Basic code -->
		</p>
	</div>
</body>


Thx in advance!

Reply With Quote
  #2  
Old January 7th, 2004, 11:17 AM
Mohmoo Mohmoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 Mohmoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > [CSS] Positioning 2 layers in one centered layer


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT