css

Is z-index the only way to force an element to be positioned over top of another, if not what other methods are there?

I'm working on an application with a map and there is a div in the corner with some stuff in it. You can click on this map to bring up some information in a little window. The window is, in some cases, being covered by the div in the corner. I want the opposite effect (window covers div). I figured this would simply be a z-index is...

2 column full height layout in IE6

So I am trying to replicate this in IE6: http://lynet.ca/~alumb/layout.html It works perfectly in FF and Chrome, but fails miserably in IE6. Any suggestions? Here is the full set of requirements: +-----------------------------+ | NavBar | |-----------------------------| |Menu | Content | | | ...

Auto-size dynamic text to fill fixed size container.

I need to display user entered text into a fixed size div. What i want is for the font size to be automatically adjusted so that the text fills the box as much as possible. So - If the div is 400px x 300px. If someone enters ABC then it's really big font. If they enter a paragraph, then it would be a tiny font. I'd probably want to ...

html footer moves to right when table is empty?

Have a table of data surrounded by form tags. At the bottom of the page have a footer that is fixed. When the table is empty (only table header displaying) the entire footer shifts half way off the screen, to the right. Any ideas? Thanks! <form action="/cgi-bin/Lib.exe" method=POST name="dd" ID="Form1"> <div id="yyy"> ...

sIFR 3: fixfocus: true?

hi, i'm after a way to remove the outline focus that firefox applies to my page: http://www.bevelite.com.au/test i've read that applying the following will fix this but can't seem to apply it to my code: sIFR.replace(movie, {fixFocus: true}); my code: sIFR.replace(univers47cl, { selector: 'h1.test', wmode: 'transparent', css: [ '....

Add background color and border to table row on hover using jquery

Does anyone know of a way to add a border to a table row with a different background color when the mouse hovers over the row? I've been able to change the background color of the row with this: $(document).ready(function() { $(function() { $('.actionRow').hover(function() { $(this).css('background-color', '#FFF...

Removing a single CSS element for one URL; Drupal 6

I have my Drupal theme set up with a notebook spine image in the middle, giving it a 50/50 page split. The problem is, on a few pages, I want to get rid of that notebook spine and use the whole page. I have looked around on Drupal.org, but no luck. Would this be an edit to the page.tpl or style.css? Thanks, Tim ...

Hiding the contents of DIV

I have a DIV with a script as shown below <div style="text-align:center"> <script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/t/a?url=www.mysite.com'&gt;&lt;/script&gt; </div> What I want is that the users should not be able to see this div on the site, but the script should be...

PNG Transparency in IE6 - Need help with "How to apply hack for stylesheet"

Hi, I am trying to apply css for my table as show in sample "9.Table Background" as given in the below link. http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs/ It is working finr in IE-7 and fire fox. A comment for that sample is specified - " IE 6 users won’t see the transparent background if the hack is not ...

Why Django cannot display images in my CSS file?

I'm having a problem in displaying images in my CSS file. I have a css file with the following class: .header { margin-left: auto; bla bla bla bla ... background: url(/site_media/header_background.gif) no-repeat top left; } When I execute the template with this css, no image is displayed, but when I directly inject the backgroun...

Sidebar not displaying properly in Opera

Even on my very best days I am absolutely dismal at tracking down browser display issues. In Opera, the left-hand sidebar on this page ( http://www.taysf.org/about ) is not displaying properly. In every other browser, the sidebar has an orange-stripe-tan-block background, and for a reason I can not fathom that background does not displ...

Does this seem like an IE8 float bug to you?

I've noticed a strange behavior in two different sites when using IE8. The first site is in the site that I maintain xebra.com. The second site is google analytics. The behavior is that when an address is typed directly into the address bar of IE8, both sites display correctly, But when one of the sites has already been loaded, an...

center image inside overflow-hidden-parent

I have an image inside a span tag, the span has a set width and height, and is set to overflow hidden. so it only reveals a small portion of the image. This works but the small portion of the image that is visible is the top left corner. I would like it to be the center of the image that is visible. I think I need to absolutely position ...

Why does IE make password boxes smaller than text boxes?

See the simple form below. It's just a text box on top of a password box. If you look at it in Internet Explorer 7 (and 8, and probably others) the text box is 10 pixels wider than the password box. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <meta http-equiv="Cont...

CSS on Email

Hi Has anyone found a good way of embeding CSS in a programatically produced email. The best way I have found is to put the style code into a resource file and call it into the code. An emample would be Dim objBuilder objBuilder = New StringBuilder objBuilder.Append(Resources.SystemEmail.CSSStyle) objBuilder.Append("My Styled Email"...

How can I fill the remaining space when dealing with an inline ul?

I used this CSS to make my ULs look fancy ul, li { padding: 0px; margin-left: 0px; margin-bottom: 0px; display: inline; } li { border: solid 1px #333333; margin-right: 5px; padding: 2px; background-color: #222222; color: #999999; } I'd like to have a final, empty list item that has the same graphical style fill up t...

CSS, centered div, shrink to fit?

Here's what I want: text text text text text text text text text text text text text text text text text text text text text text +-----------+ | some text | +-----------+ text text text text text text text text text text text text text text text text text text text text text text...

Internet explorer css overflow Problem

Hi all, I wanted to know if there was a way to fix scrollbar issue i'm having with ie7. Here is my CSS .gridContainer { height: 500px; width: 410px; background-color:#fff; border:1px solid #6699CC; overflow:auto; } .Grid {background-color:#fff;width:100%;} .Grid td { border-top:1px solid #C4DDFF; height:13px; min-width:30px; text-al...

Are there any CSS properties that the JavaScript DOM can't access?

If I were to remove my CSS stylesheet and set all the properties via a JavaScript file, would that be possible? That is, would there be anything I couldn't access via the JS DOM API? ...

How can I teach a beginner to write ASP.NET web applications quickly?

Related: Best ways to teach a beginner to program? I am teaching my brothers ASP.NET programming and they are starting with a very small amount of background knowledge. They know things like declaring a variable, what a class is and what a page is. I want to teach them to be good web developers in the shortest amount of time. The ...