[Solved]CSS, lost my text....

All about creating websites!
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

[Solved]CSS, lost my text....

Post by ayu »

Ok, so before I write anything I want to say that I'm TIRED. It took about 45 seconds before I found the Web Development board.


Ok So I have a stylesheet, and one carrier in it for the site.

Code: Select all

#maincarrier {
position:			absolute;
top:				50%;
left:				50%;
margin-top:			-275px;
margin-left:			-400px;
width:				800px;
height:				540px;
border:				black solid 1px;
background-color:		#959595;
}


Then I want to place a "copyright" text outside the carrier, doesn't sound very hard ey?

Code: Select all

#copyright {
position:			absolute;
top:				50px;
left:				10px;
color:				black;
font-size:			12px;
font-family:			sans-serif;
}

So, to start I placed the text inside the carrier to test that it works and how it looks when inside, didn't look very good so I wanted it outside.

So, without changing the CSS, I placed it outside the carrier, and, it's gone! nowhere to be found. I set the position to 0 in both X and Y, but still nothing!

I'm going fucking crazy here >_<, anyway I'm going to sleep now, and if anyone has a solution or suggestion then don't hesitate to answer ^^

Goodnight!!


Solution

Forgot to close the frame tag
"The best place to hide a tree, is in a forest"

Post Reply