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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:35:19+00:00 2026-05-27T06:35:19+00:00

Ive heard of combining multiple classes, which would help me alot in this situation.

  • 0

Ive heard of combining multiple classes, which would help me alot in this situation. Ive got a sidebar with icons, so I combined the icons in 1 vertical image, now i want to display the next image in the next block and so on

I’ve got it set out like this and trying to save a lot of coding anf kb on the css, it’s easy to do it with normal classes for each one, but I want to combine the classes to save kb’s and coding time

Can someone help please, number 4 does what it should do in dreamweaver, but not in the browsers. Thanks hey

For those who want to know, Im trying to achieve the sidebar on the right. Im redeveloping the site – Unihost – to be in divs and not tables and trs and tds

The html

<div class="sidepanel">
 <div class="sidepanelleft 1"></div>
 <div class="sidepanelright">Content Goes Here</div>
</div>
<div class="sidepanel">
 <div class="sidepanelleft 2"></div>
 <div class="sidepanelright">Content Goes Here</div>
</div>
<div class="sidepanel">
 <div class="sidepanelleft 3"></div>
 <div class="sidepanelright">Content Goes Here</div>
</div>

The css

.sidepanelleft { display:block; width:45px; height:45px; float:left; background:url(../images/webhostingfeatures.jpg); background-repeat:none}
.1 { top: 0 -55px }
.2 { position: 0 -55px }
.3 { background: 0 -55px }
.4 { background-position: 0 -55px }
  • 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-27T06:35:19+00:00Added an answer on May 27, 2026 at 6:35 am

    I don’t know what you are trying to achieve (as you haven’t really specified) but it looks like it works to me:

    enter image description here

    (I sure wasn’t expecting those results with the background-position)

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

Sidebar

Related Questions

Ive never heard of this before, and I have been coding in PHP for
I need some help in combining a stored procedure with another function. I've got
I've heard people referring to this table and was not sure what it was
just joined this awesome site… Ive recently been working in XNA on C#, making
Does anyone know of a whirlwind tour of Eclipse that would help a (former)
I've heard rumors that PHP is planning on introducing a goto command. What is
I've heard of the idea of bootstrapping a language, that is, writing a compiler/interpreter
I've heard that unit testing is totally awesome, really cool and all manner of
I've heard of a few ways to implement tagging; using a mapping table between
I've heard that the static_cast function should be preferred to C-style or simple function-style

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.