css

IE only CSS not applied

Hi I have a rather odd CSS problem. I am bringing in an Internet Explorer only CSS file with: <!--[if IE]> <link rel="stylesheet" media="screen" href="ie.css" /> <![endif]--> But the file seems to of stopped updating on the server. For example, nothing changes, even if I remove my previous header fixes and set the body backgroun...

CSS Positioning Help

Hey, I want to place a border with some text in it on the left side and a border with some text on the right IN THE SAME LINE. how do i do it? Thanks. THANK YOU ALL FOR YOUR ANSWERS, I GOT IT WORKING. THANKS AGAIN. ...

css, select previous anchor

<ul class="list"> <li><a href="">Text 1</a></li> <li><a href="">Text 2</a></li> <li><a href="" class="selected">Text 3</a></li> </ul> how do I select the anchor for Text 2 without adding an extra class? (and no javascript) <style type="text/css"> ul.list li a.selected ******{background-color:#000} </style> output: <...

What's worse: hiding text or removing text?

I'm trying to find the right balance here, so I wanted to see if anyone knows which scenario below is better in terms of semantic markup and SEO. Using this site's logo, Scenario 1: <div id="hlogo"> <a href="/">Stack Overflow</a> </div> #hlogo a { width:250px; height:61px; display:block; background-position:0 0; ...

Images are messed up in webkit

On this page http://cacrochester.com/ the 2 rotating images are messed up in webkit browsers. It's not all the time, and it's usually not on the first image. Why is that? I'm using the NivoSlider jquery plugin to rotate the images. here's what i'm seeing. ...

Javascript: Get typed CSS values NOT computed values

Obviously it can be done since Firebug does, but I wasn't sure if they were doing a lot of processing on the CSSDeclarations or if there was something in the DOM that I am missing, but I would like to grab the the TYPED style of an element or stylesheet and not the cssText that the DOM seems to be giving back. An example would be the bo...

Adding a CSS sublcass to a CSS item used in javascript?

First time using CSS so my question may not make sense. I am using a menu template that uses javascript to slide CSS items around. I have multiple items next to each other and I wanted to alternate the background by making a subclass for the item(eg: .cc_item .odd{ background:#fff}). style: .cc_item{ text-align:center; width:140px; hei...

CSS HTML organize 5 images - cross-browser compatible

I've got 5 images I'd like to organize in an ASP.NET MVC view. So what I need is an HTML+CSS solution (I prefer not to use jQuery for this, for maximal compatibility). I want to organize the images like so: Image1 Image2 Image3 Image4 Image5 At first I tried using tables, with the HTML being: ...

photoshop pt size conversion to web

In photoshop, my text size is 5.12pt and font type is Arial. My base font size for my website is 13px/1.23 Arial. How would I convert the 5.12pt size to the same size on web? Thanks! ...

image size with jquery without pre-defined in tag then pass to CSS

Is there a way to find out the width and height of the follow image with Jquery? <div id="imgBox"><img id="imgID" src="images/koala.gif" /></div> Then pass it into CSS? <style type="text/css"> #imgBox, #imgBox img { width:imageWidth; height:imageHeight } </style> I'm guessing... <script type="text/javascript"> $(document).r...

Rails/CSS Display flash messages in a main column of a fixed layout with 2 columns

Hi, For my rails app, I use a fixed layout with 2 columns (a main and a rightside). For now, flash messages are displayed in the content div but I would like to show flash msg in the "main" div ( main < content < container ). I don't know what it the best to do it. In fact, did I have to create a flash message helper and add it in all...

Position:fixed inside the wrap block

Say I have an absolutely positioned div inside a normal one. <div id="wrap"> <div id="sidebar"></div> </div> In this case, when I state top and left for the "sidebar", they are calculated inside of the "wrap", because the latter is position="relative". However, when I change the "sidebar" to position="fixed", the coordinates are calc...

How to get rid of blank space under SimpleViewer Gallery?

Hello, I am working on a website and have embedded a Simpleviewer gallery into one of my pages. There is a blank white area under the gallery that I can't make go away. My ultimate goal is to have no need to scroll vertically on the page. Here is a link to the page: http://www.tuckermatthewsphoto.com/a...tomotive1.html Any help is gre...

From with position: absolute - now I want to add a menu at the top

I use a windows program to generate a form. It's WYSIWG, design in the windows program, view in the browser, so I am using style=position: absolute; left=X; top=Y;" for every element on the form. Now I find that I want to add a menu across the top, effectively pushing the form down my the height of the menu. Should I just adjust the to...

Any way to stop CSS :hover text-decoration underline on child?

Possible Duplicate: How do I get this CSS text-decoration issue to work? I'm using the jquery toggle effect to show or hide more information about list elements: jQuery(document).ready(function($) { $("ul p").hide(); $("ul li").addClass("link"); $("ul li").click(function () { $("p", this).toggle(300); }); ...

CSS getting distorted while using the custom WebUserControl in an ASPx page

Hi, I have a very simple Web UserControl derived from System.Web.UI.UserControl. At Design Time the user control looks perfect in the VS2008 Pane with all CSS styles. When I drag n drop this control on an aspx page, the CSS style gets applied but some texts get hidden and the CSS looks distorted. I have checked the path of the CSS, Us...

Set default style to table in ASP.Net

My asp.net theme has default css style. How can I set default style to all my <td> in this css style? ...

Update progress position?

My update progress displays under the update panel. Is there a way to display it near the control which caused the async postback? I have a very long form so users might not scroll all the way down and see the progress at all. Edit I am using a table for my layout inside the update panel. The update progress is placed right after the t...

jeditable button styling

How do I style the buttons generated by jeditable? I am styling the textarea like.. .dynform textarea { width:450px; max-width: 2450px; height:200px; } where .dynform is the cssclass parameter to jeditable. But the button style don't seem to take effect. .dynform input[type=button] { border: 1px solid #dddddd; backgrou...

iPhone safari web app floating div

Hello, Am wondering how to achieve a floating div in iPhone Safari. position:fixed does not work unfortunately. Thank you for your time. ...