css

Google's Imageless Buttons...

There have been a few articles recently about Google's new imageless buttons: http://stopdesign.com/archive/2009/02/04/recreating-the-button.html http://stopdesign.com/eg/buttons/3.0/code.html http://stopdesign.com/eg/buttons/3.1/code.html http://gmailblog.blogspot.com/2009/02/new-ways-to-label-with-move-to-and-auto.html I really lik...

CSS max-height not working

I have a very simply problem where I need a div to expand to fit its contents unless the height reaches a certain size, when I want the div to scroll vertically instead. As a test, I created a page containing: <div style="width:300px;max-height:25px;background-color:green;overflow:auto;"> 1<br /> 2<br /> 3<br /> 4<br /> ...

jQuery UI datepicker css

How can I apply my own theme to a datepicker or at least apply a theme from jQuery to it? ...

CSS font size: relative vs. absolute values. Which to use?

What's the best way to size text across browsers? What are the advantages and disadvantages of defining font size in pixels / em? ...

How can I improve my HTML and CSS?

I am frustrated by my lack of aesthetic judgment. As a developer, I have a hard time just to create a decent looking website. The question is where can I learn all the necessary CSS skills or are there things like "Effective CSS design" that allows me to Pick up CSS quickly Use it to make beautiful looking website? I will apprecia...

Does someone have an example have how the clear attribute works in css?

Hello, Since I am not a designer, but have been given duties as one, I was curious to how the clear attribute works. It would be helpful if someone has an example? Thanks ...

Best jQuery rounded corners script?

Hi, I've been looking at various scripts for adding automatic rounded corners to a div using jQuery but there are loads of plugins available, none of which seem perfect. So, does anybody know of a script that is quick to render, supports IE6, anti-aliases and supports opacity? Any help would really be appreciated, Jon. ...

Consistent font-size across browsers (web development)

When creating web pages how do we achieve a consistent font size across browsers. I have used something like "font-size: 11pt; font-family: Helvetica,'Lucida Grande'" in my CSS, but the text looks different in Firefox, IE, Google Chrome and Safari (and this is not even on different platforms). Basically on the same machine, that is runni...

editable div content in html 4

Hello, Wondering if there's any not-too-hard way to edit non-form text in html 4. I know there's a contentEditable property that can be set in html 5, but I want better browser support than that will give me. It seems like gmail is doing something like this in their chat status indicator. This works properly on IE6 (which I don't believe...

IE7 DIV border printing problem

I have a web page that renders the same in IE7, Firefox, and Safari - except when printing. IE7 appears to allocate too much space for borders when printing. In the example below, the box heights plus borders should add up to the same height in the 2 columns. I set the borders to 10px to exaggerate the problem. I hate CSS hacks, and so...

Need Flash / Lightwindow Help Fast

I'm trying to finish up a Flash website for my company, and am having some major frustrations with Lightwindow links in Flash. I have a "Videos" page that has a few links, that when you click on one, it opens a Lightbox with a .SWF that plays the video. The problem is that the top of the Lightwindow and the Flash menu bar get in the way ...

How can I get whitespace between tags to not show up?

I am trying to create a menu using anchor tags, and they should butt up next to each other, so related links can be connected with a border. Here is some example code: <html> <head> <style type="text/css"> a { border: 1px solid #939393; margin: 15px; padding: 8px; } a:hover { border-color: #11...

Placing a div inside a table cell

I'm trying to get a DIV element into a table cell, in a way in which the DIV spreads along all the cell's area. But, for unknown reason, a 1px border appears; as far as I know, it's neither part of the table or the div (table has no borders, padding or spacing, and the div has no margin or padding). Perhaps you can spot me the bug? <htm...

ASP.net: Does anyone know how to implement youtube search box like effect?

When the search text box on youtube have focus on it, it is sort of highlighted with blue color around the text box. I'll like to implement that kind of effect on my web app. does anyone know how that's done or something similar? Jack ...

javascript and css loadings

I was wondering, If I have, let's say 6 javascripts includes on a page and 4-5 css includes as well on the same page, does it actually makes it optimal for the page to load if I do create one file or perhaps two and append them all together instead of having bunch of them? ...

What are good resources for CSS templates or templated layout sites?

Does not have to be free, I'm just not a designer and loathe starting from scratch. Any suggestions would be appreciated. ...

Can you do this HTML layout without using tables?

Ok, I had a simple layout problem a week or two ago. Namely sections of a page needed a header: +---------------------------------------------------------+ | Title Button | +---------------------------------------------------------+ Pretty simple stuff. Thing is table hatred seems to have t...

why does my css render wrong in IE?

you will notice the hover css for the links in the main nav area (grey bar under logo) for this site http://testing.ksischool.com/ works fine in firefox, but IE7 chops off the bottom few padding pixels. why? ...

Jquery - Dialogue not displaying correctly on IE6

I am trying to use bgiform but it seems to have no effect. The text in IE is pushed off of the screen of the dialogue box when its displayed. It works fine in FF. Any ideas? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xht...

styling an iframe

Hi, I'm using the excellent Jalbum to create a photo album for a website. Each page of the generated photo album is a complete webpage, so the recommended way to embed the album within a website is to use an iframe. A problem arises when I want to style the images contained within the embedded iframe. If I add a rule such as: img { ...