atrum Posted May 16, 2008 Share Posted May 16, 2008 Hello, The issue I am having is probly really stupid, but what I need is to have text typed into a centered div tag align to the left of that tag. and i can not seem to do it. Here is the url http://team-symbiosis.com/test.html I am not sure what i am doing wrong. Quote Link to comment https://forums.phpfreaks.com/topic/105875-div-tag-text-alignment/ Share on other sites More sharing options...
soycharliente Posted May 16, 2008 Share Posted May 16, 2008 Your link gives me an 'object not found' page. Why do you want centered text to align left? Quote Link to comment https://forums.phpfreaks.com/topic/105875-div-tag-text-alignment/#findComment-542889 Share on other sites More sharing options...
atrum Posted May 16, 2008 Author Share Posted May 16, 2008 I am sorry, I forgot that I renamed the page. the link should be http://team-symbiosis.com/application.html and as you can see from the source, I have the text inside a div tag. I want the contents of the div tag to align left, but not the div tag it self. I will also post my code incase this link doesnt work either. <html> <head> <style type="text/css"> body { margin: 0% 0% 0% 0%} div {background-image: url('images/appimg/background_jan.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-position: center top; background-color: black; } font {p {color: rgb(255,255,255)} </style> <title>Application for the Fallen</title> </head> <body text="white" bgcolor="black"> <div align="center"> <a name="reports"><h2>Application for the Fallen</h2><br> <FORM METHOD="post" ACTION="application.php"> <br> Select all that apply: <br><br> <input type="checkbox" name="ventrilo" value="Yes"/> Ventrilo AND working microphone <br> <br> First Name: <br> <input type="text" name="name"/><br> Main Character Name:<br> <input type="text" name="mainname"/><br> Main Character Level:<br> <input type="text" name="main_level"/><br> Main Character Class:<br> <select name="Class"> <option value="Assassin">Assassin</option> <option value="Barbarian">Barbarian</option> <option value="Bear Shaman">Bear Shaman</option> <option value="Dark Templar">Dark Templar</option> <option value="Demonologist">Demonologist</option> <option value="Guardian">Guardian</option> <option value="Herald of Xotli">Herald of Xotli</option> <option value="Necromancer">Necromancer</option> <option value="Priest of Mitra">Priest of Mitra</option> <option value="Ranger">Ranger</option> <option value="Tempest of Set">Tempest of Set</option> </select><br><br> Crafting Professions:<br> <select name="prof"> <option value="Weapon Smith">Weapon Smith</option> <option value="Armor Smith">Armor Smith</option> <option value="Alchemy">Alchemy</option> <option value="Architecture">Architecture</option> <option value="Gem Cutting">Gem Cutting</option> </select> <br><br> Gathering Professions:<br> <input type="checkbox" name="mineing" value="Mining"/> Mining <br> <input type="checkbox" name="prospecting" value="Prospecting"/> Prospecting<br> <input type="checkbox" name="skining" value="Skinning"/> Skinning  <br> <input type="checkbox" name="stone_cut" value="Stone Cutting"/> Stone Cutting<br> <input type="checkbox" name="weaving" value="Weaving"/> Weaving <br> <input type="checkbox" name="wood_cut" value="Wood Cutting"/> Wood Cutting<br><br> Average Play Time:<br> (check all that apply)<br><br> Weekdays<br> <input type="checkbox" name="avgtimehr1" value="12pm - 4pm"/> 12pm - 4pm<br> <input type="checkbox" name="avgtimehr2" value="4pm - 8pm"/> 4pm - 8pm <br> <input type="checkbox" name="avgtimehr3" value="8pm - 12am"/> 8pm - 12am<br><br> Weekends<br> <input type="checkbox" name="avgtimehr4" value="12pm - 4pm"/> 12pm - 4pm<br> <input type="checkbox" name="avgtimehr5" value="4pm - 8pm"/> 4pm - 8pm <br> <input type="checkbox" name="avgtimehr6" value="12pm - 4pm"/> 8pm - 12am<br><br> Write a brief paragragh describing your biggest gamer strength,<br> and how you plan to utilize this strength for the betterment of your team: <br> <textarea cols=40 rows=10 name="essay"></textarea> <br> <br> <input type="submit" value="Submit"/> <input type="reset" name="reset" value="Reset Form"><br> </form> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/105875-div-tag-text-alignment/#findComment-543006 Share on other sites More sharing options...
soycharliente Posted May 16, 2008 Share Posted May 16, 2008 If you don't want your text to be centered, take out the align="center" part. Quote Link to comment https://forums.phpfreaks.com/topic/105875-div-tag-text-alignment/#findComment-543016 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.