eugeneg Posted June 19, 2013 Share Posted June 19, 2013 Please point me in the right direction with two questions. 1. I understand that tables are depreciated. What mechanism is best practice for housing four columns that can expand and contract with the width of the browser window ? 2. I would like the same header on each page. How can this be written once and used dynamically so that future changes are reflected on all linked pages ? Thanks. Link to comment Share on other sites More sharing options...
jeffman Posted June 19, 2013 Share Posted June 19, 2013 1. Make each column a floating div. In CSS, define the width of each column in percents, so they add up to a total of 100%. Note that padding/margins will be added on to these percents, so it's best to apply spacing to internal elements, not to the columns themselves. 2. Use an include file. The tutorial I linked you to shows PHP, but any language supports this. 1 Link to comment Share on other sites More sharing options...
eugeneg Posted June 20, 2013 Author Share Posted June 20, 2013 That's great, thanks to Deirdre's Dad. 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