View Full Version : positioning between <style> and </style>?


sarahstrange
11-19-2006, 10:01 PM
do div layers, text, and anything else go between <style></style> or after </style>?

J to the izzosh
11-19-2006, 10:52 PM
Style sheets are information which controls the style of your content, but are not content. They should go or be linked from between your <head> and </head> tags. All visible content, like divs, paragraphs, images, etc., should go between your <body> and </body tags.

The only time you should mix style and content is when using inline styles, which are not recommended:
<div style="border:solid 1px black;></div>