Welcome visitor
* Login
* Register
It is currently November 18th, 2019, 4:03 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  css messed up
PostPosted: June 3rd, 2009, 10:27 pm 

Posts: 19
hi, i was using the height : 100% for a table and that didnt work. then i was told that i need to add a body, html{height : 100%} which i did but now my table doesnt show at all, can anyone help me?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <style type="text/css">
    <!--
    body,html {height:100%}
    #tab {width: 100%; height: 100%; background-color: #d4f}
    -->
</head>

<body>
<table id="tab"></table>


</body>
</html>


Top
 Profile  
 
  Re: css messed up
PostPosted: June 3rd, 2009, 10:32 pm 
User avatar

Posts: 79
close the style tag
</style>
:D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron