Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Need some help getting this aligned in the middle (css)

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch
Impact
11
Im trying to do my first css design, but i dont know how to get my text to be vertically centered.

The site is:
http://www.proxist.com/

Just view the source and tell me how to fix it :)

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html

http://www.student.oulu.fi/~laurirai/www/css/middle/

One thing, it appears you have your 'nav' div about your 'content' div.

If you're putting your nav div in the middle of the page...and your content will be below that...I'm just curious what will be in that whitespace above the nav...?


As I look at it more, it appears you have the 'cont' div, then the 'logo' div inside of that....then you close the 'cont' div and have the 'nav' div, and finally the 'content' div.

Why don't you use a nesting structure with your divs, instead of treating them all as seperate entities (with the exception of 'cont' and 'logo')? Perhaps it would come together better if you positioned the heights using absolute positions...as opposed to trying to fiddle around with alignments? Just an idea, I'm no expert.

Hope that helps..in...any way at all. ;)

-Justin
 
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back