>  Good evening list,
>
>  This has got to be a no-brainer but i can't get my hands on it:
>
>  i've got a customed error page where the margin/padding is driving me
>  nuts.
>
>  the <h1> holds the warning: "Error 403: Forbidden Access forbidden to
>  remote server"
>
>  The goal is to have "Error 403:" sitting flush to the left of the
>  container and to have "Forbidden Access forbidden to remote server"
>  flush to the right of the container.
>
>  "Error 403:" has a class with a "float: left". This of course does  
> the
>  trick but i was trying to get the same effect without "float", just
>  by using marging/padding but that doesn't fall to well... trying
>  several values i couldn't get it aligned like i want.
>
>  http://www.dzinelabs.com/projects/MPT/Pages/error
>
>  http://www.dzinelabs.com/Stylesheets/error
>
>
> -- 
> Best regards,
>  Luc
>

Hi Luc,

 From initial looking, get rid of the margin-left: -100px (this  
looked like a fix of some sort for your problem) in .text. Next, in  
your h1, you have:

padding: 20px 10px 15px 5em;

Notice the right side is set to 5em. I think that is  where your  
problem really is. Set that to 0:

padding: 20px 10px 15px 0;

That should fix it.

Mark
______________________________________________________________________
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