HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Table height 100%
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Graylord



Joined: 06 Oct 2008
Posts: 9

PostPosted: Mon Oct 06, 2008 10:05 pm     Table height 100% Reply with quote

Im wondering how to adjust table height to 100% or some way to make it fill the entire window (almost) regardless resolution, i tried to add height="100%" but that didn't do squat.

This is the site: http://ultimate-gamer.org



Any suggestions?

Also feel free to note any other issues you might see while at it.

Edit: Oh, and here is the table codes.
Code:
<center>
  <table width="100%" border="0">
    <tr>
      <td>&nbsp;</td>
      <td><strong>
      <center>
        <img src="banner.png" alt="ultimate-gamer" width="248" height="78" />
      </center>      </td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><span class="UCdefault"><span class="bottom"><img src="samus.png" alt="image" align="right" /></span></span></td>
      <td><p align="center" class="UCdefault"><strong>ENTER</strong><strong><strong><strong><strong><strong><strong></strong></strong></strong></strong></strong></strong></p>
        <p align="center" class="UCdefault">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22" title="Is">
            <param name="movie" value="Forums.swf" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#333333" />
            <embed src="Forums.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#333333"></embed>
          </object>
      </p></td>
      <td>&nbsp;<img src="big.png" alt="image" align="left" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>
</center>
<center>
<!-- Start of StatCounter Code -->
    <script type="text/javascript">
sc_project=3659630;
sc_invisible=0;
sc_partition=43;
sc_security="54d1bc80";
          </script>
            <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
            <div align="center">
        <noscript>
        <div class="statcounter"></div>
          </noscript>
        <!-- End of StatCounter Code -->
        <a href="http://my.statcounter.com/project/standard/stats.php?project_id=3659630&amp;guest=1" class="style1">Website Visitor Statistics</a></span> </div>
      </center></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="28">&nbsp;</td>
      <td><span class="UCdefault style3" height="10%" ><center> &copy;2008 Some rights reserved</center></span></td>
      <td>&nbsp;</td>
    </tr>
  </table>
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Tue Oct 07, 2008 4:17 pm     Reply with quote

Try using CSS to style the table tag to the height you want. Actually, using <div> tags and CSS would be much easier to use for a layout since table tags are for tabular data only.

Why Tables Are Bad (For Layout*) Compared to Semantic HTML + CSS
Graylord



Joined: 06 Oct 2008
Posts: 9

PostPosted: Wed Oct 08, 2008 1:40 am     Reply with quote

Ok, im redoing them to <div>, but i have very little knowledge with using divs and now im having an align issue.

How do you line divs next to each others?
Now they just list downwards after each other.
If i try to move them next to each others, they just either jump up or down a slot.
Im using the latest dreamweaver if that matters.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Wed Oct 08, 2008 5:19 am     Reply with quote

Although I have Dreamweaver, I quit using it years ago because it never wrote proper code. Razz

You might be better off staying with what you have until you get the hang of div tags and CSS. You can use simple inline styling for your table tags to set a height:

Code:
<table style="width: 100%; height: 800px; border: 0;" summary="Main Table Contents">


Most of those who start using div tags have a tendency to overdo the divs when it isn't necessary. Divs can be put next to each other if they are in one container together and floated left. Just be sure to clear the float when necessary.
captainnwel



Joined: 29 Oct 2008
Posts: 7

PostPosted: Mon Nov 03, 2008 8:29 pm     Reply with quote

I think that i need to post a reply here, i just dont want to end this thread of the impression that dreamweaver is not a good web editing tool.

Because it is, its auto-complete and auto-end tag is one of the major feature it offers.

Dreamweaver actually speed-up my coding process up to 40-50%. And that is based on being a web developer for about six years now.

============

If you're a beginner and you want to learn html, here's a good place you can start at:

http://beginnerhtml.blogspot.com

Look for its real time tool where you can see the output display of your html code every time you press a key.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Mon Nov 03, 2008 9:18 pm     Reply with quote

captainnwel wrote:
I think that i need to post a reply here, i just dont want to end this thread of the impression that dreamweaver is not a good web editing tool.

Because it is, its auto-complete and auto-end tag is one of the major feature it offers.

Dreamweaver actually speed-up my coding process up to 40-50%. And that is based on being a web developer for about six years now.
Look for its real time tool where you can see the output display of your html code every time you press a key.
Sorry, but DW has never written proper code to Web Standards and never will as long as you use the Visual Editor and not hand code your pages. It comes as quickly out of my mind and onto the page in such a manner that my pages will validate to which ever DocType I'm coding for. For the money it's just not worth it unless you don't know how to hand code nor care whether your pages meet the latest web standards.

My FREE HTML Editor does all the coding I need including PHP. It will autocomplete tags, but I turn that kind of crap off as it is distracting.
captainnwel



Joined: 29 Oct 2008
Posts: 7

PostPosted: Thu Nov 06, 2008 6:14 pm     Reply with quote

PayneLess Designs wrote:
captainnwel wrote:
I think that i need to post a reply here, i just dont want to end this thread of the impression that dreamweaver is not a good web editing tool.

Because it is, its auto-complete and auto-end tag is one of the major feature it offers.

Dreamweaver actually speed-up my coding process up to 40-50%. And that is based on being a web developer for about six years now.
Look for its real time tool where you can see the output display of your html code every time you press a key.
Sorry, but DW has never written proper code to Web Standards and never will as long as you use the Visual Editor and not hand code your pages. It comes as quickly out of my mind and onto the page in such a manner that my pages will validate to which ever DocType I'm coding for. For the money it's just not worth it unless you don't know how to hand code nor care whether your pages meet the latest web standards.

My FREE HTML Editor does all the coding I need including PHP. It will autocomplete tags, but I turn that kind of crap off as it is distracting.




Of course, its a common sense that you cannot preview your website properly if you use scripts on your site (php, coldfusion, asp and etc.).

And ive been doing coding for six years, so i suppose you would understand that im doing everything manually, and as you called it -- hand coding.

You sited a very specific situation, "doing dreamweaver in Design Mode". Which as you said, do not write proper code. So what if i used the "Code View"? Please be more general.

There's nothing wrong about dreamweaver as i specifically said that it helps me with its auto complete and auto end tag function.

And hey, dont take it seriously, my comment is about dreamweaver and not about your person, i mean nothing personal.

PEACE !
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial