shotsy247
12-10-2008, 03:18 PM
Hi All,
I have a page with a navigation on the top. It looks like this:
<div class = "UG_nav">
<div style="float:left;">
<p><strong>
<a href="../default.asp">TABLE OF CONTENTS</a></strong> | <strong>WELCOME</strong></p>
</div>
<div class='dynNav'>
<p><< Last | <a href = "../chapter1/ch1_2.asp">Next >></p></a>
</div>
</div>
Here's what seems to be the relevant css:
.UG_nav {
display:inline-block;
margin: -1em 0 1em 0;
}
The content in the first div within the UG_nav div displays left as wanted, but the content within the next div does not. It displays directly after the content within the first div, but I want it to float to the far right of the UG_nav div.
This works in IE as I want but not in Firefox. What am I doing worng?
Thanks in advance.
_t
I have a page with a navigation on the top. It looks like this:
<div class = "UG_nav">
<div style="float:left;">
<p><strong>
<a href="../default.asp">TABLE OF CONTENTS</a></strong> | <strong>WELCOME</strong></p>
</div>
<div class='dynNav'>
<p><< Last | <a href = "../chapter1/ch1_2.asp">Next >></p></a>
</div>
</div>
Here's what seems to be the relevant css:
.UG_nav {
display:inline-block;
margin: -1em 0 1em 0;
}
The content in the first div within the UG_nav div displays left as wanted, but the content within the next div does not. It displays directly after the content within the first div, but I want it to float to the far right of the UG_nav div.
This works in IE as I want but not in Firefox. What am I doing worng?
Thanks in advance.
_t