Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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