Shoutbox

quick css help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: quick css help (/showthread.php?tid=52751)

quick css help by Supersonicdarky on 11-07-2005 at 10:49 PM

how do you text align in css?

ex: 5px from top and 5 px from right?


RE: quick css help by user27089 on 11-07-2005 at 10:50 PM

.bah{
font-family: ;
font-size: ;
color: ;
top: 5px;
right: 5px;
}

then use <font class="bah">...</font> or whatnot...

if you want to use text-align: ;, then the attributes are, center, left & right, but that won't suffice for what you're doing.


RE: quick css help by Supersonicdarky on 11-07-2005 at 10:51 PM

that aligns the whole thing, i just want text


RE: quick css help by user27089 on 11-07-2005 at 10:52 PM

.bah{
}

would be a class, which you can use more than once. whereas #bah{} would only be usable once, this will position the text only if it is in the <font class="bah"></font> area...


RE: quick css help by Jhrono on 11-07-2005 at 10:53 PM

say as he told you,

quote:
Originally posted by traxor

<font class="bah">...</font>

that will only align the text within the tags
RE: quick css help by user27089 on 11-07-2005 at 10:55 PM

I did tell him what he wanted, and I guess there isn't any way of doing it without doing that, or simply using, putting:

padding-top: 5px; padding-right: 5px; text-align: right; in the relevent things that he is using. Otherwise, what I did was perfectly acceptable to what he is doing.


RE: quick css help by Supersonicdarky on 11-07-2005 at 10:56 PM

o, i thought it said align="bah" even though it doesn't work :P

thnx


RE: quick css help by Ezra on 11-08-2005 at 12:00 AM

If you just want to align the text use "text-align: blah;"