In article
<11**********************@u30g2000hsc.googlegroups .com>,
pbd22 <du*****@gmail.comwrote:
hi.
i am messing around with CSS2.1 and position:fixed. I can't
seem to get a "loading" span to move a little further left onto
the page. It seems stuck on the upper right and kind of
half way off the page. Can somebody advise me as to how
to apply the appropriate padding (when i change the "em"
values it seems to have no effect). Thank you.
#loading {
position: fixed;
_position:absolute; /*IE Hack*/
top: 1em; right: 1em; width: 10em;
margin: 0;
background: #FADF71;
border:solid 1px red;
}
This:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>With Css</title>
<style type="text/css">
#loading {
position: fixed;
top: 1em; right: 1em; width: 10em;
margin: 0;
background: #FADF71;
border:solid 1px red;
}
</style>
</head>
<body>
<div id="loading">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Pellentesque augue.Suspendisse consectetuer velit nec neque. Duis
nec orci quis nulla egestas fermentum.Ut quis eros. Aenean at
augue vitae quam posuere vehicula. Pellentesque habitantmorbi
tristique senectus et netus et malesuada fames ac turpis egestas.
Maecenas justonunc, porta sed, molestie eget, adipiscing id,
ante. Cum sociis natoque penatibus etmagnis dis parturient
montes, nascetur ridiculus mus. Suspendisse potenti. Nunc
blanditmagna id odio sodales luctus. Nulla quam magna, viverra
quis, dignissim blandit, viverra nec, odio.
</div>
</body>
</html>
does not go off the page in any browser I have. So what are you
talking about?
--
dorayme