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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:54:13+00:00 2026-05-16T17:54:13+00:00

Here is what I am working on. http://jsfiddle.net/yfcZN/ What I want is padding of

  • 0

Here is what I am working on.

http://jsfiddle.net/yfcZN/

What I want is padding of text that is inside of the “P” tag like we do cell padding in “TD” tag.

I changed this code line,

text.css({ position: 'absolute', top: '57px' }).hide();

to

text.css({ position: 'absolute', top: '57px', paddingTop: 10px}).hide();

but it’s not making any difference. What property is there to achieve what I want? I only found this “padding” one.

[EDIT]
Thanks, all. I didn’t give single quotes, silly mistake. Please check Mark’s comment and my response to it. How can I fix it ?

  • 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-16T17:54:14+00:00Added an answer on May 16, 2026 at 5:54 pm

    Answer to second question: Change var box = $(this); to var box = $('h2',this);.

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

Sidebar

Related Questions

here is the working fiddle: http://jsfiddle.net/2bNsC/67/ I need to place the 3 items (text
I have posted a working version here: http://jsfiddle.net/JV2qW/2/ I have a textarea that updates
What is preventing margin bottom from working here? http://jsfiddle.net/cq8VC/1/ I just want the active
JSfiddle (showing the non-working code) here: http://jsfiddle.net/ts2Rr/ I have three boxes that a user
Here's the code I'm currently working with: http://jsfiddle.net/gEMCm/ I'm trying to make an image
This example working great because here containment is body http://jsfiddle.net/roXon/hMmbK/2/ when i use container
I'm working on a jquery carousel. You can see the example here: http://jsfiddle.net/6fwbS/2/ Click
i have a problem with the revert speed. Here is a working example http://www.jsfiddle.net/V9Euk/94/
Here's my base: http://jsfiddle.net/UnV4Z/ And I want it to be three levels instead of
I finally got some parts working here: http://jsfiddle.net/trXBr/5/ but when I put the code

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.