|
Posted by joshbeall on 06/23/06 17:32
Philip wrote:
> In article <1151067591.924024.126840@u72g2000cwu.googlegroups.com>,
> joshbeall@gmail.com wrote:
>
> > Thanks for the suggestions. Both work, but the drawbacks I see are:
> >
> > -If I set the margin on the ContentHeader class, then any headers that
> > appear below the login box in the text will not have a bottom border
> > that goes all the way to the right. Not quite what I want.
> > -If I set the background color, then the border may have the appearance
> > of going underneath the login box, and will "come out the other side."
> > Also not what I want.
> >
> > But if those are simply the "way it works" I will work within those
> > contraints. Just thought I'd check to see if there were other
> > options...?
>
> OK, then wrap the login box in another DIV, so you have this:
>
> +------------------------------+
> | |
> | +-------------------+ |
> | | | |
> | | login box | |
> | | | |
> | | | |
> | +-------------------+ |
> | |
> +------------------------------+
>
>
> You can play with the margins on the outer box to achieve an effect you
> like.
>
> --
I would want padding, not margin, if I understand correctly... is that
right?
That way, the outer box would be consuming canvas space (and covering
up the bottom-border horizontal line), and then I would be using the
padding on the outerbox to position the login box on the inside.
Is that right?
> Philip
> http://NikitaTheSpider.com/
> Bulk HTML validation, link checking and more
[Back to original message]
|