Can't move text using css
I tried something along the lines of having my doctype on. But since I put it on first, I can't move any of my stuff made in css/tables whatsoever anywhere on my page.
As long as the doctype is there, I can't do anything to move my stuff around, let alone getting it to show on the page. Any suggestions? :tu:
Here is an example.
/////////////////////////////////////////////////////////////////////////
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> Sabrina's Designs </title>
<link rel="stylesheet" type="text/css"href="mystyle.css">
<style type="text/css">
<!-- css styles can go here -->
</style>
</head>
<body bgcolor= "#a3c586">
<div style="position:absolute; font-size:50px; z-index:1;">LAYER 1</div>
<div style="position:absolute; top:-30; left:5; color:red; font-size:80px; z-index:2">LAYER 2</div>
<div style="position:absolute; top:40; left:-29; color:blue; font-size:70px; z-index:2">LAYER 3</div>
</body>
</html>
////////////////////////////////////////////////////////////////////////////
I can make my stuff into layers, but something as simple as text, I can't get it to move. That's all I need, is to be able to move my images, text etc. but the doctype won't let me move any of it. If I can just get past this one part, this ONLY part I've been trying to figure out for months, so I can finally get rid/ween myself off tables, it would be wonderful. I have a site that looks exactly the same in Mozilla as well as in Internet Explorer, which really made me happy, it's just that darn doctype messing it all up. :yell:
If you can, does anyone know how to move text and images. I've been using layers, but I can't move them now that I've added the doctype. Do I have to use floats instead? Or if possible, can someone recommend a site that could help me, without alot of confusion? Thank you, anything recommended I appreciate tremendously :tu:
Also I just tested my site through validator. I only have one
error :tu:.
However, when I put the doctype on, it removes all
my images, and jumbles all my information into the top
left corner. :td:
My site is:
http://www.engrtp.com/sabrina2/Sabrinas web/keep.html
And I was using just this one doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I don't know about you guys, I seriously think the doctype(s) are way to picky and strict for all the doctypes I've tried. :yell:
Sabrina