Hi
You need to specify the units.
5px or 5em, but just '5' won't do it :)
Patrick
On 8 Jun 2008, at 16:16, Thane Sherrington wrote:
> I noticed that if I use the following code:
>
> <style>
> #RightGraphic{
> position: absolute;
> top: 5;
> right: 5;
> }
> </style>
>
> <img src="images/CarbonStandard.gif" alt="" name="RightGraphic"
> id="RightGraphic" width="69" height="82" border="0" />
>
> with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,
> then it image goes to the far right as expect, but when I switch to:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
>
> It moves back to the left. Changing the top and right to 5% makes it
> work fine. Is this a feature of the strict setting, or is it
> something else I don't comprehend about CSS?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/