Click to See Complete Forum and Search --> : Hi! Im in training XHTML etc. need help.
RUNEMASTER
09-13-2005, 11:53 PM
I also could use some newby buddies.
Im new so hello!
Im currently using a bunch of cds to learn:
XHTML
CSS
FLASH
DREAMWEAVER
Send me a private message if you want my messenger email address.
Ok my problem is i do not understand why i cannot exhibit the following document in my browser? I have IE 6, and Firefox.
......................................
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<table>
<tr>
<td colspan="2"< </td>
<td colspan="2"< </td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
BillyBrack
09-14-2005, 02:01 AM
You have no head defined. Please check your PM box. :)
RUNEMASTER
09-14-2005, 02:40 AM
Hey thanks.I checked my pm box but nothing in it.
NogDog
09-14-2005, 02:52 AM
Got some brackets facing the wrong way. These lines should be:
<td colspan="2"> </td>
<td colspan="2"> </td>
RUNEMASTER
09-14-2005, 02:59 AM
Ahhh! Damned good catch.HEheh!
RUNEMASTER
09-14-2005, 03:46 AM
Still it doesnt show in the browsers.IE6 and firefox.
Heres the code again a bit altered.
I wonder if anyone can make it show up properly in browser?
................................................
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title> Kiss my butt</title>
</head>
<body>
<table>
<tr>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
There is no content to show. It's an empty table.
RUNEMASTER
09-14-2005, 05:11 AM
yeah i see what your saying.I guess i have to define a border. This came out of a tutorial cd. Ill update this in the near future(when I wake up again).Thanks for the help.
markdamo
09-14-2005, 05:15 AM
Try this
--------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title> Kiss my butt</title>
</head>
<body>
<table width="100%" height="100%" border="1" bordercolor="#000000">
<tr>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
NogDog
09-14-2005, 05:22 AM
Here's a modified version to study. Additional study materials at http://www.w3.org/TR/html4/struct/tables.html and http://www.w3.org/TR/CSS21/tables.html .
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
<title>Table Example</title>
<style type="text/css">
<!--
table {
border-collapse: collapse;
border: solid 2px black;
margin: 0 auto;
}
td, th {
padding: 0.25em 0.5em;
border: solid 1px black;
}
caption {
font-weight: bold;
font-size: large;
margin: 0.5em auto;
}
.gray {
background-color: #cccccc;
}
th {
background-color: #ccffff;
text-align: center;
font-weight: bold;
}
-->
</style>
</head>
<table>
<caption>Test Table</caption>
<colgroup>
<col>
<col class="gray">
<col>
<col class="gray">
</colgroup>
<tr>
<th colspan="2">double wide cell</th>
<th colspan="2">double wide cell</th>
</tr>
<tr>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
</tr>
<tr>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
</tr>
<tr>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
</tr>
</table>
</body>
</html>
RUNEMASTER
09-14-2005, 05:41 AM
Your to generous. By the way.at this point you seem like a god of code to me.How long have you been into codes? Is there any hope a regular neanderthal like me could get it together with XHTMl,and CSS in a few months you think? Call it beginners shakes.
Thanks again for the kind help.This site seems like a good place to start on my journey. :)
I finally got it right.Not as sophisticated as yours but its a start i guess.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>marys lamb</title>
</head>
<body>
<table border="2" cell padding="3" cell spacing="3" width=75%>
<tr>
<td>mary</td>
<td>mary</td>
<td>mary</td>
<td>mary</td>
</tr>
<tr>
<td>joe</td>
<td>joe</td>
<td>joe</td>
<td>joe</td>
</tr>
<tr>
<td>joe</td>
<td>joe</td>
<td>joe</td>
<td>joe</td>
</tr>
<tr>
<td>joe</td>
<td>joe</td>
<td>joe</td>
<td>joe</td>
</tr>
</table>
</body>
</html>
Ill be sure to study yours. :)
NogDog
09-14-2005, 05:53 AM
I'm just a music education major who ended up working in the IT business via a long and winding road. I've been learning about HTML and related stuff via osmosis since whenever I first got on the Web, (early '90s?), but I've really only been learning more than the basics over the last 2-3 years. Undoubtedly my experience working in the software business for 17+ years makes reading things like the w3.org HTML and CSS specifications a bit less daunting than it might for "lay people".
So I guess what I'm saying is you don't have to be a programming genius to learn HTML and CSS, just persistent. :)
RUNEMASTER
09-14-2005, 06:09 AM
Pleasure metting your acquaintance.
Im a male Nurse.Yea I know "Meet the Fockers right"?
I pretty much hate my job, and have dreams of becoming a freelance website designer so I can work less at my current job (maybe make a few bucks on the side), so I wont drop dead soon from the stress.
I figure if i could eek out a few dollars for peanut butter and bread whithing a couple of years of learning on my own then Id consider myself actualized.
Some would say hey this guy is no Captain America, but I always figured if you keep your expectations reasonable then you wont be too dissapointed when you crash.
At this point I liken myself to Dante having gone thru the depths of hell itself.Hell aint a pretty place, and its real trust me.
I figure freelance webdesigner of sorts.Not too much to ask of the cyber gods I hope.By the way do you think that web designers will be in demand thru say 2015?
Got my fingers into
XHTML
CSS
FLASH
DREAMWEAVER
But just kinda started.
Ahh me in a log cabin somewhere on a mountain making websites.Ahhh the dream.
Hey I live in jersey too.Union county.