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

Need help with some CSS


  • Please log in to reply

#1
Cthulhu_Aeon

Cthulhu_Aeon

    New Member

  • Member
  • Pip
  • 9 posts
I'm just getting into CSS and have some of the bare basics down. I have an image as my background and so I wanted semi-transparent background divs so that you could read the text but still see the background. The problem that the text in the div has the same level of transparency. I have looked on the internet to try and find an answer but some of the stuff is a little over my head. I was wondering if there were some tricks to making my text 100% opaque in a semi-transparent div. (Some of the answers involved putting another div on top of the semi-transparent div but I'm not yet good enough with positioning.)

This other problem is along the lines of the transparency issue. In order for my alpha filter to work there needs to be a width and/or height value in my code. I only want the length of the text to be in the transparency and not the entire width of the screen. Is there a way to find out how wide my section of text is? (Any form of the accepted measurements is fine with me.)

I think this might be more a Javascript thing but it's worth a shot anyway. The feature I'm wondering about is on this page. It's the show/hide that I'm referring to. I would like to add that function to one or more of my sites and was wondering how I could do it. (I have no experience in JavaScript what so ever. I'm going to get into that when I get my grasp on CSS.)

Thanks in advance for any help that can be offered.

I'll include my stylesheets and pages that I'd like to implement these functions on.

Attached Files


  • 0

Advertisements







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