Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-07-2009, 01:51 AM   PM User | #1
KoRe
New Coder

 
Join Date: Feb 2009
Posts: 22
Thanks: 2
Thanked 0 Times in 0 Posts
KoRe is an unknown quantity at this point
This is impossible =\ i been trying to do this for 2 days any feedback would help

Code:
<style type="text/css">
body {
margin: 0px;
	background: #1C1C1C;
    font-family: "Lucida Grande",Tahoma,Helvetica,Arial,sans-serif;
    font-size: 11px;
    font-style: normal;
	font-color: #fff;
}
#TITLEBG {
	width:100%;
	height:168px;
	z-index:-1;
	overflow: visible;
	background-image: url(http://xtraservers.com/egl/theme/default/images/TOPBN-Left.jpg);
	margin:0 auto;
	left: 0;
	top: 0;
}
#LOGINAREA {
	position:absolute;
	width:415px;
	height:168px;
	z-index:1;
	left: 50%;
	background-image: url(http://xtraservers.com/egl/theme/default/images/TOPBN-CENTER.jpg);
	top: 0;
}

#LOGIN {
	position:absolute;
	width:320px;
	height:22px;
	z-index:2;
	left: 64px;
	top: 69px;
}

</style>
</head>

<body>


<div id="TITLEBG"></div><div id="LOGINAREA"><div id="LOGIN">
 <?
//Login Block ////////////////////////////////////////////////////////////////////////////////////

LOGIN SECTION  IS HERE.. 

//End Login Block////////////////////////////////////////////////////////////////////////////////////////////////////////
?></div>
</div>
As you can see my login at, http://www.xtraservers.com/egl

it isnt going anywhere no matter how i put any code in it stays in the same spot. whats going on? need help bad. "still newb at css a lot i been playing with this for the past few days."

Help would be greatly appreciated. Basically i want to know why its not going anywhere so then i can do my margins or w/e to make it position correctly.
KoRe is offline   Reply With Quote
Old 02-07-2009, 02:11 AM   PM User | #2
KoRe
New Coder

 
Join Date: Feb 2009
Posts: 22
Thanks: 2
Thanked 0 Times in 0 Posts
KoRe is an unknown quantity at this point
Hmm it seems firefox to me isnt working properly.

IE shows it below the greenline and i think its moveable will test in a sec. Yes works in IE lawl.

Hmmm, i wonder why Firefox is so crap now =\ im using 3.0.6
KoRe is offline   Reply With Quote
Old 02-07-2009, 02:18 AM   PM User | #3
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello KORe,
Try this for starters:
Code:
#LOGINAREA {
	position:absolute;
	width:415px;
	height:168px;
	z-index:1;
	left: 50%;
	background-image: url(http://xtraservers.com/egl/theme/default/images/TOPBN-CENTER.jpg);
	top: 0;
}
#LOGIN {
	width:215px;
margin: 45px auto 0;
background: #ccc; /*for testing only*/
}
To make this work you have to look all the way down toward the bottom of your embedded styles and delete
Code:
#LOGIN {
	position:absolute;
	width:320px;
	height:22px;
	z-index:2;
	left: 65px;
	top: 48px;
}

Errors on your site - http://validator.w3.org/check?verbos...s.com%2Fegl%2F
It could be you should not use a strict doctype.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
KoRe (02-07-2009)
Old 02-07-2009, 02:21 AM   PM User | #4
KoRe
New Coder

 
Join Date: Feb 2009
Posts: 22
Thanks: 2
Thanked 0 Times in 0 Posts
KoRe is an unknown quantity at this point
Wow that worked forboth

your the man now lets see if i can position it to where i want it =\
KoRe is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:02 PM.


Advertisement
Log in to turn off these ads.