Percentage Problem.

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
ThatPerson
Forum Commoner
Posts: 50
Joined: Wed Aug 03, 2011 1:57 am

Percentage Problem.

Post by ThatPerson »

I am creating a website in the style of Ubuntu Unity (Google it if you do not know) and I am trying to recreate the laucher. This is 100% of the screen height, except 24px at the top. is there a way that I could get 100% minus 24px?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Percentage Problem.

Post by pickle »

position:absolute;
top:24px;
bottom:0;
width:100%;
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
ThatPerson
Forum Commoner
Posts: 50
Joined: Wed Aug 03, 2011 1:57 am

Re: Percentage Problem.

Post by ThatPerson »

Ah, thanks. It works now.
Post Reply