OK, I have my site going pretty well here: http://www.marioplanet.com
But I've realized that if the end-user's monitor is big enough to display the animation on the sides of the pages (which mostly every desktop's monitor and some laptop's can) than I believe my main content would look better with a little red / black border, and some ...
For the life of me I can't figure this one out. I have a page that the user needs to print. I have the print styles set up perfectly except for one bug... There is a table that sometimes doesn't print. Has anyone seen this before??
Could it be possible that the page was printed before the stylesheets are loaded?
Any ideas are welco...
Hello. Can anyone explain how to align a footer div to the bottom of the page. From the examples I've seen, they all show how to make the div stay visible at the bottom, no matter where you've scrolled the page. Although I don't want it like that. I want it fixed at the bottom of the page, so it doesn't move. Appreciate the help!
...
I've heard a lot about the importance of using sprites in order to get your request count down. But my thinking is that rather than use sprites, you can use URIs to accomplish the same thing, and much easier (no sprite creation needed).
Is it better to use sprites or uris?
...
I'm having a few problems trying to position some divs in my website layout. All of them is related to the div's size. I'm using Chrome's developer tools to inspect the divs and when I mouse over some divs it is just 1px-high, but it has content inside and its content has some height. Shouldn't it have at least the same height of its con...
I'm making a fancy button that has hover and click effects.
The button looks something like:
<a class="redB">
<span class="a"> </span>
<span class="b">Email Us</span>
<span class="c"> </span>
</a>
My problem is in trying to access the three span elements in my css like this:
.redB:active span.a{background-position:0 -432...
Since I have a panning ` element do to a jQuery spritely plugin method which I'm calling to pan some Super Mario Bros backgrounds, it appears to increase the page length quite a bit.
If you visit http://www.marioplanet.com you will notice that there 3 different panning backgrounds. With only 2, there isn't enough to fill the entire hei...
James Padolsey's and ahaxe's jquery scripts are two very good instances on autogrowing form fields.
Likewise, autosize can be accomplished in a number of ways using Javascript.
But, just wondering, is there anyway to do any kind of autosize or autogrow with CSS only? I don't know CSS deep enough, so you know, with all those pseudo-clas...
Hello!
If I do this:
*{padding:0}
div#myDiv{padding:10px;}
Will that behave like any normal styling in CSS with the last style applied overriding others? i.e. The element with the myDiv ID will have 10px padding? Or do I have to specify !important?
Will this work on all popular browsers?
Thank you!
...
Hello. I have problem with a css menu. It is correct on firefox,chrome,opera,safari and ie8. But not on ie7. You can find the menu here. You can see that every li in the submenu is not shown correctly, it breaks below it. How can I fix it? (I hate ie...).
Thanks in advanced.
...
How can I make a full page background image and not have it stretched (something like this)?
<html>
<style>
html, body {height:100%;}
#background {
min-height:100%;
min-width:1024px;
width:100%;
height:auto;
position:fixed;
top:0;
left:0;
z-index:-1;
}
@media screen and (max-width: 1...
How can I create a menu which only its background is transparent? The text should keep opaque (opacity: 1)
If I set
li:hover {
opacity: 0.5
}
The whole list item becomes transparent. How do I fix that?
...
For some reason, when I implement the border-left: 10px solid #FF0000 css style for my left column, and the border-right: 10px solid #FF0000 for my right column, for some reason, it throws everything off...
Anyone know why?
...
Okay. So I've got a a little jQuery gallery scroller I wrote to work with WordPress. It works beautifully in Firefox, but it doesn't work in Chrome or Safari.
Here's the link:
http://thehousinggroup.info/our-gallery/bathroom-renovations/gallery-1/
Here's the jQuery:
var imageQuantity = $('.galleryBox img').size() //finds the nu...
I'm working on get my site validated in an attempt to iron out issues with it showing up incorrectly on IE, and I'm getting an error: document type does not allow element "script" here. It's from me placing the <script> tag within the <select> tag on the javascript drop down menu form I have.
Is there any way to get this validated? Or a...
Hello People,
I tried all sticky footer CCS examples. All of them work fine. However, I have an issue. Suppose I have this:
<div id="wrap">
<div id="bodyleft">left</div>
<div id="bodyright">right</div>
<div id="footer">footer</div>
</div>
So, if I have height 100% for #bodyleft, the border will not extend to the end of the view...
hi all,
i know this question has been asked several times but i couldn't find a satisfying, x-browser solution yet :(
i thought the easiest way to acomplish a scrollable table with fixed header should be using 2 tables:
(1 for header, 1 for the content) and kinda sync them. i've tried that but there's always slight glitches in the layo...
I am still trying to get sprites to work right, and continue to be confused, since I can't seem to find an example matching what I want. Basically I have a series of 16x16 icons that need to go in row. I don't seem to be able to find the right element to use and set the background image on.
I have tried divs, and they work in block mode...
Hi,
I having been running into some strange problems with a webpage that I have designed. For some reason, when you click inside the text input box, it doesn't place the pointer inside and doesn't allow you to type inside the text input box. Here is the URL of the page:
http://worldrunningleague.com/iphone/login.php
I've poured over the ...
Hi all,
Fairly new to jQuery and JavaScript in general. I mocked up an example of my problem at http://jsbin.com/alibi3/2/ - with an explanation below.
I have a div that, after a user scrolls past a certain point on the page, is assigned a class of "fixed" so it follows the user down the page. This works fine on its own.
Problem is, t...