css

Why is the image not showing in IE7?

I have an image on this page in the blue bar area. It shows up fine in FF, Safari, IE8 & Chrome, but it does not show up in IE7. Here is the HTML: <div id="featuredImage"> <img src="images/website_design_charlotte.jpg" width="960" height="159" alt="" /> </div> Here is the CSS: #featuredImage { position: absolute; z-index: 9; top...

Convert TD columns into TR rows

Hi, Is there a quick way to translate (using CSS or Javascript) a tables TD into TR, currently I have: A B C D 1 2 3 4 and I want to translate to: A 1 B 2 C 3 D 4 ?? ...

CSS style refresh in IE after dynamic removal of style link

Hi! I've got a problem with the dynamic style manipulation in IE7 (IE8 is fine). Using javascript I need to add and remove the < link /> node with the definition of css file. Adding and removing the node as a child of < head /> works fine under Firefox. Unfortunately, after removing it in the IE, although The tag is removed properly, ...

Using CSS to set style class

I've got the following CSS which I'd like to get working. I'm sure I've done something similar once, but I can't find the answer on google. Basically some style properties have child properties which can be changed, suchas Container.borderSkin. You can set borderThickness, borderStyle etc, all on the borderSkin style. <mx:Style> ...

IE Display Bug, jQuery bug

So I built some complex ajaxy jquery module on my homepage, with the help of "scrollable" from flowplayer.org. It works fine for me on Chrome, Opera, Firefox ... but of course IE is not playing friendly (regardless of the version, from my testing). Objects are not displaying exactly where they should, some are overlaying each other, an...

IE6 Background Image on link not shown when wrapped in span

I have an issue in IE6 but not IE>=7, FF or Chrome. It is caused when you wrap an anchor tag with a span. <span><a href="place"><span>Text</span></a></span> However this works: <h1><a href="place"><span>Text</span></a></h1> The only styling on them is as below: div#headeraffiliate a.skin_3 { width: 550px !important; height: 53...

How can you determine what font from the CSS stack is being used?

I use Firebug avidly and in the CSS-"computed" tab it will only show me the declared stack, but not which font has actually been used by the browser. Aside from removing fonts one-by-one and looking for a change (or having amazing font recognition skills) is there a way to determine what font has actually been rendered by the browser? ...

Can I wrap img alt text?

I have an image set by css style to 100x75. When it doesn't load, the alt text loads into the space, but expands the container to beyond 100px width. How can I prevent this? Either by cutting it off or wrapping it. ...

CSS 100% Height, and then Scroll DIV not page

Okay so I haven't been able to find a question with an answer yet, so I decided to make my own. I am trying to create a 100% fluid layout, which technically I have done. http://stickystudios.ca/sandbox/stickyplanner/layout/index2.php BUT, what I want it to now do, is make the page 100% in HEIGHT... But I don't want the page to scroll ...

Customize SharePoint:FormFields to a specific height

I'm customizing a NewForm.aspx page and I've created a few new SharePoint:FormFields in the form of textboxes. I'm looking to customize the height of these boxes on a case-by-case basis, but I can't figure it out. I've looked into DisplaySize, but that only controls the width of a specific textboxe, and I've seen adding in: style> .ms-...

JW Player: cross-browser "display:none" player behavior

Is there a simple, upfront method to have FF and IE treat hidden JW Players the same? I am placing different instances of the player dynamically in jQuery generated tabs. In effect, switching tabs hides the parent div of each player. In FireFox, the tab switch and accompanying "display" change stops the player. This doesn't happen in IE...

CSS Pop up box that works in all browsers

I want to display a pop up box when a visitor clicks on my google map marker. I already have the text I want to display when they click the marker. ...

How can I explain to a programmer that CSS positioning has many benefits over table based layouts?

I have a friend who wishes to work as a freelance web developer, but insists that tables are the way forwards for layouts. Several points he maintains in favour of tables: This is what was taught at the beginning of 10 years of programming & computer science degrees, thus it 'must' be right. Large companies use tables to achieve 'tech...

Make input field background image disappear after text is inputted

I'd like to make the background image for my input field disappear once the user has typed any amount of text in it. Is there a simple way to do that in javascript? I can get it so the bg disappears while the field is focused, but then it returns once they move on to the next field. HTML: Call me at <input name="phone" type="text" ...

how to add a sidebar to a .net page based on a master page that doesnt have a sidebar.

Hello, I have been told that I should add a sidebar to one page of this .net project, but the master page don't include a sidebar. How can I add a sidebar to one page only ? This is the code for the Master Template, can anyone suggest or help me out here? I'd buy a book and read more, but I have to do this for the next 12 hours. <%@ M...

trouble finding element on page using xpath or css

Guys, I'm trying to write xpath or css to find/click on list element "All" based on known span(in this case SNG NAME below). On page, there are different lists Which can contain same list item called as "All". So we have to identify "All" based on span(in this case SNG NAME below) can someone shed some light on my issue <html> <head>...

CSS Parser - Insert mtimes

What command line tool can I use to automatically insert mtimes into urls in my css files for the purposes of breaking the cache? /* before */ .example { background: url(example.jpg); } /* after */ .example { background: url(example.jpg?1271298451); } Also, I would like this tool to spit out the latest mtime as the css files mtime. (...

How do I control the direction of the scroll on my coda slider?

Hello, I have a coda slider and am unable to determine the direction of the scroll. I have 3 panels that I want to scroll left to right. Sometimes it scrolls left to right, sometimes up and down, and sometimes horizontally. How do I lock it down to go the direction I want? Here is the HTML: <body> <div id="slider_home" class="round_...

Disabling compression for IE pre SP2 with Apache mod_rewrite

I am trying to replicate this fix ( http://sebduggan.com/posts/ie6-gzip-bug-solved-using-isapi-rewrite ) with Apache mod_rewrite, but with no success... Can somebody help me translate those ISAPI rules to APACHE mod_rewrite? I don't know how to 'translate' those rules... My objective is to avoid sending compressed css and js when the us...

Gradient fills only half the cell

Hi, How do I get the IE gradient function here in this code sample to completely fill the table cell? With the code given below, I could only get it to cover the upper half of the cell. <HTML> <HEAD> <style> <!--table .cl1 { font-family:Comic Sans MS; font-size:11.0pt; color:#800000; border-left:1.5pt solid #000000...