Re: [Wicket-user] Centering
Got it! Moved "margin-left: auto; margin-right: auto" from "wicket-box" to "wicket-top". Stupid mistake on my behalf... The wicket-top had a "width" style associated with it so it obviously needed to get the centering tags.
Gili
--Original Message Text---
From: Gili
Date: Wed, 09 Mar 2005 20:40:54 -0500
Ok, I give up. This totally does not work. Here is my HTML:
Wicket Examples - helloworld
Wicket Examples
helloworld
Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!
Everywhere I look they say margin-left: auto; margin-right:
auto; should center horizontally but it does not work for me. I assume
you can reproduce this on your end? Any idea how to fix it?
Gili
On Wed, 09 Mar 2005 21:14:51 +0100, Eelco Hillenius wrote:
>There several ways of doing this. E.g. (came up with a quick google):
>http://www.quirksmode.org/css/centering.html
>
>Eelco
>
>Gili wrote:
>
>> I've got the border to work but now I want to have it center in
>>the middle of the page. I am not familiar with CSS in this domain: how
>>does one center nested <div>s within the page? I tried "style:
>>text-align=center" but it did nothing.
>>
>>Gili
>>
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>Wicket-user mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Wicket-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-user
>
- Re: [Wicket-user] Centering <div>s? Gili
- Re: [Wicket-user] Centering <div>s? Gili
Reply via email to
Got it! Moved "margin-left: auto; margin-right: auto" from "wicket-box" to "wicket-top". Stupid mistake on my behalf... The wicket-top had a "width" style associated with it so it obviously needed to get the centering tags.
Gili
--Original Message Text---
From: Gili
Date: Wed, 09 Mar 2005 20:40:54 -0500
Ok, I give up. This totally does not work. Here is my HTML:
Wicket Examples - helloworld
Wicket Examples
helloworld
Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!
Everywhere I look they say margin-left: auto; margin-right:
auto; should center horizontally but it does not work for me. I assume
you can reproduce this on your end? Any idea how to fix it?
Gili
On Wed, 09 Mar 2005 21:14:51 +0100, Eelco Hillenius wrote:
>There several ways of doing this. E.g. (came up with a quick google):
>http://www.quirksmode.org/css/centering.html
>
>Eelco
>
>Gili wrote:
>
>> I've got the border to work but now I want to have it center in
>>the middle of the page. I am not familiar with CSS in this domain: how
>>does one center nested <div>s within the page? I tried "style:
>>text-align=center" but it did nothing.
>>
>>Gili
>>
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>Wicket-user mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Wicket-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-user
>
- Re: [Wicket-user] Centering <div>s? Gili
- Re: [Wicket-user] Centering <div>s? Gili
