css

GWT Clipped image

I am creating a widget in which a portion of an image will be highlighted and the remaining portion will have an opacity 0.5. For this i am using two images. The full image at the back with opacity 0.5. the portion of the image i want to be highlighted in the front. the front image is GWT's Clipped image. I have a scenario where i have...

IE fixed header

Is IE9 going to allow tbody scrolling via css? ...

Are these Mozilla-specific CSS styles doing anything?

I'm working with some CSS (from a Joomla template) like this: div#logo { -moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent url(../images/head.png) no-repeat scroll 0 0; ... } I've looked up some of those -moz- properties and they seem t...

Resizing to page width for print style sheet

So I've got a page that shows an image with some absolutely positioned text on top of it. I want to write a print style sheet for it so that: the image is resized to fit the width of the page the text is repositioned and resized to maintain relative position and size with the image behind it So I know I can do (1) with just max-widt...

IE7 text align issue - text wraps and shouldn't

If you take a look at http://wilwaldon.com/ie7sucks/inner7ie.html with IE7 you will notice that the text wraps the image. With all other browsers it doesn't. I'd like it to not wrap the image in IE7. I've used the ie dev tools but can't figure out what's causing the glitch. Any help would be appreciated and I'll be eternally grateful. ...

Styling a result set

Perhaps this is not the proper place to ask this question, if that is the case, please direct me to the correct venue. I'm looking for research, guides, any kind of information pertaining to the structuring and styling of results sets; data which comes back from a search, or when looking at content in a list view. Links would be apprec...

CSS files that don't end with .css

Is there a disadvantage to using a dynamic Python file to generate the CSS for a webpage? I'd like computers with an administrator cookie to show special admin panel CSS, and show regular CSS for all other users. I'm planning to use: <link rel="stylesheet" href="/css.py" type="text/css" /> ...

Blueprint CSS and Separation of Presentation and Content When Designing Forms

Is it possible to use Blueprint CSS and maintain a a respectable level of separation between presentation and content? I like how easy the framework is to use when designing forms, but am worried that the manner in which I use the css classes for columnizing elements is a bad practice. For instance, say I have a 3 field form designed us...

How to transform a production to LL(1) for a list separated by a semicolon?

Hi, I'm reading this introductory book on parsing (which is pretty good btw) and one of the exercice is to "build a parser for your favorite language." Since I don't want to die today, I thought I could do a parser for something relatively simple, ie a simplified CSS. Note: This book teach you how to write a LL(1) parser using the recur...

Does margin-left:2px; render faster than margin:0 0 0 2px;?

Douglas Crockford describes the consequence of Javascript inquiring a node's style. How simply asking for the margin of a div causes the browser to 'reflow' the div in the browser's rendering engine four times. So that made me wonder, during the initial rendering of a page (or in Crockford's jargon a "web scroll") is it faster to write...

How can I make a div assume 100% of its containing div?

I'm trying to make a div assume 100% of it's parent div. The parent div acts as a page wrapper, so it's already assuming 100% of the page width. I've tried adding width: 100%, but this did not seem to work. I'm a little baffled, because this seems like a relatively simply thing to do. ...

What kind of language is CSS?

What kind of language is CSS? My first inclination was to call it a markup language... but it doesn't really fit the mold. Edit: A markup language is a system for annotating a text in a way which is syntactically distinguishable from that text. -wikipedia CSS uses various selectors to apply properties to elements within HTM...

How to include images for <selection><option>?

Hi I have a list of countries displayed inside the select-tag option-tag tags, what I'd like to do is include the country's flag next to its name. I tried to insert img tags inside the select-option tags, it doesn't work. Please help Thank ...

Disappearing menus in IE6 and 7

Hi all, I'm using dropdownplain js from css tricks along with the jquery s3slider on the site www.gwynfryncottages.com, there's an issue with IE6 and IE7 where the menu disappears behind the slideshow on the homepage and the images on the cottages overview page. I've tried a few fixes involving z-index but, as IE already has problems th...

howto hide outline on a form

I have to design a form with an input inside it. I use background image on the input so it would look like a button. Every time somebody clicks it, it would send $POST, a behavior I want to achieve. But the problem is about the outline around the form. The outline shows when we click the form. It's minor, but it would be great to make ...

CSS : overflow : auto will not work under FireFox 3.6.2

Hello everyone: This is a CSS related question, I got one good answer from my previous question, which suggested the use of some CSS code like overflow:auto together with a fixed height container. And here is my actual implementation : on uni server If by any chance you cannot access that server, try this Please follow the instructio...

problem with css showing the divisions of the page

This is most likely the culprit for this page: http://www.mypicx.com/04192010/ff/ table { border-collapse:collapse; } table,th, td { border: 1px solid black; font-family:Arial, Helvetica, sans-serif; letter-spacing: 1px; font-size:3; font-size:10px; } th { background-color:#A7C942; color:white; } I don't know why, but the page has s...

CSS - how can I handle the size difference between serif and sans-serif fonts?

I'm working on a WordPress that will allow the site administrator to switch between sans-serif and serif fonts. I'm trying to code the stylesheet in such a way that the font sizes are similar whether or not they choose Georgia vs Arial. The problem is that when I have it looking nice with a serif font, it looks WAY too big when in sa...

How to change font color inside an existing script?

Hi everyone, I get a script from a website to put it into my website, but the font color is not what I want. The script is: <script language="javascript" src="http://www.parstools.net/calendar/?type=2"&gt;&lt;/script&gt; and now I want to change the font color of it. What should I do? I would really appreciate your help, thanks. ...

Disable/unbind click on active items, rebind click when inactive

I have a left-positioned navigation that shows/hides content on the right. Currently, when you click a link, it fades in the corresponding content on the right and adds an active class to that link. My problem is that if you click the active link again, the content on the right keeps on fading in again. I would like to unbind that click ...