sweetysweety Posted May 15, 2013 Share Posted May 15, 2013 hi everyone,i have a structure on my attachmenti'm trying to expand the height of my red block under the buttons.i want to see 2px top and bottom of that block.i think if i can write a mathematical expression on height method,i can do what i want.but i search on net and couldnt find anything.can anyone help me to solve this problem? Link to comment Share on other sites More sharing options...
Ingolme Posted May 15, 2013 Share Posted May 15, 2013 Is this a CSS or a Javascript question? CSS can't do it. Javascript can manipulate elements and do mathematical calculations, but people who have Javascript disabled can't see it. I think you can probably do what you want without having to add in mathematical expressions by setting paddings, margins and borders. You'll have to explain the goal you want to achieve more clearly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now