MyBB Community Forums

Full Version: Align:
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How do you align this text. I have tried <align="left"><code></align> but that did not work:

Here is the code: <!-- hitwebcounter Code START --><a href="http://www.hitwebcounter.com/countersiteservices.php" target="_blank"><img src="http://hitwebcounter.com/counter/counter.php?page=107990&style=0009&nbdigits=5&type=page&initCount=0" title="Free Statistics Counters" Alt="Free Statistics Counters" border="0" ></a><br><a href="http://www.hitwebcounter.com/" title="Web Counter" target="_blank" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 11px; color: #999999; text-decoration: none;"><strong>Web Counter</strong></a> <!-- hitwebcounter.com -->

Thanks,
NoReturn
<p style="text-align: right;">
Nah, don't use <p> use:

<div style="text-align:right">CODE</div>
(2010-09-28, 01:22 AM)Zash Wrote: [ -> ]Nah, don't use <p> use:

<div style="text-align:right">CODE</div>

Waste of a div Toungue I dunno actually i don't like overusing divs, i usually just do it from the CSS.
(2010-09-28, 01:23 AM)Mark.M Wrote: [ -> ]
(2010-09-28, 01:22 AM)Zash Wrote: [ -> ]Nah, don't use <p> use:

<div style="text-align:right">CODE</div>

Waste of a div Toungue I dunno actually i don't like overusing divs, i usually just do it from the CSS.

That would be the proper thing to do Wink A div is a section (or division) in an HTML document. You are trying to separate that area by aligning it to the right, so it is a division.

Using a paragraph tag wouldn't be correct since its not a paragraph.

And how is it a waste of a DIV :p It's not like you have a limit of X divs.
(2010-09-28, 01:24 AM)Zash Wrote: [ -> ]
(2010-09-28, 01:23 AM)Mark.M Wrote: [ -> ]
(2010-09-28, 01:22 AM)Zash Wrote: [ -> ]Nah, don't use <p> use:

<div style="text-align:right">CODE</div>

Waste of a div Toungue I dunno actually i don't like overusing divs, i usually just do it from the CSS.

That would be the proper thing to do Wink A div is a section (or division) in an HTML document. You are trying to separate that area by aligning it to the right, so it is a division.

Using a paragraph tag wouldn't be correct since its not a paragraph.

And how is it a waste of a DIV :p It's not like you have a limit of X divs.

It gets confusing at some points when you have like 13 divs trying to find if you've closed them all. I usually overclose.
just tab them in, makes it >9000 times easier
(2010-09-28, 01:28 AM)Mark.M Wrote: [ -> ]It gets confusing at some points when you have like 13 divs trying to find if you've closed them all. I usually overclose.

Well at that point its just simply being able to use good organization when coding.
(2010-09-28, 01:32 AM)Zash Wrote: [ -> ]
(2010-09-28, 01:28 AM)Mark.M Wrote: [ -> ]It gets confusing at some points when you have like 13 divs trying to find if you've closed them all. I usually overclose.

Well at that point its just simply being able to use good organization when coding.

True i'm a mess, but hey thats notepad for you xD.
(2010-09-28, 01:35 AM)Mark.M Wrote: [ -> ]
(2010-09-28, 01:32 AM)Zash Wrote: [ -> ]
(2010-09-28, 01:28 AM)Mark.M Wrote: [ -> ]It gets confusing at some points when you have like 13 divs trying to find if you've closed them all. I usually overclose.

Well at that point its just simply being able to use good organization when coding.

True i'm a mess, but hey thats notepad for you xD.

Well, my favorite place to code is good ol' cPanel File Manager. I never understood having to FTP files back and forth, back and forth. Just put them on a separate directory, and just work live.
Pages: 1 2