Archive for the 'background' Category



Ok kids, if you use image replacement to create super-cool rollover buttons, raise your hands. Good. Now, keep your hands raised if you put title attributes on the links to give added information. Great! What is the text inside the link? Keep your hands raised if you repeated your title attribute [...]

I’m working on a project with shiny, happy submit buttons all over the place. To offer more control over the presentation, we are using the form button element and inserting images inside the button tags.

<form>

<button type=“submit” name=“submit” id=“submit”>

<img src=“submit.png” alt=“submit” />

</button>

</form>

Now, you need to over-ride some pretty ugly default presentation styles:

form button {padding:0; margin:0; [...]

I don’t remember where I first found this tip (Hedger Wang?), but it’s a good one. If you are using image replacement, i.e. background images and negative text-indent, you may notice a dotted line appear when the link is clicked and waiting for the page to change (:focus). It’s outlining the text that happens to [...]

I’ve played around with IE7 for a while, but haven’t really started debugging with it until now. Fortunately, I’ve already set up the site to use conditional comments and deliver an IE6.css file and a separate IE7.css file. This has made it much easier to target the offending areas of the site.
IE7 has had [...]

Attribute Selectors for International Web Sites
Sébastien Guillon, recently wrote a post about using the CSS2 attribute selector and content rule
to let visitors know what to expect when clicking on a link to an international web site. Inspired by his approach, I’ve simplified some of the code and added background images to
represent the countries.
Guillon’s original project [...]




About

You are currently browsing the Advanced CSS Design Resources - last-child.com weblog archives for the 'background' category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.