Move a menu link to the right (1 Viewer)

Karjoe

Registered User.
Local time
Today, 04:04
Joined
Sep 9, 2011
Messages
11
Hi,
I added a link to our website menu bar called Report a claim, but I am not sure how to move it by itself to the far right side. Thanks in advance.
Here is the code:

<li><span>Claim</span>

<!--[if lte IE 6]><a href="#nogo"><table><tr><td><![endif]-->
<dl class="gallery">
<dt class="top">
<a href="/Claim_Report" title="Emergency Personal or Business Insurance Claims.">Report a Claim</a></dt>
</dl>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
 

Simon_MT

Registered User.
Local time
Today, 08:04
Joined
Feb 26, 2007
Messages
2,177
A class declaration and using a CSS float: right; might work.

Simon
 

Karjoe

Registered User.
Local time
Today, 04:04
Joined
Sep 9, 2011
Messages
11
if yo can show me where the code needs to go that will be great. thanks
 

Simon_MT

Registered User.
Local time
Today, 08:04
Joined
Feb 26, 2007
Messages
2,177
Are you already using Style Sheets?
Code:
<li><span>Claim</span>
<!--[if lte IE 6]><a href="#nogo"><table><tr><td><![endif]-->
            <dl class="gallery">
        <dt class="top">
<div class="right">
<a href="/Claim_Report" title="Emergency Personal or Business  Insurance  Claims.">Report a Claim</a></dt>
            </div>
</dl>
          <!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>

In the Stylesheet you will need to specific the acutal height and width and margin or padding:
Code:
.right { float: right; height: 000px; width: 000px; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;}
Simon
 

Karjoe

Registered User.
Local time
Today, 04:04
Joined
Sep 9, 2011
Messages
11
Thanks Simon for your help.
I got it to work. I added align next to top and it worked.

<dt class="top" align="right" style="width: 950px;">
 

Simon_MT

Registered User.
Local time
Today, 08:04
Joined
Feb 26, 2007
Messages
2,177
you should really put this into a cascading stylesheet. Decalrations like like align="right" are being deprecated because it can be done in a stylesheet.

Congratulations

Simon
 

Users who are viewing this thread

Top Bottom