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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:30:27+00:00 2026-06-05T20:30:27+00:00

I have below structure <div class=mybox> <div id=imageslide> <a href=><img src=url /></a> </div> </div>

  • 0

I have below structure

<div class="mybox">
<div id="imageslide">
    <a href=""><img src="url" /></a>
</div>
</div>

It has fixed position and left:300px; means it will start from left side after 300px now I want to make mybox div width fill remaining space of the screen. So I can use 100% to #imageslide which is using some javascript to fits the image in to that div.

All in one I want to make either mybox or imageslide start from left after 300px and fits with the remaining width of the screen and image also should fit with the container accordingly.

Update:

The contain image has width and height 100% of parrent div #imageslide so I am unable to override with css. I can remove mybox div that has been additionally added to try with css.
I have tried css but doesn’t works.

This is the site url—————-
http://saltaa.com/

So here the home page big slider I wan to set is a way so it will starts after left menu column and image will fits according to the screen size in width and height.

It is really Strange.
Who help me to find the solution I don’t know why he/she has removed the answer and may be he voted negative to me. It is strange. At least he/she would allow me to check my file than would accept the answer.

  • 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-06-05T20:30:28+00:00Added an answer on June 5, 2026 at 8:30 pm

    try this:

    .mybox {
       position: absolute;
       left: 30px;
    }
    
    var w = $(window).width() - 30;
    $('.mybox').css("width", w)
    

    http://jsfiddle.net/X5PPP/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have structure like below, <div class=btheme> <a href=/a1><img src=/a1.jpg /></a> <div class=caption> <div>image
I have html structure like below: <div id=banner-menu-holder> <div> <div class=avalible> <div class=items-holder> <div>
I have a DOM structure below: <div class='box'> <section id=profile> <h1>testuser</h1> <div id=following> <a
I have a html structure in my webpage as below : <div class=group_name>Group A</div>
I have my markup structure as below: <div> <div>value1</div> <div>value2</div> <div>value3</div> <div>value4</div> <div class=clear></div>
I have the menu structure like below, <div class=submenu> <ul class=treeview> <li class=submenu id=menu-item-5592
I have a page similar to the structure below: <div id=row_2> <div class=item></div> <div
I have a data structure which is as given below: class File { public
i have following HTML structure: <div class=container> <div class=sidebar></div> <div class=content></div> <div class=subscript></div> </div>
I have a html structure like this.. <div id=divid> <ul id=ulid> <li style=margin-left: 8px>

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.