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.? Link to comment https://forums.phpfreaks.com/topic/164213-solved-tables/ 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) Link to comment https://forums.phpfreaks.com/topic/164213-solved-tables/#findComment-866220 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 ) Link to comment https://forums.phpfreaks.com/topic/164213-solved-tables/#findComment-866240 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.