Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

52 users online



Css vertical centering issue

Css vertical centering issue

Currently viewing this thread: 1 (0 members and 1 guests)


insats

insats

"Santa is an anagram for Satan". So? God is an anagram for Dog. Spooooky...
Status: Offline!

Css vertical centering issue

Im having trouble centering my meny items in a css drop down menu. This is what it looks like now:

http://www.olssongerthel.se/site/index.html

and the css can be found on
http://www.olssongerthel.se/site/menu.css
and
http://www.olssongerthel.se/site/css2.css

I'm trying to vertically align all the menu items (Start, butik etc.) to the middle of the 100x100 box but I can't seem to make it work. Does anyone know what the problem is?

sparky

sparky

I need a haircut
Status: Offline!

Padding!

Code:

<h2 align="center" style="height: 100px; padding-top: 45px;">BUTIK</h2>

___________________

Jon Culver Chia Pets

insats

insats

"Santa is an anagram for Satan". So? God is an anagram for Dog. Spooooky...
Status: Offline!

padding makes the box go outside the box.. sort of. Doesn't do the trick right

coolaid

coolaid

Oh Yeaa.
Status: Offline!

<h2 style="text-align:center;line-height:100px;">BUTIK</h2>

Cool

___________________

scudworkz.com.

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0064 seconds.