If I create a DIV like this:

```
something = $("<div/>", { id: "something" }).css({
    width: "100%",
    background: "#333333",
    height: "3px",
    position: "relative",
    "-moz-box-sizing": "content-box"
});

```

And try to get the width with either of these:

```
console.log(something.width());
console.log(something.css("width"));

```

It just returns 100. For my scenario I will sometimes use a percentage or a specific number of pixels.

How can I determine if the width of the element is a percentage or specified pixel amount?