css

Strange IE7 Spacing Appearing Under DIV

http://www.downloadadeal.com.au/ The site above fine in all browsers except IE7 where a strange space appears between the content and the footer at the bottom of the layout? The two footer lines should match up. Has anybody experienced unexplained spacing before? ...

How to add css to a feed that is not mine.

Hello, I want to separate the image from the text of this rss with css http://redbolivia.com/index.php?format=feed&type=rss any idea? can i do this with css? ...

Tool for cleaning up CSS?

Before publishing a site I have bloat of unused CSS styles. Is there any good tool to detect unused CSS classes, divs? Related Questions: Tool to identify unused css definitions Are there any utilites that will help me refactor CSS ...

css font sizes

css: .lnk { font-size:0.9em; color:#0000CC; font-family:Courier New; } how do i get the equivalent of this in Paint.NET? i stumbled upon this guide: 100% = 1.0em = 16px = 15pt 95% = 0.95em = 15px = 14pt 90% = 0.9em = 14px = 13pt 85% = 0.85em = 13px = 12pt 80% = 0.8em = 12px = 11pt 75% = 0.75em = 11px = 10pt 70% = 0.7em = 10px = 9pt ...

HTML table with fixed headers?

Does anyone know a cross-browser CSS/Javascript technique to display a long html table such that the column headers stay fixed on-screen and do not scroll with the table body. Think of the "freeze panes" effect in excel. I want to be able to scroll through the contents of the table, but to always be able to see the column headers at the...

How can I get a fixed footer like facebook application design

How can I build a fixed footer like facebook application design? Examples with css appreciated. Duplicate of http://stackoverflow.com/questions/506835/facebook-like-status-div ...

How to add another text decoration definition with Javascript?

I want to add another text decoration class with the help of JavaScript to the link which already has a class associated to it. I want something like the <a> activated link should have the text:decoration=none but i am not able to do it with CSS because it gets applied to all the links, then if I declare a new class of no decoration. H...

Using PiL to take a screenshot of HTML/CSS

I want to enable a user on a website to upload an image, and write some text over it. Also, they should be able to crop/scale/move the image and text. For that stuff, I can do it in jQuery. After they've made the image the way they want it, is there a way i can take a screenshot of that image (using PiL) and save it on the server? Wh...

CSS problem with IE - right-alignment does not work in a div inside a table cell

Float:right specified for a div inside a table cell seems to have no effect in IE. I have also tried text-align right, among other things, to align the layer contents to the right, but without success in IE 7. CSS snippet: .workloadcell { background-color: #E6D7E9; padding: 0px; width: 14px; height: 16px; text-alig...

How to stripe rows for a multiple row record using jQuery?

I am currently using the following jQuery script to highlight rows in my table, and it works great! <script type="text/javascript"> $(document).ready(function() { $('table.grid tbody tr:odd').addClass('alt'); }); </script> This works great for tables of data where each row is truly a new reco...

Distribute elements evenly using CSS

A method to distribute elements evenly in a container using CSS appeared on Smashing Magazine today. I recently had to use Javascript to achieve the same effect for elements of variable width, but the method presented on SM made me wonder if it was possible to do this without Javascript. There's this question, where gargantaun says: ...

implementing a "window manager" for HTML in a JSP custom tag

I have a problem: I need to build a custom tag, which can take its child tags (each of which will render as an HTML widget of some sort) and render them into the page in some intelligent manner. It's a fairly open ended question, so I have thought of many different ways to solve it. What I need is some input on how: others have done ...

Overriding a CSS style

In a global style sheet used across all of our pages sits the following line: ul { margin: 0; } li { list-style-type: none; padding-bottom: 3px; } Therefore, any ul's inside my pages render with no discs next to li's. However, in special cases, I need to display the disc next to a li. I have a div with the class "blog-post" and thou...

Align radio button with corresponding label

I'm using ASP.NET radio button list control. It generates the following HTML. <table> <tr> <td> <input type="radio"/> <label > label 1</label> </td> <td> <input type="radio" ...

How do I get the push footer trick to work in IE 8?

I use this: body {font-size:12px; font-family:"trebuchet MS", verdana, arial, sans-serif; background: #CCCCCC; word-wrap:break-word; height: 100%; margin: 0; padding: 0; } #wrapper { text-align: left; height:auto; height: 100%; margin: 0 auto -200px; /* the bottom margin is the negative value of the footer's height */ ...

-webkit-transition-property receives unexpected values in Safari 3.1.2 (Windows)

I am developing an iPhone-optimized website and testing it on Safari 3.1.2 on Windows. For some elements in the website I am applying implicit animation using -webkit-transition style. So basically, I have elements like this: <div style="-webkit-transition: left 2s linear;">...</div> that sometimes are present in the document from th...

has anyone tried designing a webpage for psp?

erm im trying to make a personal bible for my psp (i tried googling but the only bible version i've seen on my skimming is on KJV and im trying to make mine have 3 versions namely TNIV, NLT and Amplified Bible) so my only solution was to make on for myself and my approach was to save an html file on my mem-stick and open it up through t...

Can you style a noscript element?

Is it possible to use the noscript element in CSS selectors? noscript p { font-weight: bold; } ...

What is best practice to handle javascript and css files

How do You manage all of Your .js and .css files in asp.net project. Especially when they have a lot of dependency between each other? I've combined all script in one. But it's become weighty, and 90% of them were not used on particular pages. What I want is an instrument or guidence to manage all of those scripts, simple dependency ma...

div background color, to change onhover

I'm trying to make a div's background color change on mouse over. the div {background:white;} the div a:hover{background:grey; width:100%; display:block; text-decoration:none;} only the link inside the div gets the background color. what could I do to make the whole div get that background color? thank you LATER EDIT: how ca...