• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[CSS] Text Alignment/Positioning [Help]

Banned
Banned
Joined
Sep 11, 2012
Messages
333
Reaction score
45
Hello. I am kind of new at HTML5/CSS3, and need a little help with text alignment/positioning. The current issue is that the text is not in the middle of my footer, I thought to do that, all you had to do was put the following:

PHP:
vertical-align: middle;

But it is still a bit off and looks ugly. Here is my current footer code:

PHP:
#footer {
	height: 40px;
	width: 1000px;
	background-color: black;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	opacity: 0.8;
	clear: both;
}

Ignore all of the text except the alignments. Here is an image of what it looks like:

1VBJoDS - [CSS] Text Alignment/Positioning [Help] - RaGEZONE Forums

All help would be appreciated! :)
 
Back
Top