Re: Centering a DIV within a DIV?
- From: Els <els.aNOSPAM@xxxxxxxxxx>
- Date: Thu, 27 Oct 2005 16:47:19 +0200
Robert Latest wrote:
> On 27 Oct 2005 14:31:41 GMT,
> Robert Latest <boblatest@xxxxxxxxx> wrote
> in Msg. <3sc6mdFnh0saU2@xxxxxxxxxxxxxx>
>
>> me again. This time I'd like to align a DIV both horizontally and
>> vertically centered within a larger DIV.
>
> I just found the negative-margin trick. Kinda ugly, but works well
> enough.
Only until the viewport becomes smaller than the inner div.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
.
- References:
- Centering a DIV within a DIV?
- From: Robert Latest
- Re: Centering a DIV within a DIV?
- From: Robert Latest
- Centering a DIV within a DIV?
- Prev by Date: Re: Centering a DIV within a DIV?
- Next by Date: Re: XHTML 1.0 validation for ASP pages
- Previous by thread: Re: Centering a DIV within a DIV?
- Next by thread: Re: Centering a DIV within a DIV?
- Index(es):
Relevant Pages
|