Topic: Stupid CSS positioning question Pages that link to <a href="https://ozoneasylum.com/backlink?for=28490" title="Pages that link to Topic: Stupid CSS positioning question" rel="nofollow" >Topic: Stupid CSS positioning question\

 
Author Thread
loj58
Nervous Wreck (II) Inmate

From: I'm over here, now
Insane since: Jul 2006

IP logged posted posted 09-29-2006 21:35 Edit Quote

I know this is probably VERY stupid, but I'm only just learning CSS and I can't find it addressed anywhere I've looked on the net.

I want to keep a DIV positioned in the CENTER of the browser window.

I know I can position it like:

code:
#content {
	padding-top : 50px;
	padding-bottom : 30px;
	padding-left : 200px;
	padding-right : 20%;
	
}



But that really wont keep it center.

Any help or some related reading would be appreciated.

Flashy signature here...

(Edited by loj58 on 09-29-2006 21:41)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 09-30-2006 04:19 Edit Quote

http://reisio.com/examples/deadcenter/

loj58
Nervous Wreck (II) Inmate

From: I'm over here, now
Insane since: Jul 2006

IP logged posted posted 09-30-2006 05:52 Edit Quote

Very cool,

I see! Thank you so much reisio.

They say you can't teach an old dog new tricks..... they may be right. I'm having a hard time wrapping my brain around this stuff.

Flashy signature here...



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu