PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 3, 2022

[FIXED] How to set the height for the < th > or < table > tag?

 August 03, 2022     css, html, html-table, marquee     No comments   

Issue

How to set the height for the < th > tag or the < table >. I found height=600px; as the property but its just going 600 pixels down from top of the screen but not setting the height of table as 600 px;

 <table>
 <tr>
 <th style="width : 400px ;height:600px">
 <marquee direction=up behavior="scroll">
  hello
 </marque>
 </th>
 </tr>
 </table>

I'm just learning to grasp more grip on tables and marque tag. I need to scroll up some text say hello from bottom to top in the < th > tag but I'm unable to set the height. Its working good if I use direction=left or right because I have increased width but how do I set the height of the < th > or < table > . Well its increasing when I enter text but I want to do it explicitly


Solution

you are doing it right as far as the table goes, for your marquee to expand vertically as far as its container just add style="height: 100%;" to it



Answered By - Kris Ivanov
Answer Checked By - Terry (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing