css

Css position in ie7

Hello, I have a file uploading site and my template works fine in every browser except ie7 the google ads are not showing correctly in ie7, i tried applying css properties display: block and also tried with inline, specified width and height, specified position: relative, so what should i add to css to get it correctly positioned with ...

jQuery Image Slideshow: captions not transparent in IE

I have created a slideshow of images using jQuery. The images fade between each other. There are captions for each image, each inside its own div. As the image is faded in the related caption slides up. The caption is meant to be transparent and this works in all browsers (that i have tested it with) except IE. The website can be found ...

JS: Specifying current element in the menu

Hi! I have a menu: <ul> <li id="active"><a href="/">Головна</a></li> <li><a href="/about/">Про компанію</a></li> <li><a href="/work/">Діяльність</a></li> <li><a href="/initiative/">Ініціативи</a></li> <li><a href="/statti/">Статті</a></li> </ul> Can you suggest a way to change id=active attribute for this li...

IE Question: How many CSS includes can it handle?

I came across a strange behavior while theming Drupal. I turned a few modules that added 5 to 10 link tags to the page. While these new stylesheets were added to the cascade in Firefox, in IE8, by adding these the browser discarded the earlier added CSS files from the hierarchy. In fact, the first files were the first to go, which comple...

HTML/CSS Formating question

Hi, Im just messing around with Ruby on Rails and HTML. This question isn't about RoR, but HTML and CSS. When I center my body, I get this: How can i get the bullets to be centered next to the text as well? Also, how can I get the while border collapse so its closer to the text? Thanks! Here is my code: My app layout: <!DOCTYPE h...

Jquery select with select?

Hi there, is it possible to select within a select (chaining) with my jquery. I basically have this, once i have cloned it, there are 2 more DIVs inside the new clone which i need to change as well usign jquery, these embedded divs have IDs, i could just put it on a new line and reselect using $ But thought jqery allows chaining, but ...

jquery slider to change body background

I want to include a mini menu 20px by 20px images of potential backgrounds. When a user clicks on one them the body background image will change and the selection saved as the users choice. I've thought of using a slider but I don't know how I would be able to have the images in a li and be able to change the body css based on the selec...

retrieving saved url in cookie for body background jquery

I am trying to retrieve a saved url from a jquery cookie its saving in the cookie but its not retrieving the cookie url $(document).ready(function() { $("#BGSelector a").click(function() { var imgLink = $("img", this).attr("src"); $.cookie("html_img", "" + imgLink + "", { expires: 7 }); var imgCookieLink = $.cookie(...

How can I add padding to html dropdownlist?

I want to add padding to the options of html "select" tag. I try to add it in the style property of "select" and "option" and it doesn't work in IE. What can I do? ...

how can I apply a CSS stylesheet to all page views in my Firefox browser

I would like to apply a CSS stylesheet to all page views in a Firefox browser using a menu option and be able to toggle this when required. (The functionality I want exists in IE: Tools | Internet Options | Accessibility | Format Documents Using my Stylesheet (although I think this may affect pages outside of simply IE). ...

Webkit border radius sometimes take effect

This issue is about the CSS3 border-radius property (http://www.css3.info/border-radius-apple-vs-mozilla/) An example of this problem is here: http://jamtodaycdn.appspot.com/bin/rounded.html In this URL, I have rounded divs that appear to be rounded in FF3, but on Safari and Chrome the rounded corners are not there. The style is as f...

jquery select (each) all checked checkboxes?

Hi there, Can anyone help with the following, it doesn't return any checked checkboxes.. Am i doing somethign wrong? I have $("input[type=checkbox][checked] .type-element").each( function(index) { alert('checked' + index); } ); here is part of my html ( i have a number of them all as type-container) <div id="t...

Aligning a transparent PNG over same-colored CSS background

My idea is that a PNG overlaying some text, with transparency ranging from 0% to 100%, all colored in the same color as the CSS background, would fade out the text underlying it. Turns out the transparent PNG is visible also in the areas where it's supposed to be transparent. Also, the colors of the PNG and the CSS are not the same - ev...

Auto-sizing body background image to browser window?

i have a jquery script that allows for changing the body background i want to have the background image of the body scaled to the browser window size there is a script called http://www.buildinternet.com/project/supersized/ but i am not able to make use of the scaling from that script because it effects the class img not the background...

How do I get around the IE CSS percentage rounding problem?

I'm trying to create a dynamic site where I have three floating boxes next to eachother. They are 33.33% in width each. The container div around them is 75% in width. I've found an article about the problem here: CSS: Jumping columns I've also found an example of the same problem here: Jumping columns example Drag the window size to ...

Working with html, css code in a JSP page

I am a web designer. As a team member of a web application project, I some times need to work on the jsp pages to modify html, css. I feel uncomfortable seeing the jsp tags which I don't understand. Did any member of this site gone through this kind of experience? If so how you manage to edit? Do you use a particular tool which highlight...

CSS: Adjust height of a block to the size of text

Hi, I want to create a fancy frame around my text. I ended up with wrapping it in the following DIVs: ____________________ |__________________| | | Here will | | | | be some | | | | text | | | | ... | | |_|______________|_| |__________________| So it consists of the following blocks: the upper block (topDiv) ...

How can I center the contents of a div that float: left?

Let me try to explain... I found this article and I decided that I liked the way they styled links and buttons. So I took the CSS from the article... .buttons a, .buttons button{ display:block; float:left; margin:0 7px 0 0; background-color:#f5f5f5; border:1px solid #dedede; border-top:1px solid #eee; borde...

Center Align Horizontal Accordion in IE (dynamic widths)

I'm trying to figure out how to center a horizontal accordion with no width given in Internet Explorer 6 and 7. I'm working in XHTML 1.0 Strict. In Webkit and Mozilla its just display:table. I've tried everything I can think of and anything one might LMGTFY me for... but it's just not working. I've posted the example at: http://able...

input type=file show only button

Is there a way to style (or script) <input type=file /> element to have visible only "Browse" button without text field? Thanks Edit: Just to clarify why to I need this. I'm using multi file upload code from http://www.morningz.com/?p=5 and it doesn't need input text field because it never has value. Script just adds newly selected fil...