suicide
Sep 10 2004, 03:20 PM
| | Hello, I'm hoping that someone can help me with what seems like a simple question. I'm creating a site that I'd like to design to accomodate different screen resolutions -- I'd like to do this by setting table heights using percentages. My first question is:
Is there any drawback to setting heights using percentages?
My second, question is:
I notice that Dreamweaver MX inserts a <DOCTYPE> tag at the beginning of new files:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I notice that with the Doctype tag, my tables don't resize. If I delete it altogether, they do. I guess I need the doctype tag, though, since my page uses IFRAME. Is there an alternative <DOCTYPES> tag I can use? If I opt for strict compliance by deleting the Transitional bit, the tables still don't work. Can I delete the doctypes tag altogether? Please help! thank you. |
Reply
overture
Sep 10 2004, 05:57 PM
you can delete the doctype all together if u are not bothered about being standard compliant which you really dont have to deal with. all the doctype does is state what version of html you are using whether it be strict or transitional, i will give you the tag which deals with i-frames and frames if you want to use it it is up to you. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> I am not sure why but the 100% does not work. This is my hack to get the 100% height to work for you: this is my code that works fine: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>100% height/Width</title> <style type="text/css"> <!-- body { margin: 0; padding: 0; height: 100%; min-width: 600px; min-height: 100%; } --> </style> </head> <body> <table border="0" bordercolor="white" width="100%" height="100%"> <tr> <td bgcolor="#00ff00">100% width and height</td> </tr> </table> </body> </html> anymore trouble post here.
Reply
r3d
Sep 10 2004, 07:24 PM
it's not working coz table doesn't have an height attribute. not valid CODE <table height="100%">....
instead use height attribute in table cell, td and th CODE <td height="100%">... <th height="100%" >...
Reply
Recent Queries:--
table height 100% www.w3.org/tr/html4/frameset.dtd - 553.25 hr back. (1)
Similar Topics
Keywords : table, height, question, pls
- How Do I Get Rid Of Warn: (0%) ----- ?
Is this the right place for this question? (9)
Google Calendar Question
(4) I have a Google Calendar set up to show events that happen in a school. It is currently under my
Google account right now, but I need to share it in order to allow staff and coaches to edit the
calendar events as appropriate. Almost all of them do not have Google accounts. I found a sharing
option for Public calendars and I tried to share the calendar to myself with a different, non-Google
email address. It didn't work, I checked Hotmail and there was no notification or anything like
that. How do I allow non-Google accounts to be able to edit the calendar? It would....
Ask An Open Question 404 (and A Confused Noob)
(3) Came across a forum post recommending astahost and was intrigued by the credit system so thought
I'd sign up. First issue was on the http://www.thecreditsystem.com/ page, "ask an Open
Question" linking to http://faqs.astahost.com/index.php?action=open gets a 404 Not Found error.
Second, was trying to forum search "ask an open question" or "question 404" fails as the words need
to be 4 characters, so I've no idea whether this is a known problem that's already been
reported. Now I've signed up, I'm bombarded with loads of forums & subforums and I....
Question Related To Website
need Web page solution (5) I have some question in mind that need solution so please 1) What is benefit of using header and
footer tag in our web page ? 2) How we can registered our website on any search engine? 3) Did I use
animated image without flash in website.? 4) What is the correct way to display web page on center
in any browser.? if we use css style ? I have little idea off all question answer but i need
specific help so welcome. Thanks....
Pointers
Pointer Question (0) Are pointers optional because I don't understand them clearly. The tutorials are too not
noob-friendly... So: Are pointers optional in mosty programs? Do YOU know any noob-friendly
tutorials on pointers? Thanks in advance for taking your time and answering this~!....
Center In Table Cell With Span
(8) I used colspan in a table along with center in CSS code is: CODE .boldtable1 {
position:absolute; top:217px; left:250px; font-family:sans-serif; font-size:12pt; color:yellow;
background-color:black; } .boldtable1 TD, .boldtable1 TH { font-family:sans-serif; font-size:8pt;
width=162px; color:yellow; background-color:black; text-align:center; vertical-align:middle; } I
use in table CODE . . ... The text becomes centered as if no cells were merged, there is
merging of cells but the text is centered where the first cell was. ....
Question: Ssh Tunneling
(1) I'm not sure if this is the correct place to pose this question or not, but it seemed close. If
I was wrong, I apologize in advance. Essentially, I am looking to do ssh port forwarding
(tunneling) to access a database via localhost. I know how to do this on a unix box, but am new to
doing it on windows. Any help would be appreciated.....
Center In Height
(8) I can make the text appear in the center of the box by CODE text-align:center But that only
works in width i also want it to be centered in height, meaning the word appears exactly in the
middle of the box.....
Css Minus The <p>
A very newbie CSS question (9) Most beginner pages on CSS give introductory examples of how to change font style for a page, by
doctoring up the tag, CODE blah blah blah blah blah I'm finding that this is
pretty annoying to use. It doesn't always work and it adds blank lines (being the tag
because that's what does) around things when I want those lines to be close together. In
Tables, it's really annoying to have ... inside every ..... just because I want to
return to my standardised "somestyle" font settings. /dry.gif" style="vertical-align:middle" emo....
Question About Opengl Codes.
(0) Hey! I've started to learn windows API programming. And I've been using OpenGL. I am
following a tutorial, But I didn't understand every comment. So I rewrote the code some times to
learn it, and made my own comments. Some of the rows have the comment "What do this row do??". I
would be happy, if you could explain those rows to me =), please. And BTW: I am only on the first
tutorial. When I start with the others, I am sure I will have more questions. And if someone else
have a questions about OpenGl, feel free to ask them here, instead of starting a new t....
Selecting More Than One Table
(6) I know you can connect to data base and select a table, can you select a table get what you want
from it then select another table with the same command, or do you have to close the first table (is
their a command for closing a table)....
Php Question, Help Please
(5) Im testing to make a site, i made a bit of the code and using Feelay's login system, but can
this code make safer and better? CODE session_start(); ?> $skin = $_GET ;
if($skin=='1'){ $_SESSION =''; }elseif($skin=='2'){ $_SESSION
='1'; }elseif($skin=='3'){ $_SESSION ='2';; }elseif($skin=='4'){
$_SESSION ='3'; } ?> "http://www.w3.org/TR/html4/loose.dtd"> $id = $_GET ;
if($id=='1'){ echo ' 1 '; }elseif($id=='2'){ echo ' 2
'; }elseif($id=='3....
Simple Java Question
One Variable; Multiple Classes (3) I’m probably the only person that is able to do so much with Java3D and yet still can't
even get some of the Java basics down. Anyway is it (and if so how is it) possible to make a
variable editable and readable in multiple class files? It seems like this should be an easy
question to answer, but here is a little code to help you understand what I am talking about. CODE
public class test extends Applet{ public int Col = 0; if(Col==1){ } } class
TestB extends Behavior { if(collision == true){ Col = 0; }else{ Col = 1; } } Tha....
Joomla License Question
(1) I have a small question of the joomla license. I know Joomla is release under the GNU/GPL license
and that it means I can freely use, copy and alter the source code as long as the license
information is retained. I know that this is possible for non-commercial use, but what about
commercial use ? The reason why I ask this is because I've been asked to create a website for a
store (a bio-store to be exactly) where the owners can place announcements from time to time. Can I
do this with joomla ? (btw. they have no intentions for having an online shop, just some announ....
Dynamic Php Image And Better Php Code Question
(10) Im working on a dynamic image, can i put 2 images in same dynamic image, and can i make this code
shorter? if ( $goal == 31 ) { $xp2 = ('14833'); } elseif ( $goal == 32 ) { $xp2 =
('16456'); } elseif ( $goal == 33 ) { $xp2 = ('18247'); } elseif ( $goal == 34 ) {
$xp2 = ('20224'); } elseif ( $goal == 35 ) { $xp2 = ('22406'); } elseif ( $goal ==
36 ) { $xp2 = ('24815'); } elseif ( $goal == 37 ) { $xp2 = ('27473'); } elseif (
$goal == 38 ) { $xp2 = ('30408'); } elseif ( $goal == 39 ) { $xp2 = ('33648')....
Private Servers Question
(13) Is a private server illegal or its legal? I saw many servers when i search at google, Runescape,
WoW, Ragnarok and some more... If its illegal, is it illegal when playing or hosting, or both?
/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" />....
Concept Of Hijaab In Islaam
different question regrding women in Islam and their answerzzzzz (2) Why shud a Muslim woman be subjugated to da compulsion of a dresscode? Isn’t this restraining her
human rights and her freedom of choice? Does da rule of ‘Hijab’ (a scarf coveringda head) suppress
or liberate women’s individuality? Can a Muslim lady observing ‘Perdah’ be a women’s rights
activist? Wat does feminizm hav to do with a tyrannical, patriarchal religion like Islam? dis effort
is to answer these and many similar questionz -- to enlightenn and to strip awayyy the veil of
ignorance, prejudice and baseless suppositionz dat non-Muslimz around da globe hav against I....
Do Google Search Better Than Yahoo?
This is a question for you all google users!! (15) Do you think google search is better than yahoo?? Are they have similar search?? Well for me google
search is more effective than yahoo search engine.....
Gaia Online Question
Gaia online question cheat (6) Hiya! I play Gaia online and I've been wondering if its possible to log onto more then one
account at a time on one computer. If anyone knows how do this on Mozilla firefox, it would be
greatly appreciated.....
Ipod Hardware And Software Question
(9) I had a problem with my 40GB 4th Generation iPod. It was giving me the sad iPod icon. I tried
restoring it to factory default but it wasn't even detected. So I opened up the iPod and tried
reseating all the cables. I wasn't paying attention and forced the hard drive cable in (I know,
stupid thing to do especially for me). I'm usually more careful, but now the extra "pin" (maybe
a ground) at the end is broken and stuck into the wrong side of the hard drive. I put it in the
correct way now minus that "ground" pin at the end (which is still stuck on the other si....
What's The Best CMS
CMS or not CMS?, that is the question (38) read many artical and try many CMS, but still haven't find a best CMS, have you find it?
phpWebSite Tiki XOOPS TYPO3 FreeWPS XDBCMS Nucleus CMS Mambo....
VB.NET / MS Access Question
(6) Jeez .. i can see people already starting to take up sticks and stones to beat me up .. well .. i
know m annoying .. and this always happens when my questions are related to programming
/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> Newayz ..
to the point .. I have an MS Access DB .. I need a VB Code to retrieve the value from a field in
the table. Let me just put it in a better way. I have a table that has a column: Sno. .. under
sno. i have numbers like 1,2,3,4,5,6,7,8 .... now i created a form where i could view the rec....
Ever Needs To Find Out A Table Height Or With With JavaScript
Well stop looking, here is the answer (CSS and JS) (2) Welcome everybody to this litle tutorial. by v.DragonEyE.n09 Introduction: Using
javascript you can find the height and width of a table, cell, div, image, etc.. the more simple way
is to ask for this... QUOTE id= "myElement" border= "0" cellpadding=
"0" cellspacing= "0" style= " height : 300px ; width
: 450px ; " > some
fake text and images for the example some fak....
Web Browser And Taskbar Problems (web Browser Disappears)
Question about web browsers and taskbar (7) First off, I would like to say thanks for taking the time to read my thread... Er then I won't
have a second or any others, I will just get to my questions. Okay, so I recently noticed that my
web browser windows when I minimized them to the task bar just disappeared. They seemingly minimzed
to a spot that I couldn't see to the down and right of the start button. I know how to get
around this in a couple of ways if I have to... But I was just curious to see if anyone knew how to
fix it a better way? My "solutions" to fix it are: 1) If I hit ALT+TAB at the s....
MySQL Output Database Question
(18) I am new to MySql and have just created a database after using a script. My problem is not the
script, but what it says about putting it into the output file. I cant figure out the right terms
to put it in, I keep getting errors. I try using; SELECT*FROM 'database name' WHERE
'location' but it isnt working. I'm lost with this stuff, I really am. Can someone
please help me out?....
How To Install Applications In Fedora
noob question (12) I'm a linux user since a few days, i've decided to change to linux coz i'm not very
pleased with Windows versions . So i wonder how do i install aplications like Files Sharing and mp3
?....
Question About Asp Now() Function
How to display 24 hour time format (6) I am learning asp currently. The learning environment is windows 2003 plus the builtin IIS. Time
format in this machine is set to 24 hours format (hh:mm:ss). However, when i call the Now()
function in a ASP script, the time it caught and displayed as "2005-7-29 7:32:40pm". Is there
anyway to make it displayed in 24 hours format.?? Just like this "2005-7-29 19:32:40" ....
Mp3 Questions
a question for a mp3 beginner like me (14) Hello... You all like to download MP3 's online right? Well, hmmm... i love to download them
and burn them in a cd but there's some unanswered questions roaving in my mind. Example, I
have many duplicates of one song with different file names, well, I want to remove those duplicate
ones ... how? And MP3 is compressed right? Is there a way to uncompress those compressed
sound so that I will really do unlock the wonderful sound of the audio?....
Question: Vector Based Animation?
Free flash like programs... (4) Hello there! I have experience in flash through art classes in school, and Being a 16 year old on a
low budget, I was curious if there were any flash like programs out there for free? I know free is
pushing it lol... but Im desperate and my creative imagination needs to be released. I'm just
looking for something that has the basic feel and capabilities of flash. Im looking for something
that will be vector based, will animate, and will allow sounds to be added into the background! Any
information would be awesomely appreciated! Thanks much!....
Question About Professional 3d Animating
I.E. Pixar (21) Does anyone know what kind of animating programs comapanies like pixar or dreamworks use? I'm
wondering, because I'm kinda looking into professional animations, and need some advice on what
program to use... flash works for 2d, but i dont think i can do 3d very well in in. Thanks Peace
aaron....
Looking for table, height, question, pls
|
*SIMILAR VIDEOS*
Searching Video's for table, height, question, pls
|
advertisement
|
|