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 912997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:28:46+00:00 2026-05-15T17:28:46+00:00

I have the following image which I need to turn into an HTML widget

  • 0

I have the following image which I need to turn into an HTML widget on my site.

alt text http://db.tt/lRJq4s

How would you divide up the divs and splice up the image to make this? It needs to be resizable.

Should I slice off the corners and have a Top-Left, Top-Right, Top-Middle, Middle-Left, Middle-Right, Bottom-Left, Bottom-Middle, Bottom-Right? What would the div structure for something like that look like?

I need to be able to place text on both the top bar and bottom bar which is why I was thinking that approach. I’m supporting IE7 so I think using image slices is probably reasonable.

I’m really curious how you would divide up the divs to create this widget structure.

  • 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-15T17:28:47+00:00Added an answer on May 15, 2026 at 5:28 pm

    Having truly fluid boxes with drop shadows and rounded corners is a pain:

    http://dev.meagar.net/misc/2198371153.png

    <div class="box">
      <div class="nw">1</div>
      <div class="n">2</div>
      <div class="ne">3</div>
      <div class="w">4</div>
      <div class="e">6</div>
      <div class="sw">7</div>
      <div class="s">8</div>
      <div class="se">9</div>
    
      <div class="content">5</div>
    </div>
    
    • 1-4,6-9 would be positioned absolutely width various combinations of top:0, right:0, left:0, bottom:0
    • 1,3,7,9 would be fixed width/height with non-repeating background and a higher z-index than 2,4,6,8
    • 2,8 would be fixed height, 100% width, background-repeat:repeat-x
    • 4,6 would be fixed width, 100% height, background-repeat:repeat-y
    • 5 would be where your content sits
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following XAML code, which displays a picture (image inside borders) and
I have the following simple button with an image as the template. The problem
I have the following code: Guid id = imageMetaData.ID; Data.LinqToSQL.Image dbImage = DBContext.Images.Where(x =>
I have the following button <asp:ImageButton ID=button1 runat=server ImageUrl=~/image.jpg CommandName = id CommandArgument =
How do you rotate an image using jQuery-rotate plugin? I have tried the following
I have the following HTML to center images and links within a layer: edit:
I have three images and using the following code I have then fade in
I have following situation: I have loged user, standard authentication with DB table $authAdapter
I have following string String str = replace :) :) with some other string;
I have following foreach-loop: using System.IO; //... if (Directory.Exists(path)) { foreach(string strFile in Directory.GetFiles(path,

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.