Luc wrote: > 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 > > >
You could use absolute positioning, but that always seems to cause more problems than it is worth (for me) . This [1] is one way to do it with floats and has been cursory tested in ie6 and 7 and in compliant browsers. <http://www.chelseacreekstudio.com/ca/cssd/forbidden.html> HTH. ~dL -- http://chelseacreekstudio.com/ ______________________________________________________________________ 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/