Click to See Complete Forum and Search --> : Hello Newbie here


brh122
12-02-2005, 12:06 AM
Hi Everyone, Newbie here
Could any one explain
to me the code
as if you're trying to
align text
in a web page
where everything
is neatly align
to the left as if im typing now
Instead of like this
below
~~~~~~~~~~~~~~~~~~
Hi Everyone, Newbie here
Could any one explain
to me the code
as if you're trying to
align text
in a web page
where everything
is neatly align

to the left as if im typing now
Instead of like this
below

See the difference
im looking for the results
of the former, not the later
Thanks

brh122
12-02-2005, 12:10 AM
oops that doesnt work, i was trying to make
a comparison but some how or another
the text align to the left in both
cases the example is better seen
i guess this way
http://www.shopforhours.com
I'm trying to get everything
to align to the left in my Introduction
in this page]
thanks

deep.dhyani
12-02-2005, 12:20 AM
<Body dir='ltr | rtl'>

stacywacy
12-02-2005, 12:27 AM
Did you know you're using the <center> tag and align = "center" for some text?

If you want your text to be on the left hand side then in your CSS you need

text-align: center;

or, in your html use

align = "left"

Remove the <center> tags and align = "center" from anything you don't want centered.

brh122
12-02-2005, 12:37 AM
is it <align=left at what point do i put the closing tags

deep.dhyani
12-02-2005, 12:45 AM
style="align:left"


Your can use above code in any html tag but align='left' attribute You can use only selected tags.

stacywacy
12-02-2005, 12:48 AM
is it <align=left at what point do i put the closing tags

Put the align = "left" (make sure it has quotes around it) in the tags you want to align left <h1><p>....

<p align = "left">Text</p>

Or, with CSS

p {
text-align: left;
}

<p>text will be aligned left in every <p> tag</p>

It's none of my business how you code your site, but it will save you a lot of time if you used CSS to your advantage. You wouldn't have to go through all your code and change every <p> or <h1> tag, but you could conveniently change it with CSS in less time. Tags like <font> are out dated and could easily be done using CSS. I see that a lot of your <p> tags use the same font style, so you'll save time by using CSS because you won't have to create all those font tags for every time you want something a certain way (I know I didn't articulate myself well enough but I can show you an example of what I'm talking about if you're interested). Also, go through your website and remove all the <center> tags from the text you don't want centered like (assuming you don't want to center that block of text):

"<CENTER><FONT COLOR=#990033>Welcome to Shopforhours.com here you'll find
great companies to shop, which you have
shopped your families with, at your local
Malls through the year, now Online you
get to shop thier stores on thier secured
sites, at the click of a mouse, or in the
convience of your own home.
Thanks for shopping with us
consider Shopforhours.com your
Online Mall
Happy Holidays!</FONT></STRONG></CENTER>"

NogDog
12-02-2005, 01:11 AM
<p style="text-align: xxxxxx">
Where xxxxx = left, center, right, or justify