More CSS Help: Centering

Get Help With All Aspects of Web Design & Design Software

Moderators: Moderator, Global Moderator

Post Reply
Josh
Hero Member
Hero Member
Posts: 4627
Joined: Fri Jun 04, 2004 2:54 pm

More CSS Help: Centering

Post by Josh »

Okay.. I\'ve gotten this far from what my last post was (http://josh.killagraphix.com/csshelp.html) and now I\'m 100% stuck on how to get this thing centered... Anyone know how I could center my whole page? (I tried
tags right after the and
right before the tags.. Didn\'t work.

doesn\'t work either as us3rx thought it would be it...

I\'m just STUCK! What do I do? /ggsad.gif\' class=\'bbc_emoticon\' alt=\'(sad)\' /> /head_hurts_kr.gif\' class=\'bbc_emoticon\' alt=\'(ow)\' />



Thanks in advance!
~Josh /sp_ike.gif\' class=\'bbc_emoticon\' alt=\'(spike)\' />
Last edited by Josh on Fri Oct 29, 2004 4:32 am, edited 1 time in total.
[align=center]

Image

“If you stop learning, you stop living.” ~Tami Quiring

“It's the rare man who understands the value of a single perfect rose.”

[/align]
Vercz
Hero Member
Hero Member
Posts: 1915
Joined: Sun May 09, 2004 6:13 am

More CSS Help: Centering

Post by Vercz »

[color=\"green\"][code]<div align="center"><div id="blah" align="center">stuff you want centered goes here</div></div>[/code]

having only one set of
\'s will center the text..having two will put the information in the middle, with the text centered aswell...assuming that they id \"blah\" refers to how the text is set out in the css file..then i think you should be using

[code] <div align="center"><div class="blah" align="center">stuff you want centered goes here</div></div>

with...

div.blah {
font:7pt Arial;
color:#FFFFFF;
text-decoration:none;
}[/code]

the info in the div class \"blah\" is just an example too /blum.gif\' class=\'bbc_emoticon\' alt=\':P\' /> [/color]
Image

Image
Josh
Hero Member
Hero Member
Posts: 4627
Joined: Fri Jun 04, 2004 2:54 pm

More CSS Help: Centering

Post by Josh »

Now that I\'m back from my visit down to Missouri....

Thank you Vercz /blum.gif\' class=\'bbc_emoticon\' alt=\':P\' />
[align=center]

Image

“If you stop learning, you stop living.” ~Tami Quiring

“It's the rare man who understands the value of a single perfect rose.”

[/align]
Vercz
Hero Member
Hero Member
Posts: 1915
Joined: Sun May 09, 2004 6:13 am

More CSS Help: Centering

Post by Vercz »

[color=\"green\"]lol, welcome /bigwink.gif\' class=\'bbc_emoticon\' alt=\';)\' /> [/color]
Image

Image
Post Reply

Return to “Web Design Principles”