I have been trying to solve this strange problem with a website I am designing. The image for the logo doesn't load in Firefox - you need to hover your mouse over the ALT text that is displayed, and the logo will then load.
This does not happen in IE - where the logo loads as it should.
This just started happening, and I cannot seem...
Hi there!
How do use this image:
http://h899310.devhost.se/proxy/newProxy/uplfile.png
Instead of the regular:
<input type="file" />
...
Actually in the center of current view, above all other objects.
Cross-browser and without 3rd party plugins and etc.
Via CSS or Javascript
UPDATE:
I tried to use Javascript's Sys.UI.DomElement.setLocation() but this positioning object not in absolute location but relative to it's parent.
Is there a function to put in absolute locatio...
This problem is happening for me on IE8 and Chrome which makes me think this is a standards thing.
I am creating a site with header and menu using DIVs that do not have any content but do have background images and heights / widths set in CSS. I want the inner DIV to have margin against the parent div but it applies the margin to the pa...
How can I make this input transparent?
<input type="text" class="foo">
I've tried this but it doesn't work.
background:transparent url(../img/transpSmall.png) repeat scroll 0 0;
...
I've seen many questions like this, but i can't seem to find the answer:
i have a picture with a MAX file size of 128 by 128 px
some are that size, but i also have 128*90, 60*60, 58*78 etc.
now i want to vertical align it within a div; ive seen examples with top 50% and margin -25px if it is a img with a height of 50px, but i don't kno...
I've created a design, but I'm having problems to make it work the way I need.
It would be too much to post a complete pack here, but here is the problem in short:
I have a DIV element side by side with another DIV element. One is a sidebar and the other is content.
When I put a fieldset in my content div, anything (like other divs) I pu...
I got a menu powered by SIFR like this:
<h2><a href="images/logo.jpg">IDENTIIES</a></h2><br>
I've setup the different states of the a:link style and I'd like this link to stay in another color when it has been clicked on (until another link is clicked on).
I think this has something to do with javascript, but I can't make this work.
...
Starting a new rails project and we have a well-thought-out color palette, and want to capture that in one place. I have usually kept colors in the CSS, but I find I end up with all the same color in lots of different selectors, as it shows up as a background color, color, border color, etc. I also will occassionally need access to color...
I need to assign an "active" class to my main-level navigation rendered by wordpress.
Here's my HTML:
<li><a href="/">Home</a></li>
<?php wp_list_pages('title_li=&exclude=21'); ?>
...
Hello everyone,
Sure it's a simple question, but I can't fix it, can somebody help me?
This is the original line
$('.winning-col', this).text($('td.win', this).length);
and this is where I came up with, surely not correct.
$('.winning-col', this).text.css('color', 'pink'($('td.win', this).length));
...
<div style='height:200px;'>
SOME TEXT
</div>
how do i align "SOME TEXT" at the bottom of the div using CSS without padding?
...
Is there any way to do this?
My website is http://kennethreitz.com. Its driven by some moderate PHP on top Wordpress.
My options are to detect if the user is using an iphone, and if they are either
a) tell wordpress to load a different "theme" that i have written.
b) if this isn't possible, have a different wordpress installation on ...
Consider this simple markup:
<body>
<div style="border: 2px solid navy; position:absolute; width:100%; height:100%">
</div>
</body>
In the browsers I've tested (Firefox and Chrome) the right and the bottom parts of the border seem to lie outside the window area, since they are not visible. How should I fix my markup or stylesheet so...
Hi all,
I'm trying to figure out whether blueprint css framework is good fit for me, and i encountered the following snag along the way. The problem is that I have two pre each wrapped in a div with span-12 class, but they are not displaying side by side in two columns, one wrap around the other to the bottom for some reason. the follo...
I'm a total newbie when it comes to CSS so I've pretty much given up on figuring out the problem here myself.
The problem I have is that my WebSVN installation has an odd problem related to viewing diffed files. There's some CSS that highlights the current line, but when I move my mouse up and down over the screen, the lines gets to be ...
Hi!
I'm having a problem with the padding in my form on my website.
If I've set a height/width to a form element and then adds a padding to it. In all browsers I've tried, except Firefox, the padding is added to the height/width.
If I have a input with 200 in width and 20px in height. and padding at 5 (all ways), the sum and total widt...
I tried to validate my site's CSS using the W3C CSS Validator. Unfortunately, reset-min.css from YUI framework produced parse error on the string " {*font-size:100%; ".
The validator results.
On further investigation I noticed the following error on Firefox's error console:
Warning: Expected declaration but found '*'. Skipped to ...
So the autocomplete="off" attribute is invalid HTML according to the w3c. Are there valid ways to do this in HTML, CSS or JavaScript? Or do we just have to plan on some of our forms not validating because we want to use this functionality.
...
How do I detect if a user scrolls downwards with jQuery? I want a fixed div to show only when the browser is within 300px of the top. When the user scrolls down past the 300px mark, it should disappear. When the user scrolls back to the top, it should hide. How do I do this?
...