On 8/05/2009, at 5:32 PM, ayrtbh wrote:
>
> but I think it's not really center aligned.
> I applied the text-align:center to ul but found actually it's a  
> little bit
> right shifted.

Browser default stylesheets apply left margin or padding (depending on  
the browser). Google 'CSS reset' to find some options. Otherwise just  
zero out the margin/padding on the <ul>. Also, I'm not sure what you  
are doing with the 4em margin on the link but that is pushing it  
across as well.

Cheers, Tim



______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to