The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Align Textbox?, not being able to align textbox
SpeedFreak
post Apr 16 2011, 02:50 PM
Post #1





Group: Members
Posts: 1
Joined: 16-April 11
Member No.: 14,345



Hi there, im new to html im only a kid, my problem is i have made a textbox using textarea and i have aligned the text within it, but im not sure if its possible to then align the actual text box itself to the middle of the webpage, i have so far:

<html>
<head>

<!-- Title -->

<title> Gamers United </title>

</head>
<body style="background-color:black;">

<!-- Title + Page -->

<h1 style="color:white;"><b><u> Gamers United </u></b></h1>
<h2 style="color:white;"><u> Home Page </u></h2>

<hr style="color:red;" />

<!-- Pages -->

<a href="HTML/Home Page.html">Home Page</a> &nbsp; <a href="HTML/About Us.html">About Us</a> &nbsp; <a href="HTML/Flash Games.html">Flash Games</a>

<hr style="color:red;" />

<p align=center style="color:red;font-size:50px;"><u> NEWS </u></p>

<br/>

<textarea style="text-align:center;border:0;background-color:black;color:white;" cols="40" rows="5"> News go here </textarea>

</body>
</html>

Im wondering if theres something i can put after Textarea in order to align my text box, thank you. :huh:
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 02:05 AM