
I love to use placement tags when I am working with
complicated websites that I just can't organize
with plain HTML. Don't compromise! Use CSS placement
tags...
The Tag
<style type="text/css">
<!-- This makes it so older browsers will not print code
.head { This tag indicates the object identity
position: absolute;
top: 0; Pixels from the top you want you object.
left: 0; Pixels from the right you want you object.
} This indicates a new break for a new object.
-->
</style>
|
Side Notes
Red Text is not included in the coding
Black Text is included and all punctuation
should be imitated...
The Style Tag goes in the <head> tag.
So Netscape users can see the CSS insert this magic tag:
Note:
These tags must be immediately after the <body> tags.
Now that you have all of your object placements defined it is time to put
them to work....
Note:
These tags can go anywere in the <body> tags.
<div class="head">
This is my object head at 0 top 0 left
</div>
|
Back to CSS Tutorials
|