Log In · Register

 
Allign Text
funride
post Apr 1 2009, 02:58 PM
Post #1


Funride.org
*****

Group: Member
Posts: 326
Joined: Jul 2007
Member No: 542,299



Okay so here's my code.

CODE
<style type="text/css">

body{background-color: #000000;
color: #ffffff;
font-family: arial;
font-size: 12px;}

#content{
position: absolute;
overflow: hidden;
top: 315px;
left: 140px;
width: 301px}

#banner{
position: absolute;
top: 05px;
left: 140px;
width: 301px}

</style>

<div id="banner">
<img src="http://i42.tinypic.com/2czes9g.png">
</div>


<div id="content">
<center><h1>Heading here</h1></center>
<center>Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words. </center>
</div>


Can someone help me allign the text to be in between the stars, because I just had to center the header, but the main text wont go in the middle.
 

Posts in this topic
5stardesigns   Allign Text   Apr 1 2009, 02:58 PM
Fawaz   I hope this helped. CODE<style type="text/...   Apr 1 2009, 03:15 PM
mipadi   I played around with it a bit and ended up with th...   Apr 1 2009, 03:18 PM
5stardesigns   Thank you.   Apr 1 2009, 03:25 PM
Mike   Topic closed & moved.   Apr 1 2009, 03:35 PM


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: