dual slider layout

This is a discussion on "dual slider layout" within the Web Page Design section. This forum, and the thread "dual slider layout are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 5th, 2007, 21:35
Junior Member
Join Date: Oct 2007
Location: Holland
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
dual slider layout

hi guys,

I trying to use a dual slider implementation.
However, I didn't manage to get the CSS to display it the same way in Firefox and IE 7. Basically it consists of a background line and two movable "pins"(handles). On the top I'd like to display its name, and on the bottom - the feedback of the movement.
I tried to play around with the padding, border and margins of the components, but I couldn't get the same picture under IE and Firefox

The visual components of the slider should be arranged as follows:

SliderName
-||--------------||-
min= max=

My CSS behaves ok with IE 7. However, with Firefox, the SliderName goes below the slider controls !?!?!?!?!

Here is my HTML:

HTML: Select all
<div class="priceSlider">
       <strong>SliderName</strong> 
        <div>
             <div id="sliderContainerDiv"> 
                   <div id="leftHandleDiv"></div>
                    <div id="rightHandleDiv"></div>  
             </div>
        </div>
        <span class="minPrice">min=</span>
        <span id="output1"></span>                                                         
        <span class="maxPrice">max=</span>
        <span id="output2"></span>
</div>
Here is my CSS:
Code: Select all
.choice-column-box div.priceSlider strong{ 
    position: relative;
    float:left;
    width:95%;
    margin:15px 0 15px 15px;
    color:#4f4e4e;
    font:bold 1.4em/1.0em Arial, Helvetica, sans-serif;
}

#sliderContainerDiv
 {    
     position: relative;
     margin-left: 15px;
    width:200px; height:18px;
    background: url('../images/Slider_Bar.png') 0 0 no-repeat; 
 }
#leftHandleDiv
 {
     position: absolute;
    width:15px; 
    height:16px;
    background-image: url('../images/Slider_Pointer.png');
    border: 0;
 }
#rightHandleDiv
 {
     position: absolute;
    width:15px; 
    height:16px; 
    background-image: url('../images/Slider_Pointer.png');  
    color: #F00;
    border: 0;
 }
 
 #output1
 {
     padding-bottom: 50px;
     margin-left: 3px;
     float: left;
     font:bold 1.0em Arial, Helvetica, sans-serif;
 }
 
 #output2
 {
     padding-bottom: 50px;
     margin-right: 9px;
     float: left;
     font:bold 1.0em Arial, Helvetica, sans-serif;
 }
Thanks in advance,
Pesho

Last edited by Marc; Dec 6th, 2007 at 12:45. Reason: Split the HTML & CSS up so it's easier to read.
Reply With Quote

  #2 (permalink)  
Old Dec 5th, 2007, 22:15
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: dual slider layout

Hmm... I suggest you use a span instead of strong for your SliderName. The css seems to not recognize "div.priceSlider strong"...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Reply With Quote
  #3 (permalink)  
Old Dec 6th, 2007, 12:43
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: dual slider layout

Could you post a link or an example of what you are trying to achieve!?! 'Cause I have no idea what you mean by sliders.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Navbar Slider Rick Flash & Multimedia Forum 5 Sep 20th, 2007 22:45
Slider/Progress Bar JCote1985 Flash & Multimedia Forum 1 Aug 2nd, 2007 21:22
Image Slider Artry Flash & Multimedia Forum 2 Jul 23rd, 2007 08:39
Dual Earth Dual Earth Free Web Site Critique 3 Jul 2nd, 2007 08:08
Dual Earth Dual Earth Free Web Site Critique 0 Jun 17th, 2007 15:43


All times are GMT. The time now is 07:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43