Web Hosting CSS & Stylesheet Forums

Add Me

User Name
Password
Go Back   CSS & Stylesheet Forums > CSS Forumz: Main > CSS Dev

Welcome to the CSS & Stylesheet Forums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags: , , ,



Reply
  #1 (permalink)  
Old 05-24-2008, 04:09 PM
Richard Wilson
Guest
 
Posts: n/a
Diggs:
Default Selecting text "inside" elements



I'm working on a site that uses a sliding door style tab menu
(www.phatbloke.com) I've got it working quite well but there's a
niggle I'd like to try and solve.


I've set the z-index of the "tab base" to 1, so it's higher than the
menu. This helps in cross browser compatibility (slight positioning
problems) and text resizing as the tabs can "disappear" behind it.
However, in Firefox and Safari, when resizing to very large, the text
also "disappears" behind the base. I'm aware that I could add an extra
span tag to the mark-up and set an appropriate z-index and that would
solve the problem. Trouble is I'm working with Joomla and I don't know
how to add this mark-up. Even if I did, it's not an elegant solution.

I'm aware that in the DOM model (with javascript) it's possible to
target the text inside an element as opposed to the element itself.
(can't remember how) So I'm wondering, is the same possible with css or
with a combination of javascript and css?

Just to clarify, the goal is to get the tabs to "disappear" behind the
"base" but have the text inside the tabs appear on top. Hope that all
makes sense.

Cheers

Rich

Reply With Quote


Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 02:50 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.




Inactive Reminders By Mished.co.uk