Hi All
A little question.
How can i define the Left position?
for example:
I have a drop down mouse over menu. The left position varies with different resolutions. How can i define an absolute left position that is the same one for all resolutions??
'document.left' or something like that
can u help me??
Thx
ArmyMan<style type="text/css"><!--
body {
margin: 0;
}
#myDiv {
position: absolute;
left: 0px;
}
--></style>
. . .
<div id="myDiv">
<p>My text.</p>
</div>yes i tried that. But i still have the problem with the resolutions. If i change my resolution the position is all wrong.
How can i tell this thing that it should stay there???
ArmyManI prefer using floated elements over absolute positioning, since it gives me better results and often requires less CSS. You might want to check out the CSS directory (<!-- m --><a class="postlink" href="http://www.roderickhoward.com/cssdirectory/">http://www.roderickhoward.com/cssdirectory/</a><!-- m -->) for some excellent links on creating basic layouts in CSS.Can you show us what you have there?sure.
go <!-- w --><a class="postlink" href="http://www.breedlord.armandino.com">www.breedlord.armandino.com</a><!-- w -->
that menu there. i define the left position of each drop down in a css file. what left position must i enter so that the left position is definite with any resolution???
Thx
ArmyManCan I suggest using a different kind of menu? Maybe one like this (<!-- m --><a class="postlink" href="http://www.htmldog.com/articles/suckerfish/example/">http://www.htmldog.com/articles/suckerfish/example/</a><!-- m -->)? The menu you have there - apart from not working well in IE - doesn't work at all in Firefox, Netscape or Opera.Originally posted by BonRouge
Can I suggest using a different kind of menu? Maybe one like this (<!-- m --><a class="postlink" href="http://www.htmldog.com/articles/suckerfish/example/">http://www.htmldog.com/articles/suckerfish/example/</a><!-- m -->)? The menu you have there - apart from not working well in IE - doesn't work at all in Firefox, Netscape or Opera.
the link describing how to do this can be found on ala (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/dropdowns">http://www.alistapart.com/articles/dropdowns</a><!-- m -->)Looks good. Thx a million.
Gonna try that one.
Thx
ArmyMan
A little question.
How can i define the Left position?
for example:
I have a drop down mouse over menu. The left position varies with different resolutions. How can i define an absolute left position that is the same one for all resolutions??
'document.left' or something like that
can u help me??
Thx
ArmyMan<style type="text/css"><!--
body {
margin: 0;
}
#myDiv {
position: absolute;
left: 0px;
}
--></style>
. . .
<div id="myDiv">
<p>My text.</p>
</div>yes i tried that. But i still have the problem with the resolutions. If i change my resolution the position is all wrong.
How can i tell this thing that it should stay there???
ArmyManI prefer using floated elements over absolute positioning, since it gives me better results and often requires less CSS. You might want to check out the CSS directory (<!-- m --><a class="postlink" href="http://www.roderickhoward.com/cssdirectory/">http://www.roderickhoward.com/cssdirectory/</a><!-- m -->) for some excellent links on creating basic layouts in CSS.Can you show us what you have there?sure.
go <!-- w --><a class="postlink" href="http://www.breedlord.armandino.com">www.breedlord.armandino.com</a><!-- w -->
that menu there. i define the left position of each drop down in a css file. what left position must i enter so that the left position is definite with any resolution???
Thx
ArmyManCan I suggest using a different kind of menu? Maybe one like this (<!-- m --><a class="postlink" href="http://www.htmldog.com/articles/suckerfish/example/">http://www.htmldog.com/articles/suckerfish/example/</a><!-- m -->)? The menu you have there - apart from not working well in IE - doesn't work at all in Firefox, Netscape or Opera.Originally posted by BonRouge
Can I suggest using a different kind of menu? Maybe one like this (<!-- m --><a class="postlink" href="http://www.htmldog.com/articles/suckerfish/example/">http://www.htmldog.com/articles/suckerfish/example/</a><!-- m -->)? The menu you have there - apart from not working well in IE - doesn't work at all in Firefox, Netscape or Opera.
the link describing how to do this can be found on ala (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/dropdowns">http://www.alistapart.com/articles/dropdowns</a><!-- m -->)Looks good. Thx a million.
Gonna try that one.
Thx
ArmyMan