View Full Version : DIV problem


tabs
12-05-2005, 10:48 AM
Hey guys, I just started learning about using DIVs instead of tables. I think I did it properly but when I tried to validate it, this error cameup. I cant seem to track the problem. Hope somebody can help me. Thank you.

Error Line 75 column 6: end tag for "DIV" omitted, but its declaration does not permit this.</body>

Info Line 72 column 0: start tag was here.
<div id="footer"><div>

Error Line 75 column 6: end tag for "DIV" omitted, but its declaration does not permit this.</body>

Info Line 16 column 0: start tag was here.
<div id="main">

My website...

http://tabsgfx.t35.com

luvhartz
12-05-2005, 10:52 AM
Try:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>.// TabsGFX v2.0 .// Bleach Theme</title>

<link rel="stylesheet" href="styles.css" type="text/css">

</head>

<body><script type='text/javascript' src='/pop.js'></script>

<div id="main">

<div id="header"></div>

<div id="menu">
<a href="index.html">HOME</a> |
<a href="about.html">ABOUT</a> |
<a href="gallery.html">GALLERY</a> |
<a href="downloads.html">DOWNLOADS</a> |
<a href="links.html">LINKS</a> |
<a href="site.html">SITE</a>
</div>
<p>
<div id="news">

<b>December 05, 2005</b><br>
My second signature featuring another character from Magnacarta. I have no idea who Rith is but she looks so cool so I decided to use her as my render. This signature was inspired by another tutorial by Alias that uses only default Photoshop brushes. Out of thirty signatures I've made so far, this is the third in which I used a girl as my render so I'm quite happy with it.

<p align="center">
<a href="gallery_8.html"><img src="images/rith.1.jpg" alt="" border="0"></a><br>
Rith of Magnacarta (12.05.05) by: tabs<br>
Brush Used: Photoshop Default Brushes</p>

<p><b>December 04, 2005</b><br>
Here's a really simple signature inspired by ChaosGFX owner Alias. He recently published his latest tutorial about dirty smudge and thought I'd give it another try since my first smudge signature didn't really go well. I'm still having trouble with smudging so It's not really looking good right now.</p>

<p align="center">
<a href="gallery_8.html"><img src="images/wolverine.1.jpg" alt="" border="0"></a><br>
Wolverine of X-Men (12.04.05) by: tabs<br>
Brush Used: Photoshop Default Brushes</p>

<p><b>December 02, 2005</b><br>
My third attempt with Hard Grunge. I've always wanted to make an Iron Man signature but I failed numerous times since I cant seem to make use of the Iron Man renders flowing around. Luckily I found this really cool and unique Iron Man image so I rendered it myself and gave it another try and came up with this. I'm not really satisfied with the outcome especially with the text but I tried various new techniques on this one which is really a good experience for me. This signature was inspired by Dafatman's clone stamp tool tutorial.</p>

<p align="center">
<a href="gallery_8.html"><img src="images/iron.man.1.jpg" alt="" border="0"></a><br>
Iron Man of Marvel (12.02.05) by: tabs<br>
Brush Used: Photoshop Default Brushes</p>

<p><b>December 01, 2005</b><br>
My second attempt with Hard Grunge. Im not really satisfied with this one, but compared to my first attempt, there is alot of improvement. The text doesnt really blend well with the signature but I think it gave it some kind of an effect so im happy with it. I also tried a new scratch brush by Pfefferminzchen which is really really good and is my current favorite scratch brush.</p>

<p align="center">
<a href="gallery_8.html"><img src="images/carnage.vs.venom.1.jpg" alt="" border="0"></a><br>
Carnage vs Venom of Marvel (12.01.05) by: tabs<br>
Brushes Used: Jashin's Brush Set 10 and Pfefferminzchen Texture Brushes</p>

<p align="center">
All Signatures are created by tabs using Adobe Photoshop CS 2.<br>
If you wish to use my Signatures, please e-mail me first at tabs39@gmail.com.<br>
Copyright 2005 .// TabsGFX v2.0 .// Bleach Theme</p>

</div>
</p>
<div id="footer"></div>
</div>
</body>
</html>

tabs
12-05-2005, 10:56 AM
Hello, it did not work, but I found out you added the <p> on the bottom, and thats all I am missing, so what I did was I moved it on top and it was fixed. Thanks for the help!

luvhartz
12-05-2005, 10:58 AM
no problem :)