What's new

In need of some HTML help

Formatted

No longer a newbie, moving up!
Joined
Dec 20, 2009
Messages
1,391
Reaction score
66
Location
England
Can others edit my Photos
Photos NOT OK to edit
Hey guys and gals

I've got some time and I'm coding my website, problem is I'm not very good at this sort of stuff. I want my text lined up in the centre at a certain width which I have managed to do. But I want it to read normally so that its all to the left but in the middle.

Problem page - About Me - JAWNS - James Wright

How do I achieve this?
 
had a quick look at your source code. try adding align="left" into the div

<center><div align="left" style="width: 600px"><br />
your text
</div></center>
 
Last edited:
Create a table with black border and black background that has 3 column. Put the text in the middle column justified left.

Or do CSS which I have no idea how to do it.
 
<center><div align="left" style="width: 600px"><br />
your text
</div></center>

You sir are a gentlemen and a scholar!

I know I'm a bit late to the party, but...
"Align" is a depreciated tag. It works in all the major browsers, but is no longer recognized as a standard tab by w3c. It's better to use style="text-align: left;" to achieve left text, or use CSS positioning to move the element to where you want it.

That all being said, CSS/HTML positioning is more an art than it is a science, because all browsers render things slightly differently, and it can be a major pain to get them all to do what you want at the same time. Good luck :)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

New Topics

Back
Top Bottom