css

CSS - Placement of a div in the lower left-hand corner

I wish I were a CSS smarty .... How can you place a div container in the lower left-hand corner of the web page; taking into account the users scroll-position? Thanks in advance for any assistance. ...

Google Finance - Get Quotes search box - Column Alignment

How does Google manage to properly align the second column (i.e. the ticker name) in the "Get Quotes" search box suggestion dropdown in http://finance.google.com? e.g. if you enter "iii" - the second column is perfectly aligned. It does not use a fixed-width font - so just adding the correct numbers of spaces to the "ticker" will not w...

Best css generator lanugage?

Reusing values in css (particularly colors) has always been a problem for me when it comes to maintaining that css. What are the best tools for creating variables, or generally improving maintainability with css? ...

Is there a way of selecting the last item of a list with CSS?

Say I have a list as follows: item1 item2 item3 Is there a CSS selector that will allow me to directly select the last item of a list? In this case item 3. Cheers! ...

CSS: Textbox to Fill Parent Container

Hi, I'm trying to let an <input type="text"> (henceforth referred to as “textbox”) fill a parent container by settings its width to 100%. This works until I give the textbox a padding. This is then added to the content width and the input field overflows. Notice that in Firefox this only happens when rendering the content as standards c...

CSS overflow table row positioning

I have table inside a div tab. The table has 40 rows in it and the div's height is set to show 10 rows of that table. CSS's overflow:auto lets me scroll through the 40 rows. All is well there. How can I, with JavaScript cause the table to programatically position to a given row (ie, programmatically scroll the table up or down by row)?...

Separating CSS deployment from rest of site

Where I work, the design and development departments are totally separated, however we (the design department) are responsible for managing the CSS for our sites. Typically, new CSS needs to be released to the production server far more often than new website code. Because of this, we are deploying the CSS separately, and it lives outsid...

How to properly link your a custom css file in sharepoint

I've created a custom list, and made some changes to the way the CQWP renders it on a page by modifying ItemStyle.xsl. However, I'd like to use some custom css classes and therefore I'd like to link to my own custom .css file from the head tag of the pages containing this CQWP. So my question is, where to do put my .css file and how do ...

Is there a way to highlight the target of a bookmark? (www.site.com/page.htm#bookmark) ?

I want to link to bookmark on a page (mysite.com/mypage.htm#bookmark) AND visually highlight the item that was bookmarked (maybe having a red border). Naturally, there would be multiple items bookmarked. So that if someone clicked on #bookmark2 then that other area would be highlighted). I can see how to do that with .asp or .aspx b...

How can you find out where the style for a ASP .Net web page element came from?

I have a quandary. My web application (C#, .Net 3.0, etc) has Themes, CSS sheets and, of course, inline style definitions. Now that's alot of chefs adding stuff to the soup. All of this results, not surprisingly, in my pages having bizarre styling on occasion. I am sure that all these styles are applied in a hierarchical method (alth...

Is there a ClientScriptManager.RegisterClientScriptInclude equivalent for CSS

The ClientScriptManager.RegisterClientScriptInclude method allows you to register a JavaScript reference with the Page object (checking for duplicates). Is there an equivalent of this method for CSS references? Similar questions apply for ClientScriptManager.RegisterClientScriptBlock and ClientScriptManager.RegisterClientScriptResource...

CSS not being applied on non authenticated ASP.NET page

When developing (works fine live) the pages for our website don't pick up the correct CSS until the user has authenticated (logged on). So the Logon and Logoff forms look bad, but once inside the site, the CSS works again. I'm guessing it's some kind of authentication issue? Haven't really looked into it too much because it's only when...

CSS to increase size of first word

This one has me kind of stumped. I want to make the first word of all the paragraphs in my #content div at 14pt instead of the default for the paragraphs (12pt). Is there a way to do this in straight CSS or am I left wrapping the first word in a span to accomplish this? ...

What is the best way to cache a menu system locally, in the browser?

I have a very large cascading menu system with over 300 items in it. (I know it's large but it's a requirement.) Currently, it's written in javascript so the external file is cache by browsers. To improve search engine results I need to convert this to a css menu system. I realize the browsers will also cache external stylesheets but is ...

Will .NET MVC give me the HTML/CSS/JS separation I need?

I'm working with my ASP.NET development team to try and create "better" (i.e. cleaner) HTML when rendering pages. At the moment, .NET has a nasty tendency to do things like dump JavaScript into the page, making it a mandatory requirement on form controls and not allowing forms to work when JS isn't available. In some instances, we're s...

Does IE7 have a "developer mode" or plugin like Firefox/Chrome/Safari?

Firefox has Web Developer plugin and Firebug for troubleshooting html/css/javascript issues. Google Chrome and Safari have a very similar console and right-click options for "Inspect Element". Does IE7 have anything similar for troubleshooting layout/html/css issues? ...

How can I get a fixed-position menu like slashdot's comment filtration menu

Slashdot has a little widget that allows you to tweak your comment threshold to filter out down-modded comments. It will be in one place if you scroll to the top of the page, and as you scroll down, at some point, where its original home is about to scroll off the page, it will switch to fixed position, and stay on your screen. (To see...

How do I specify in HTML or CSS the absolute minimum width of a table cell.

Summary What's the best way to ensure a table cell cannot be less than a certain minimum width. Example I want to ensure that all cells in a table are at least 100px wide regards of the width of the tables container. If there is more available space the table cells should fill that space. Browser compatibility I possible I would li...

CSS to make an empty cell's border appear?

What CSS should I use to make a cell's border appear even if the cell is empty? IE 7 specifically. ...

How to position a DIV to fill all available space between a header DIV and a footer DIV?

Let's say I have a parent DIV. Inside, there are three child DIVs: header, content and footer. Header is attached to the top of the parent and fills it horizontally. Footer is attached to the bottom of the parent and fills it horizontally too. Content is supposed to fill all the space between header and footer. The parent has to have...