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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:02:18+00:00 2026-06-04T00:02:18+00:00

This works: display: box; display: -webkit-box; display: -moz-box; This also works: .attr(‘style’,’display: -moz-box’) This

  • 0

This works:

display: box;
display: -webkit-box;
display: -moz-box;

This also works:

.attr('style','display: -moz-box')

This doesn’t 🙁

css( display, '-moz-box')

Demo:
http://jsfiddle.net/TomasReichmann/K3nQg/

I am building a plugin that displays a window-like resizeable modal box with header that can have variable height and content, that fits inside the box and displays a scrollbar if it’s content is too long.

  • 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-04T00:02:19+00:00Added an answer on June 4, 2026 at 12:02 am

    You were missing the quotes around display; when passing a property and a value to .css(), both must be strings:

    .css('display', '-moz-box')
    

    jsFiddle demo

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

Sidebar

Related Questions

This is driving me batty... this works fine: <div style=display:none id=box> <img src=/images/wpgen_box1.jpg> </div>
I'm trying to test for something's visibility with $(this).css('display')==none; The problem is, it works
$(#home-shop-first).hover(function(){ $(#first-button-box).slideToggle(); }); This works to display a dropdown box, but now I need
I use the wonderful jQuery-plugin Galleriffic to display image galeries. Now this works great,
This works. $(document).ready(function(){ $(.items article).click(function(){ window.location=$(this).find(a).attr(href); return false; }); }); However , when the
This works in chromium (and I assume every other major browser) -html- <invalid></invalid> -css-
I'm trying to display content of the selected row into text box. This code
I have the following CSS (3) class: .VisiblePage { -webkit-box-shadow: none; -webkit-transform: rotate(0deg); }
This transition works in Safari & Chrome (= Webkit browsers), but not in Firefox
I have an App that downloads and displays images from URL's. This works fine

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.