css

What are the advantages of using an imageless button?

The discussion on this answer to the question "How can I use Google's new imageless button?" Has prompted this question. Google seems to think that going imageless is good for some reason, but from the comments cited, I fail to see the advantage. Is it worth it to send dozens of lines of HTML and who knows how much CSS to render these...

Table Row SHOW / HIDE *Without* Column Width Resizing, w/ TableLayout: auto

I have table with multiple rows, showing items for sale. When the user clicks on a row, a Javascript inserts / shows a new row right beneath it with details about the item. The issue is when the description is long, it forces the column widths to readjust / resize. This shifts the columns positions and is really annoying, especially for ...

jquery change element type from hidden to input

I've got an input which it's type is set to hidden, I need to change it's type to text. Can't seem to figure this out or if it's possible with jQuery ...

CSS Underflow fix

Hi Folks, I'm wondering if there are any underflow fixes for css? The initial problem was an overflow which is easily fixed but has now become an underflow problem.I have set a specific height value but it just seems to ignore this and instead resizes to suit the contents. I appreciate any help and ideas. Thanks! ...

problems once uploaded to server

This all works fine in MAMP but i've uploaded and now the problems start. heres an image of the code for the link and a grab of the result First image Second image any ideas? ...

What tools exist to debug css?

I am tearing my hair out over this one. What tools do people use to debug formatting issues with css? I have some relatively simple formatting for navigation using css which looks like this: /* sub navigation */ .sidenav { float: right; width: 218px; } .sidenav h1 { background: #BCB39F url(img/sidenavh1.gif) repeat-x; ...

How do I format tabs in Blueprint CSS?

I've inserted an image below showing were I currently stand (css version) and where I want to be (tabled based version). I originally created this layout with tables and I would like to move to a css based version. I have a long way to go. I'm using Blueprint CSS. Current issues: There is a gap between the tabs that I'd like to get...

CSS heading while using line-height to shift border?

I'm using the following CSS: h2 { font-weight: normal; border-bottom: 1px solid #DDD; font-size: 1.6em; font-style: italic; } h2 span { position: absolute; top: 7px; padding-right: 6px; background-color: #F9F9EE; } When used like: <h2><span>abc</span></h2> Gives the following effect: abc ----------...

disable the CTRL/Wheel zoom effect at runtime

How do you disable the ctrl/wheel zoom effect with css or javascript on certain elements. I create a menu bar that gets distorted when the zoom effect is applied. I would like to disable it for just certain elements. ...

HTML JS Layers

Hi, i want to know how gmail implements its add link to mail function - is it a div which changing it's display? is it another layer? is it something else? Thanks in advance, oz radiano. ...

Is there something like Webmaster's Toolkit that runs on Linux?

When I'm working on HTML or CSS, I'm constantly trying to figure out "How many pixels of padding are inside this element? And what color is it? And is that left margin three pixels wide or four?" Is there a Linux application or set of applications that magnifies part of the screen and provides a pixel ruler and color picker within that ...

Getting 'Last Child' of Div ?

Is there another way to get the last child of a div element other than using p:last-child which does not work in IE at least? ...

Making an entire tab clickable

Hey everyone, I'm making a template that is relying on a lot on a tabbed interface and in order to make it a bit more intuitive, I want to make sure that a user can click anywhere in the tab in order to activate it, instead of having to click the text inside the tab. In order to achive this, I'm currently doing this: <div class="tab" o...

CSS: div id VS. div class

whats the difference between them when it comes to css, will it hurt me if i've only been using div id? i see different developers doing them both ways, and since im self taught, ive never really figured it out thanks! ...

Are there reasons to still use the "@import" css rule?

I recently came across a use of the @import rule on Coda.com. They're actually using to import the main style sheet for the site, specifically the format: <style type="text/css" media="screen"> @import url(./coda.css); </style> Which will hide the rules from Netscape 3 and IE 3 and 4. Since a web development tools primary audience w...

Can you help me center a "ul" element with CSS?

I've been puzzling over something which ought to be very easy indeed, but after a fruitless three hours I've not yet solved it: A friend asked me to fix the template of his Wordpress website so that the horizontal navigation menu-bar is centered horizontally on the page. He wants it to fit snugly across the bottom-middle of the red-sect...

HTML Page Layout Looks Fine in IE7 but not IE6

I have an ASP.NET MVC View that works great on IE7, but looks really crappy when I try to view it with IE6. With IE6, the white area of the page (the ContentPlaceHolder part) is bunched over to the right and does weird things like move around when I resize the window. I have looked in the .aspx, Site.Master, and Site.css to see what is...

Why _not_ use html tables for layout

I have been pondering on this over the last couple of days. I'm currently writing a web application (actually adding a screen to an existing, extensive application). I know that using "tables" for layout is a big no-no. But in this app, all of the pages use tables for layout. I decided to do my new page using divs instead. But I came ac...

Firefox Div Problem

I'm trying to make a little gallery of some school works I've done in my animation class. I want to put 3 images on each line and they are all in divs because I did onion skin wrapping for a dropshadow on them. Unfortunately this makes them all just stick together in two lines across the page. But I want them specifically formatted so I ...

Automatically mark ASP.Net controls which have a RequiredFieldValidator on them

Is there a clean and centralized way to automatically designate a background color or other CSS property for ASP.Net controls (i.e. a TextBox) with an enabled RequiredFieldValidator? Currently I have manually set the background color of required controls to yellow. I would like to replace that with a central method so if the client requ...