Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 09:58 pm EST
Geeklog Forums
NOT understanding the HTML
tokyoahead
Anonymous
Hi,
I was about to modify the header.thtml of the professional theme when I realized that the HTML looked odd to me. However, validating it revealed to me that it mus be correct. Nevertheless, I would like to understand what if going on here:
<body>
<table width="99%" align="center" border="0" cellspacing="0" cellpadding="0" class="header-envelope">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="header-navigation-container">
<tr><td align="left" valign="middle" class="header-navigation">{menu_elements}</td></tr>
</table>
<tr><td width="100%">
Ok, first we start a table, first TD. Inside the TD, there is a table with the menu. Fine so far, the table is closed. But then, inside the TD, after the Table is closed, you start a TR? How? Is this correct? Should there be not anoter /TD and /TR before that?
thanks
I was about to modify the header.thtml of the professional theme when I realized that the HTML looked odd to me. However, validating it revealed to me that it mus be correct. Nevertheless, I would like to understand what if going on here:
Text Formatted Code
<body>
<table width="99%" align="center" border="0" cellspacing="0" cellpadding="0" class="header-envelope">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="header-navigation-container">
<tr><td align="left" valign="middle" class="header-navigation">{menu_elements}</td></tr>
</table>
<tr><td width="100%">
Ok, first we start a table, first TD. Inside the TD, there is a table with the menu. Fine so far, the table is closed. But then, inside the TD, after the Table is closed, you start a TR? How? Is this correct? Should there be not anoter /TD and /TR before that?
thanks
14
12
Quote
Status: offline
vadertech
Forum User
Full Member
Registered: 05/26/03
Posts: 329
http://validator.w3.org/
type www.geeklog.net.
Don't know if that helps any.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
type www.geeklog.net.
Don't know if that helps any.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
28
11
Quote
tokyoahead
Anonymous
Thanks for helping.
However, I did this already, as mentioned above. Anyhow I am talking here not about changes I made. I am talking about the HTML as it is in the standard version.
13
9
Quote
JF
Anonymous
Think about how a <P> tag implies a closing </P> on the previous paragraph.
TR or TD do the same, so your <TR> implies the closing tags.
It's sloppy, but legal HTML.
TR or TD do the same, so your <TR> implies the closing tags.
It's sloppy, but legal HTML.
15
19
Quote
tokyoahead
Anonymous
Ok, got it. I thought that the W3C validator would not let that go through...
thanks
thanks
11
12
Quote
All times are EST. The time is now 09:58 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content