css

css height and width problem.

Hi, I have this HTML <div class="someClass"> <ul> <li><a href="index.html">1</a></li> <li><a href="index.html">2</a></li> <li><a href="index.html">3</a></li> <li><a href="index.html">4</a></li> <li><a href="index.html">5</a></li> </ul> </div> Problem: I want to make the <a>s to shape like a square...

jQuery Appending to Parent

Any ideas StackOverflow wizards... I have added window.parent.document to the code, this works without any errors, but the Close Div still seems to be constricted by the container. Sample can be found here (Click the LIGHTBOX link - bottom right - all styles have been removed): http://demo.squeezedigital.com/barrie-test/iframe-jquery-p...

innerHTML bug IE8

This innerHTML code wasn't working reliably in IE8: (but was working in IE6 IE7 FF Opera Chrome Safari) (by not working reliably I mean I had placed this code within onmouseover handlers on various elements, sometimes it would change the text when mousing over a given element and sometimes it wouldn't - there was no pattern to this - whe...

Drupal - special css file if JS is turned off?

I'm building a Drupal theme up and want to know if there is a Drupalish way to add a css file only if the user has js turned off. This would ideally go in the theme.info file to keep it neat! Something like this would be ideal: conditional-stylesheets[if no javascript][all][] = nojs.css If this isn't possible then I'm going to keep ...

Sharepoint: Add css and javascript to a web part page

I have created a web part Page and need to add css and javascript code to it. I am using Sharepoint 3. ...

jQuery changing css on navigation when div # scrolls into view

I'm looking to recreate the effect used on this site: http://www.brizk.com/ The site uses one large page that scrolls down. As you scroll down and pass different sections the menu navigation on the left changes css class to "current" as the corresponding div comes into view. I presume this can be done with jQuery using $(window).height...

Toggle jquery div expand over the another div Animation (Z-Index).

Hi, Following url there is right hand toggle menu which is on flash. I need a Same functionality On jquery. I have try but the problem is to fixing the position. of next div and Image bellow http://www.junkiesdigital.com/ I have made a use Jquery function but I unable to get the exact animation. Here is the page. http://www.junki...

margins in using php to conusme rss feed- a rookie needs help!

I am new to PHP. I have a code to display an RSS feed but there is a big space between each item (the title/date and description). Is it possible to eliminate those margins? <?php $feed = simplexml_load_file('http://online.wsj.com/xml/rss/3_7031.xml', 'SimpleXMLIterator'); $first3 = new LimitIterator($feed->channel->item, 0, 4); forea...

CSSOMParser in gwt client side

What i would like to do is to read an css file from a GET request on the client side, and then i would like to parse it to check all the classes. The problem is that I need to implement CSSOMParser for that, and here are the imports import org.w3c.dom.css.CSSRule; import org.w3c.dom.css.CSSRuleList; import org.w3c.dom.css.CSSStyleR...

<object> for PDF is blocking drop-down menu

URL: http://hartford.uconn.edu/director/academic_plan.html The URL links to an an HTML page that uses 'object' to display PDF document. Which is blocking the jQuery drop down menu. I have tried using CSS z-index property with positioning specified. Also tried setting wmode="transparent" / wmode="opaque" / and other variations but nothi...

Attempting to use CSS top property on a SWF file, but it's not working

Hey guys, I'm trying to position my Flex app so that it's further down the page, but I can't get it working. It's still appearing in the top left. Here is the HTML, any help would be greatly appreciated! <html lang="en"> <head> <title>Page</title> <style type="text/css"> body { margin: 0px; overflow: hidden; } #swf ...

Delay image loading with jQuery

I have a page with several galleries including accordions and sliders. The problem is that the page takes forever to load. Is there a way of wrapping an image in a bit of code or applying a class to it to force it to load only after everything else is loaded? ...

Use multiple css files or a single file organised by comments

Hi, what is regarded as the best approach to organising css. At the moment I am using a single link in the head of my xhtml documents as follows: <link rel="stylesheet" type="text/css" href="style/imports.css" /> In this file im importing several different css files i.e. reset.css, structure.css, skin.css I know there is an overhea...

Is there any tool to cleanup the unused or ambigous Images and CSS from the ASP.NET Web Application Project?

Is there any tool to cleanup the unused or ambiguous Images and CSS from the ASP.NET Web Application Project without too much of effort, if there is a plugin for the same like Resharper that would be ideal. Thanks ...

JSF - Creating an overlay for popup panels.

Hi, I've created an overlay that will popup whenever someone wants to upload a file to the system. The Gui looks like this (when the overlay is up) I have two problems with this: I attached a a4j:support object that, onclick, makes the overlay disappear. The problem with this is that when I click the upload button on the upload comp...

How can I override an HTML "rules" attribute using CSS?

The DITA Open Toolkit automatically inflicts some inline table attributes when one publishes to HTML, including frame="border" and rules="all". I need to override this "rules" attribute using CSS styles for cells, and while I can get the desired result in IE and Chrome, Firefox puts solid black gridlines in the table and refuses to budg...

vertical scrolling bar for a table using html.

Hi, I want to fixe a height for my html table in the web page and if it pass the height automatically a vertical scrolling bar is shown. please help. ...

Make DIV fill remainder of page vertically?

I have a Google Maps app that takes up most of the page. However, I need to reserve the top-most strip of space for a menu bar. How can make the map div automatically fill its vertical space? height: 100% does not work because the top bar will then push the map past the bottom of the page. +--------------------------------+ | ...

Using border-radius on ul with only giving a radius to the outer li's

Maybe the answer is really simple. But what I'm trying to do it to make a curved border around the li's. So not only the outside but also the inside: Examples: Right Wrong: Don't mind the differences. What I'm trying to do it to curve the inner border this is the html: <ul> <li>Dashboard</li> <li>Voertuigen</li> <li>Klante...

IE6 Bug - Div within Anchor tag: inline images not links

I'm trying to get everything in the anchor tag to be a clickable link. Unfortunately, in IE6 (which is the only browser I'm concerned with currently), the only thing that isn't a clickable link are the inline images. I know that it's not valid html to put a div inside of an anchor but it's not my markup and I've been asked to avoid chang...