Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Positioning a navigation menu in CSS

Status
Not open for further replies.

madHatter1

Technical User
Feb 27, 2003
54
GB
Hello

I have an applet which acts as a navigation menu and I am quite pleased about the way it looks.

One concern I do have is that it is so rigidly fixed to the left hand side of the Web page that it would be difficult to slide in a cigarette paper between the menu and the edge of the page.

How can I over come this in CSS - I am sure it can be done, but I myself am not too sure how to do it.

Here is the applet code:

<applet code=&quot;colormenuu.class&quot; width=120 height=242>

<param name = &quot;text1&quot; value =&quot;&quot;>
<param name = &quot;text2&quot; value =&quot;&quot;>
<param name = &quot;text3&quot; value =&quot;&quot;>
<param name = &quot;text4&quot; value =&quot;&quot;>
<param name = &quot;text5&quot; value =&quot;&quot;>
<param name = &quot;text6&quot; value =&quot;&quot;>
<param name = &quot;text7&quot; value =&quot;&quot;>
<param name = &quot;text8&quot; value =&quot;&quot;>

<param name = &quot;link1&quot; value =&quot;about.html&quot; TARGET=&quot;right&quot;>
<param name = &quot;link2&quot; value =&quot;<param name = &quot;link3&quot; value =&quot;<param name = &quot;link4&quot; value =&quot;<param name = &quot;link5&quot; value =&quot;<param name = &quot;link6&quot; value =&quot;<param name = &quot;link7&quot; value =&quot;<param name = &quot;link8&quot; value =&quot;


<param name = &quot;background_color&quot; value =&quot;000,000,000&quot;>
<param name = &quot;selection_color&quot; value =&quot;200,200,200&quot;>
<param name = &quot;text_color&quot; value =&quot;255,255,255&quot;>
<param name = &quot;border_color&quot; value =&quot;0,0,1&quot;>
<param name = &quot;fade_color&quot; value =&quot;0,1,0&quot;>
<param name = &quot;fontsize&quot; value =&quot;11&quot;>
<param name = &quot;fontface&quot; value =&quot;Verdana&quot;>
<param name = &quot;target&quot; value =&quot;aktion&quot;>

</applet>

Ideally, I would like to move the menu a little away from the edge - perhaps a few pixels.

Thanks for any help.

Hatter
 
you can use

<div style&quot;left-margin: 5px;&quot;>
put applet code in here
</div>





Indifference will be the downfall of mankind, but who cares?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top