DEVILofDARKNESS Posted June 30, 2009 Share Posted June 30, 2009 Now I'm using loads of tables to get everything in the right place. But that makes the code a bit of a mess, instead I would like to use div's with CSS, but how can you say in css the following: <table border='0' height='100%' width='100%'> <tr><td><table border='0' height='100%' width='50%'></td><td><table border='0' height='100%' width='50%'></td></tr> <tr>.....</tr> </table> I don't know how you can say a certain element should have that height relative to the computer screen.? Quote Link to comment Share on other sites More sharing options...
haku Posted June 30, 2009 Share Posted June 30, 2009 To set a relative width, you use: width: 50%; (for example) Quote Link to comment Share on other sites More sharing options...
DEVILofDARKNESS Posted June 30, 2009 Author Share Posted June 30, 2009 Okay thanks! (it's probably a beginners question, but I'm ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.