This link has been bookmarked by 32 people . It was first bookmarked on 27 Jul 2008, by Glenn M.
-
John KeyesNice __CSS centering wizardry__. Position container 50% right, position children 50% left. Gift.
-
aimee wBeautiful Horizontally Centered Menus/Tabs/List. No CSS hacks. Full cross-browser.
-
Charles GnilkaA lot of people want centered menus on their website but for the CSS novice this task seems impossible. If you do a search online you will find a few centering methods but most of these rely on CSS hacks, JavaScript or non-standard CSS rules that are not supported by all browsers (display:inline-block; is an example). In this post I'm going to show you my secret method of achieving centered tabs that does not use any CSS hacks and will work in all the common web browsers. It is also compatible with my perfect liquid layouts. Let's start with a basic example then I'll explain how it works.
-
Ze fauNo CSS hacks. Full cross-browser.
-
-
ance the ul element will move to the right by 50% of the 'centeredmenu' div width - this is half of the browser window. Th
-
-
koki nagasawaリスト要素でマークアップしたタブ型ナビゲーションを中央に配置するCSStips
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.