Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7081439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:55:17+00:00 2026-05-28T06:55:17+00:00

I am trying to make a menu bar for my website, I’ve got an

  • 0

I am trying to make a menu bar for my website, I’ve got an image for the bar itself and the text should go ontop of it… All of this lives inside a table. This is what I have right now:

<tr>
    <td>
        <img src="images/index2_04.jpg" width="667" height="33" alt="">
        <div style="position:absolute; left:50%; top:22%;">
<h1><a href="/index.html">Home</a> <a href="/more.html">More </a><a href="/help.html">Help</a></h1>
<div>
</td>
</tr>

As you can see I’ve been trying to link the image and text with percentages, but despite the fact that the distance should stay the same relative to the image, the text alters and moves when tested on different devices. Is there a better way of doing this? Or am I doing something wrong?

Thanks in advance 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:55:17+00:00Added an answer on May 28, 2026 at 6:55 am

    What you want to do is set the image as a background on the DIV.

    You can do that like this:

    <html>
    <head>
    <style type="text/css">
    div.example
    {
    background-image:url('images/index2_04.jpg');
    background-repeat:repeat-x;
    }
    </style>
    </head>
    
    <body>
    <div class="example"><a href="/index.html">Home</a></div>
    </body>
    
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make this jquery drop down bar be on top at all
I'm trying to make a little side-bar menu so people can access area of
So, I'm looking through this source, trying to make one of those status bar
I'm trying to make a simple menu bar only application on xcode 4. Everything
I am trying to make my menu bar partially hide after a timeout of
I'm trying to make a menu bar float constantly at the top of the
I'm trying to make a menu based off of an asp.net sitemap. How do
I'm trying to make a context menu for a control that is linked to
I am currently trying to make a navigation-menu where an active-class is applied to
I have been trying to make the sub-menu horizontal. In my HTML it looks

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.