44 users online (0 members and 44 guests)  


  Results 1 to 2 of 2

Related

  1. <span>    Forum: CSS Forum
    Replies: 2
  2. can <span> do this?    Forum: HTML Forum
    Replies: 0
  3. Help Using Span    Forum: CSS Forum
    Replies: 1
  4. Span / border question    Forum: CSS Forum
    Replies: 2
  5. Span, Scrollbars, Positions    Forum: CSS Forum
    Replies: 7
  1. #1
    uthus's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2006
    Location
    Ft Hood
    Posts
    75

    can <span> do this?

    I've got a menu set up that uses javascript. I want to put most of the menu to the left of the page. That works.

    I also want to put something like 'Credits' to the right of the page. I haven't been able to figure this out.

    I start as such:
    HTML Code:
    <div class="menuBar" style="width: 99%;"><a class="menuButton" href=""
     onclick="return buttonClick(event, 'projectMenu');"
     onmouseover="buttonMouseover(event, 'projectMenu');">Projects/Inovices</a><a
     class="menuButton" href=""
     onclick="return buttonClick(event, 'customerMenu');"
     onmouseover="buttonMouseover(event, 'customerMenu');">Customers/Employees</a><a
     class="menuButton" href=""
     onclick="return buttonClick(event, 'miscMenu');"
     onmouseover="buttonMouseover(event, 'miscMenu');">Misc</a><a
     class="menuButton" href=""
     onclick="return buttonClick(event, 'docsMenu');"
     onmouseover="buttonMouseover(event, 'docsMenu');">Docs</a>
    That part works. My question is there some way do something like this:
    HTML Code:
    <span
     class="menuItemText" style="text-align: right;">uthus</span>
    The 'uthus' part I want to go to the right. An example of the script is located at http://www.brainjar.com/dhtml/menubar/demo.html

    TIA

    uthus

  2. #2
    uthus's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2006
    Location
    Ft Hood
    Posts
    75

    Re: can <span> do this?

    Actually I figured this one out myself. I found it by looking at the source of the server root index.html.
    HTML Code:
    <div class="menuBar" style="width: 99%;"><a
     class="menuItem" style="float: right; padding-right: .5em;">Uthus</a><a
     class="menuButton" href=""
     onclick="return buttonClick(event, 'projectMenu');"
     onmouseover="buttonMouseover(event, 'projectMenu');">
    ...
    </div>



Tags for this Thread