JQuery selector help
Using JQuery, how do I select all elements with class x within an element with id y? ...
Using JQuery, how do I select all elements with class x within an element with id y? ...
On the .master file i have... <div id="menu"> <ul> <li class="1"><a href="#">One</a></li> <li><a href="#">Two</a></li> </ul> </div> <div id="Div1"> <ul> <li class="1"><a href="#">Three</a></li> <li><a href="#">Four</a></li> </ul> </div> and on the css file i have #menu { width: 940px...
Is there any way to prevent '?' from being treated as white-space-like in HTML/CSS? Is this default behavior, or am I doing something wrong? I have a div that holds a very long URL (the length is dynamic). I want the URL to treat the question mark as any other character and not force a line break at that character, but I don't want to u...
hello, below is my markup. when i move the mouse over the hyperlinks they get underlined and turn red. but if i swap the order of the last two rules, the hyperlinks still get underlined, but their color changes to black rather than red. is this by design? if so, how are the rules applied? thanks! konstantin <?xml version="1.0" encodi...
Hello all, After I login www.linkedIn.com, the navigation bar on top right displays the title as follows: Welcome, XXX * Skip to Content * Search * Add Connections * Settings * Help * Sign Out I would like to know how they add * between different titles. I have used firebug but I didn't see where they add such a small * between tit...
I have a menu the have rectangular boxes 90x50. Some have single line text, other have multiline text question : How to VERTICALLY align it to the bottom with pure css no hack please ...
Hello all, I am looking at the navigation bar on Linkedin. http://www.linkedin.com/ #nav-primary { background:url("http://static02.linkedin.com/scds/common/u/img/sprite/sprite_global_v3.png") no-repeat scroll 0 -320px transparent; } #nav-primary .wrapper { background:url("http://static02.linkedin.com/scds/common/u/img/sprite/sprite_gl...
I need to apply a class ".selected" to a navigation item when the user is on the corresponding page, so that when the user clicks on "Products", it goes to the products page but the Products nav item remains selected. How can I accomplish this using jQuery? I suppose I would need to get the URL of the page an apply the style to the corre...
Has anybody experienced a case, when 'cursor' property stops working when 'float' property is added? And I mean only the 'cursor' property. (I am not adding my code, as it's a long story and it's too complex for such a small problem, so am just wondering if anybody knows if and how these properties could be dependant.) ...
i have a image who are look like a transparent but working as a zebra table like chase and i want to apply a color rgba(12,120,234,0.4); how i can show the image and color both background-image: url('Images/embedded_bg.png'); background-color: rgba(12,120,234,0.4); ...
Hello all, .twoColFixRt #nav-primary .nav li a, .twoColFixRt #nav-primary .nav li a:visited { color:#00FF00; text-decoration:none; } .twoColFixRt #nav-primary .nav li a span { display:block; padding:0 10px; font-size: 15px; } .twoColFixRt #nav-primary .nav li a:hover { text-decoration: underline; color:#FF0...
I'm trying to use .fadeIn() to make my navigational hover effects look a little more smooth on the transition. Except I'm getting what I can only describe as a double fade (in and out and back in again). I'm brand new to JS and the jQuery API so any help appreciated. I'm an old pro with CSS, so I still think in those terms. On this one...
The CSS page-break-after attribute looks like what I want. Is it? This is an intranet application for Firefox users, so browser compatibility is not a large concern. Here's the background. I have a web application that generates medical forms. Right now the users click on individual forms and print out the result on at a time. They...
Hello all, The navigation bar looks like this HOME LOGIN ABOUT Based on suggestion on this topic: http://stackoverflow.com/questions/3570480/css-how-to-add-dot-between-navigation-title I add the following css rule to append a * to the front of each item. .twoColFixRt #nav-primary .nav li.libar:before { content:'*'; } <...
Hi All, This stems from my question that i started at http://stackoverflow.com/questions/3561898/mvc-beginner-question Im now confident in developing a MVC website from the MVC side of things. My fatal floor now is the UI level designing. i.e. designing views and master pages including css styling. Just wanting to get any advice on ...
I've just heard of the @font-face CSS attribute, and I was wondering if there any legality issues. I have heard that only certain fonts can be embedded? What about completely custom ones, like a Super Mario Bros. font? Is that legal to embed? Just wondering.. ...
This might not be a coding question, but very relevant to coding so I hoped I would get an answer here. All coders, maybe specially designer. Use others code in there own code. If you see something you like. you use that code in your design. In some degree, I'm sure every coder does this. So I was wondering where the line goes. Can you...
I am using this plugin to make a list of all the Categories on my Wordpress blog : http://pastebin.com/raw.php?i=T6rvtwkS The script can be seen in action here : www.animefushigi.com/full-anime-list Now, I want to add a link to Top of page under each set of alphebetical listings, so right after each I want to add this : <a href="j...
Hey guys, for some reason, I have FireFox not complying with the supposed "bullet-proof" method of getting a custom font in every modern browser. Well, I hope I'm just doing something wrong, because it looks to me as though it really should be working. Here is my CSS style: @font-face { font-family: 'SMB'; src: url('/css/type/...
Hi I have a page with 2 columns side by side (defined both by float: left). My problem is, when I scale the browser to be smaller, the right column will be dropped below the left column. how can I avoid this? and still to make them be side-by-side no matter the screen size. Thank you ...