/    Sign up×
Community /Pin to ProfileBookmark

how to position a layer in firefox??

hi!!

um.. i think my problem should be asked here so here it is..

i have a layer on a page, and i have inputs for L and T on the layer properties on Dreamweaver, when i checked it on my IE browser its okey my inputs are being carried out..

my problem is when i checked it on my Firefox browser only the L input is being carried out, not my T input though.. the layer is aligned at the top of the page..

please someone help me..
thank you soo much!!
?

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@vwphillipsJul 28.2006 — style.width, style.height must be in px ie '100px';
Copy linkTweet thisAlerts:
@KorJul 28.2006 — Can we see the code? What do you mean by "inputs"?
Copy linkTweet thisAlerts:
@elainebludfairyauthorJul 28.2006 — [CODE]<style type="text/css">
<!--
body {
background-color: #000000;
background-image: url(Assets/bg.JPG);
background-repeat: no-repeat;
background-position: left top;
}
div#content {
position:absolute;
left:163px;
top:35;
width: 805px;
height: 430px;
overflow: auto;
}
-->
</style>
[/CODE]

im very innocent about codes..

..
Copy linkTweet thisAlerts:
@KorJul 28.2006 — top:35[COLOR=Red]px[/COLOR];

always set the measurement units, as you might have used [B]em[/B], for instance, not [B]px[/B]. Mozilla is very strict about.
Copy linkTweet thisAlerts:
@elainebludfairyauthorJul 28.2006 — oh!!

?

thank yoooou!!
Copy linkTweet thisAlerts:
@vwphillipsJul 28.2006 — style.width, style.height must be in px ie '100px';
Copy linkTweet thisAlerts:
@KorJul 28.2006 — style.width, style.height must be in px ie '100px';[/QUOTE]
Not really. There must he a measurement unit set, yes, but not pixels by all means. Pixels are not the only m.u. used in CSS. This is valiant not only for height or width, but for many other attributes.
×

Success!

Help @elainebludfairy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...