css

Different coloured fly out menu

Hi All, I'm creating a custom master page for a MOSS publishing site. The designers have come up with this idea for the fly out menu... which uses graduated/different backgrond and text colours for each menu option. Does anyone know how to accomplish this? ...

What is the best way to write a contract for CSS usage in Web Development?

Our Dev team had been developing enterprise web page more than 2 years ago. We are curious to know what is the best way to write a contract for CSS usage. For example, if we have a COMP, how we agree on a contract so our developers and our designers agree and we don't have to go back. Is there a tool that is available for this type ...

In firefox, how to change color of text in a treecell using javascript

BACKGROUND: I have the following XUL fragment <tree id="treeToChange" flex="1"> <treecols> <treecol label = "First Column" id="c1" flex="1"/> <treecol label = "Second Column" id="c2" flex="1"/> </treecols> <treechildren> <treeitem> <treerow> <treecell label="Data for Column 1"/> <treecell label="D...

altering jquery datepicker to work with blueprint css

Does anyone have any pointers how to to fix the styling issue presented when using jquery ui's datepicker along side blueprint css framework? Specifically the table with the dates appears larger (wider) than the container it sits in. ...

Balancing HTML/CSS Between Designers and Engineers

I have a development process question. Background: I work for a modest sized website where, historically, the designers created mockups/screenshots of what they wanted pages and components to look like, and the engineering team (myself included) turned them into html/css. This works relatively well from a code cleanliness perspective, ...

Making mixed numeric and alpha entry easier for mobile browers

I'm refurbishing a simple web-app that our field techs use. One of my goals is to make it Blackberry-friendly, as all of the techs are now using those. This app accepts basic information about a job and stores it. Among that info are times, telephone numbers, and a street address. I have the time fields and telephone fields figured out...

Different div 2 column layout

This is different than the simple 2 column layout. I need to have this html: <div class="menu"> <div class="right">One</div> <div>Three</div> <div>Four</div> <div class="right">Two</div> <div class="right">Two</div> <div>Four</div> <div class="right">Two</div> </div> The div class menu has a static width, ...

C# - Best way to change CSS Classes from code

It's easy to set CSSClass in the codebehind, but this runs the risk of overwriting existing classes. I need to set certain elements to ReadOnly = true; and i'd like to apply a style as a visual cue that the item cannot be altered... easy enough .CSSClass += " ReadOnlyStyle"; But then I equally need to change the same element to ReadO...

Django: how do you serve media / stylesheets and link to them within templates

Variations of this question have been asked, but I'm still unable to get my stylesheets to load correctly when my templates are rendered. I'm attempting to serve static media from the Django process during development - which is strongly discouraged in production, I'm aware. I'll post my configuration and my template, and hopefully some...

CSS two divs next to each other

Hi, I want to put two divs next to each other. The right div is about 200px; en the div left must fill up the rest of the screen width? How can i do this? I don't want to use percents because then my layout is crap :) Thnx ...

Making the Cursor Disappear

I am constructing an Editor for a little Webapp. My concept is to have a Bar where I put all the functions. It changes concerning to the content. Now i got the following problem. As you can see in the picture when i click on the button it happens that the button will be on a new button just after beeing clicked. My question is: Is there ...

Table cell widths - fixing width, wrapping/truncating long words

I have a table containing cells with text of various lengths. It is essential that all of the table cells are of the same width. If this means truncating long words or forcing a break in long words then that's OK. I cannot figure out any way of getting this to work. This is for an internal client application so needs to work in IE6 and...

Opera and Custom cursor in CSS

Where I normally am verry proud of Opera for implementing everything CSS really correct it seems that implementing a custom cursor with the following line doesn't seem to work cursor:url("../pics/merge.gif"); The URL is correct since it works for regular background-image properties. Works in other browsers, but not in Opera. Any idea...

How to define multiple CSS attributes in JQuery?

Is there any syntactical way in JQuery to define multiple CSS attributes without stringing everything out to the right like this: $("#message").css("width", "550px").css("height", "300px").css("font-size", "8pt"); If you have, say, 20 of these your code will become hard to read, any solutions? ...

Is it possible to achieve a row highlighting effect without javascript?

I want the "tr" that's currently hovered over to change color, and then change back when the mouse is no longer over it. Is this possible using pure CSS, or is javascript the only solution? (I currently have a javascript solution, so I don't need examples of that) Thanks! ...

What does the following code do in CSS?

I know nothing of CSS but am trying to figure out the meaning of this syntax: body { margin: 0; font-family: "Trebuchet MS", Helvetica; background: #FFFFFF; color: #FE6600; overflow-x: hidden; position: absolute; margin: 0; padding: 0; left: 0; top: 45px; width: 100%; min-height: 372px; } ...

Internet Explorer - Space Between Floated Divs

I've been running into a presentation issue with Internet Explorer. The following simple block of code renders as I would expect it to in Safari, FireFox, Chrome, and Opera. However it results in a noticeable space between the left and right floated DIV elements in both IE6 and IE7. My question is: Is there a more correct way to achie...

2-col CSS layout with background colors that fill full height?

I've had a reasonable amount of exposure to CSS layout. I've looked at quite a few CSS layouts for 2 or 3 column layouts, and having a hard time to just find even just a reliable 2 column that allows me to do the following: what I want: each column has its own background color i want the background column to fill the full height of t...

.NET UserControl for CSS columns?

Are there any .NET Controls out there to help with CSS layout and make it nice and easy to quickly make changes - possibly dynamically. Update: I've pretty much give up on this idea as I've researched more about CSS best practices. I've decided to use Yahoo YUI's reset css and grids css to get layouts that can be more easily changed a...

ajax in each time or load everything at once

you have several links on a page. when clicked, a div gets updated via ajax. the updated div includes data from the database. according to this scenario, every time a link is clicked, the date is grabbed from the database and injected into the div. would you now; 1) support this scenario or... 2) would load each link's content in sev...