css

Removing <ul> bullets via CSS

I am using jQuery for the first time via the Views Cycle module for Drupal. I am not a CSS pro, but I am pulling my hair out trying to remove the bullets from the rotating images on this page: http://shoshannabauer.com/ What am I missing? Does the list-style go on the <li> or on the <ul> class? ...

Problem understanding more complex examples of Descendant selectors (CSS)

Hi 1) I somewhat understand descendant selectors, but the more complex examples are giving me some troubles. For example: #content .alternative p Should this rule apply to p elements that are descendants of elements E, where E are : descendants of element #content and are also members of class .alternative or should rule ...

Calculating the specificity of a selector(CSS)

Hi I know that to calculate the specificity of a selector we use three numbers, where first number on the left is number of IDs, second number represents number of classes, pseudo-classes and attributes and third number represents number of elements. I realize the following numbers are exaggerated … IDs are more specific than cl...

Unable to Hide Vertical Scroll Bar on Web Page

I am displaying an HTML page within another HTML page depending on which link is selected using the following function: function loadProject(sel) { var url = sel[sel.selectedIndex].value; if(url) { document.getElementById('projectContainer').innerHTML = '<' + 'object id="foo" name="foo" type="text/html" data="'+url+'"><...

jquery each css array

I have made an each statement which iterates through each class item found. At the same time there is another item with a different class but has the same key. I am needing to get the key from the first each and put it into the 2nd item without having to loop a second time. $('.searchby').each(function(k,v){ // looping through .searchby...

jQuery plugin question - can I modify a core method?

I've developed a few jQuery plugins before which follow the format of either $('#something').myPlugin() or $.myPlugin(). I know you can also write your own selectors. What I was wondering if I could write a plugin that changes how the css() method works, that is, if I request a shorthand CSS attribute (such as padding) I could return s...

Javascript: how to append more text to user copied text ala nydailynews.com

On nydailynews.com when you copy and paste any text from the site, a snippet of text is appended. Read more: http://www.nydailynews.com/#ixzz0aN123abc How do they achieve this? I have searched all of the external JavaScript files (jquery) and can't seem to find anything that corresponds. Is this something that could be done in ...

Is there a tool to change other sites' CSS for IE?

Hi All, Is anyone aware of any plugin/addon for IE that enables you to change the CSS (locally) for specific websites (In my case - Goo***), to make them look nicer? ...

jQuery addClass() not working in IE6

If you look at this screenshot, I am trying to have the red image show under a link when you click it. If you click Link 2, it will show under link 2. It is working in all majore browser except IE 6. When I click a link in IE 6 it loads the on class for the ul, but the image does not show. Can anyone see a problem with the code I have?...

How to know the correct css selector or group of selector for any html element quickly?

How to know the correct selector/group of selector for any html element quickly? I'm working on very long bloated html code. and want to apply css on some specfic areas but it's taking to so much time to find a right css selector for any deeply nested html tag in tables. for example #id1 #id2 .class1 .class2 table.no1 tbody td Is the...

Append URLs with #content

I am trying to customize a photo gallery in Squarespace. A test gallery can be found here - http://dzrtgrls.squarespace.com/gallery/test-2/4011897 . What I would like is to have the next or previous images load so that the prev - / + next navigation is at the top of the browser window. So it seems I need to somehow append each url wi...

CSS: Best way to left align a float:right section

I want what in the good old days would be a two-column table layout. It's for http://paulisageek.com/resume and is working perfectly with: .dates { float:right; width:171px; } but I'm sure I'll break the sizes on updates (and different fonts, and browsers, and font-sizes, etc). Is there a way to make the second column autosize wi...

resize flash div to full browser height and width ?

Hi Folks i have a page with swf flash flash with width 300x250 <div id="flashswf"> ...some flash </div> <div id="maxme">full screen</div> i have a link called full screen and i need to maximize the flashswf div to fit the current browser maximum height and width is this possible using jquery ? any ideas plz ...

how to include a css-hidden input field in forms

I want to include a css-hidden input field in forms and check if the hidden field has it’s value filled out then reject the submission ...

Theme chooser and theme preview for my website

Hello everyone, I am trying to find out a solution for implementing themes selector on my website build using PHP. After logging in a user is presented with the available themes, and the one that is selected get stored in his profile. But if a user is willing to change the colour of his current theme with his own customized colour, th...

Rails/Ajax: Unable to remove "bullet mark" when using Ajax in Rails to add Todos remotely.

I managed to get Ajax working in Rails, specifically using remote_form_for tag to add Todos from Index. However when I do add them, there is a bullet mark next to them. Here's my post/index <% form_remote_tag( :url => todos_path, :method => :create, :update => "todo_list", :position => :top, :html => {:id => 'todo_form'}) do %> ...

How to make silde like homepage of adidas.com with jquery

adidas.com so cool !!!!!!!!!! why not with jQuery, CSS & HTML? How div with different height & width together fill up div container when height & width are get random from database? Someones help me? ...

Tools for optimizing CSS rules by rewriting DOM paths/selectors

Do you know any tool that takes a CSS stylesheet and a bunch of HTML files and then is able to identify CSS rules on the DOM and rewrite them according to the optimal element DOM path? Example HTML snippet: <div id="container"> <div class="profile"> <img class="thumb" src="xxx" /> <span class="nickname">knoopx</span> </div> </div...

Drop Down List background color

Hi is it possible and how to change background color for an item in a drop down list on focus using css or javascript? Thanks ...

Selecting a column (jQuery)

$('.table tbody td:eq(3)').addClass('col4'); ..works, but only selects the first cell, not all cells in the column. ...