View Full Version : Css problem


Phillip
04-08-2006, 07:57 PM
Ok i'm starting to do positioning in css this is how I have it just below the
<style type="text/css">
#layer2
{
position:absolute;
top:90;
left:10;
}

i'm using an external css this is my page part:
<div id="layer2">
blah blah</div>

But it won't work!! :mad:
But it will work if I put then on the page and don't use an external.. But I want to use an external one could someone help me please?

J to the izzosh
04-09-2006, 04:08 AM
Remove any <style> tags from your CSS if they're in an external style sheet. They aren't CSS and will break the browser's parsing rules. If doing that doesn't help, then there is a problem with how your are linking to the external CSS file, possibly a bad URI.

On a side note, you should always specify a unit of measurement for dimensional values:

top:90px;
left:10px;