Adding percentages and pixels.

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

Adding percentages and pixels.

Post by ThatPerson »

I am building a website in PHP, and I am trying to have a border on the left of 15%. The dividers are 200px and then there is a 20px gap. Is there a way I can possibly use PHP or something like that to work out the position of the second divider, which is 15%+200px+20px?
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: Adding percentages and pixels.

Post by akuji36 »

Try Css for positioning:

follow this link

http://www.barelyfitz.com/screencast/ht ... sitioning/
Post Reply