Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

text in div


  • Please log in to reply

#1
TaNkZ101

TaNkZ101

    Member

  • Member
  • PipPipPip
  • 327 posts
how can i have a div that is 41px high, has a background image (41px high also), and have text, oh let's say 14 px large in the div, so that it is vertically in the middle of the div? i.e. so there's a room of 13.5 px from the top of the div to the top of the text, then again 13.5 from the bottom of the text to bottom of div. i tried everything i could think of, but i know the answers right in front of my nose; some1 has to point it out :whistling:
  • 0

Advertisements


#2
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Banned
  • PipPipPip
  • 905 posts
Have a look at http://www.codingforums.com/.

Join up and you can get loads of help with html and css!

:whistling:
  • 0

#3
TaNkZ101

TaNkZ101

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 327 posts
i just happen to be a member of that lol, but i thought i'd check here first. if some1 has the answer, plz respond though!
  • 0

#4
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Banned
  • PipPipPip
  • 905 posts
I don't have the answer, but i am a member of coding forums too.

Post it in the html / css category and your bound to get a reply within 24 hours!
  • 0

#5
TaNkZ101

TaNkZ101

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 327 posts
i did and it's solved :whistling:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP