Thread: css positioning
View Single Post
  #1 (permalink)  
Old 08-24-2008, 12:25 AM
gilgalbiblewhee gilgalbiblewhee is offline
Registered User
 
Join Date: Jul 2004
Posts: 249
css positioning

I have a few more questions on css positioning.
How to center the content;
What about the positioning of the inside tags? If you want to position at a specific place.
Code:
	<body style="width: 100%; background-color: #808000;" onLoad="parseXML(); bodyOnload();">
		<div id="master" style="float: left; display: block; text-align: left; width: 955px;">
			<div id="navbar" style="position: absolute; left: 10px; top: 10px; margin: 0 0 10px 0; border: none; background-color: #FFCC00; width: 200px; height: 180px;"></div>
			<div id="picbar" style="position: absolute; left: 10px; top: 200px; margin: 0 0 10px 0; border: none; background-color: #FFCC00; width: 200px; height: 390px; overflow-y: scroll;"></div>		
			<div id="maindiv" style="position: absolute; left: 230px; top: 10px; border: none; background-color: #FFFFAE; width: 700px; height: 580px;">
				<div id="galbar" style="position: absolute; left: 150px; top: 0px; z-index: 3;"></div>
			</div>		
		</div>
	</body>
__________________
Gilgal's website:
Wheel Of God
Now easy to post scripture verses!
Portfolio
Reply With Quote