The problem with using padding or changing the width is that it changes
the size of the h1 element, which messes up the design.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Sent: 23 November 2006 11:12
To: css-d@lists.css-discuss.org
Subject: Re: [css-d] Quick question : how do you text-indent right
alignedtext ?

On 11/23/06, Lee Bettridge <[EMAIL PROTECTED]> wrote:
> <h1 id="titleBar">NEWS</h1>
>
> and this bit of css
>
> #titleBar
> {
>         position: absolute;
>         left: 167px;
>         top: 0px;
>         width: 473px;
>         height: 32px;
>         background-color: #121212;
>         color: #DCDCDC;
>         font-size: x-large;
>         text-align: right;
>         margin: 0px;
> }
>
> and what I would like to do is give the 'NEWS' text a 5px padding in
> from the right hand side ?

Hi,

Either
1) set the width to 468px, or
2) add padding-right: 5px
Or I am missing something :)
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to