css

How to define cellspacing in CSS

Hi, I want to create a table, where cellspacing is set to 0. Currently I have the following HTML which works correctly. But I want to put the cellspacing to the CSS, but can't find the correct style for it. <table class="overviewGrid" id="OrderTable" cellspacing="0px"> </table> Can anybody help me? Thx in advance ...

Exporting from Java Swing/Graphics to HTML

Hi All, I wrote small java Swing/canvas program where I can draw some textboxes. Now I'd like to export those text areas to a set of HTML div. What would be the best way (font-family ? font-face? css selectors ?) to obtain the same rendering as in Java ? Thanks ...

Opera error : Uncaught exception: TypeError: Cannot convert 'xxxxxx' to object

Hi to all again , i come today to show an error thrown by opera in Jquery ,about object transformation , here is the code ( function setColor(x,y) ): colourpixel = $('#colour').css('background-color').match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);//["rgb(0, 70, 255", "0", "70", "255"] var canvas = document.createElement('canvas'); canvas.h...

How to put in fade effect with jQuery in sprite Navigation

I have a navigation that is made with sprites. It's almost perfect except the client wants a hover on and hover off effect on it. I used :hover for that but he would also like to have fadein effect with the sprites. Here is the site I am currently working on. I tried this bit: $("nav ul a").hover(function(){ $(this).stop().fadeTo(...

Stretching 4 col template with two fixed columns in the middle and custom SOC. Possible?

Hello :) The html code source order should look like this: <body> <div>col2</div> <div>col3</div> <div>col1</div> <div>col4</div> </body> and should look like this: <----------------------100%-----------------------> +--------+-------------------+-----------+--------+ | col1 | col2 | col3 | col4 ...

Image scaling by CSS: is there a webkit alternative for -moz-crisp-edges?

I have an image that is 100x100 in pixels. I want to show it twice the size, so 200x200 and I want to do it by CSS and (explicitly) not by the server. Since a few years, images get anti-aliased by all browsers instead of doing a by-pixel scale. Mozilla allows to specify the algorithm: image-rendering: -moz-crisp-edges; So does IE: -ms-...

Need help removing this pesky WP footer spam link

i, I purchased a WP theme recently. Seems that this theme is injecting a footer link in a sophisticated way that I can't find how to remove. usually it link to WP theme sites (wp2blog.com/ , themes.weboy.org/ ) , which aren't related to me at all. I tried to see if this is a CSS or JS injection - but I just can't find where this code...

Getting list of CSS properties

Hi Is there a way to check what CSS properties are applied to an HTML Element. I dont want any browser plugin. Using javascript, I want to get a list of all CSS properties set on an html element. If thats not possible, I can always write 100 lines of code and checking the value like if($("div").css("background-color").length > 0){}, for ...

Is there user-select for Opera 10.62 and IE9?

Hi, I have been trying to apply user-select for both Opera 10.62 and IE9 without success. I can't/won't bind events with JavaScript that preventDefault(), because there are so many places to be set unselectable and I still need to retain selections in several places. In fact, I want the default behavior to be unselectable for the whole ...

Maintaining print CSS stylesheet files

How do you usually handle changes to screen and print CSS files? I typically have one screen CSS and one print CSS file and for the most part the I would copy the contents of screen CSS to print CSS file and then modify some properties, classes or ids, maybe set some display:none to certain classes etc. The problem is, while working on...

min-height doesn't work

Hello guys, I have a weird problem. I need two backgrounds on the bottom of the website in left and right corner (always stick it to the bottom of the whole browser's window) so I used min-height in CSS, like this: For body, html - height: 100%; For inner wrap div - height: auto !important; height: 100%; min-height: 100%; This should ...

position fixed images within div (pins on map)

I have a "map" div with the css rules height: 400px; width: 800px; background: url(map.png). This div has a background image of a world map. I have some images that act as "pins" that I want to place on the map in specific areas. What CSS properties would I give the image to be able to, for example, place them within the "map" div by ...

jquery .attr() class switch not working....

Hello, I'm working on a web service, when the user requests more data through ajax, I want the div that will contain the data to show a loading circle. I wrote a css class in the style file for when I want the circle: .ajax_getTeams_loading{ background: url('ajax-loader.gif') no-repeat center center; } So my ajax function is like...

div overlaps on smaller screen resolution

Hi I am having trouble getting a div to stay in place when the window is resized. It overlaps the content div when its made smaller. #content { width: 70%; height: 800px; margin-top: 50px; margin-left: auto; margin-right: auto; background-color: #202020; padding: 30px; } #login { float: right; margin...

flash objects overlap when window is resized??

Here is the link http://alvotechnologies.com/demo/fungi/ when resizing the window, swf objects overlaps?? ...

how reliable is css3 pie

I have just come across CSS3 pie (http://css3pie.com/) I was wondering how reliable it is to use? Will it work on all operating systems and are there any scenarios where it may not work? ...

Where can i put my design to criticism and discussion ?

Where can i put my design to criticism and discussion ? I want to get the opinion from professional designers :) ...

How to reposition CSS-hover popups to stay within a fixed frame?

I have a page filled with many fixed-size boxes in a grid layout (div's simply piled up with float:left). On hovering the mouse on any of them, a 'popup' - larger div with the same and also additional info is shown over it, as if the box expanded in all directions (but not moving the other boxes, it's shown also over them). Simplified ht...

How is the black and white to color tansition being accomplished

Hi All, I'm trying to find out how, when hovered over, the photos show their true colours instead of being black and white on this site: http://2010.dconstruct.org/ . I don't think it's a simple matter of having two versions of the image, but I'm really not sure. I'd appreciate any help with it! ...

"list-style-image" picture identation in Opera via CSS

Opera has unacceptable rendering of image-bullet positioning of list items. Look at demo page with Opera and different browser. Style: /* body {line-height:150%;} */ ul {list-style: none outside url('img/bullet-lilac.gif'); HTML Sample: <ul> <li><a href="">Ut enim ad minim veniam</a></li> <li>Sample item</li> </ul> Bullets...