I have these three DIVS - one red, one blue and one containing an image.
I set the red div to the upper left at 0,0, and the blue div to the upper left at 0,111. The image div is also positioned in the upper left at 0,0 and stretches across the red and blue divs because the image it contains is transparent and I want the blue and red o...
In order to set a div containing a transparent text image as the highest z-index in my document, I picked the number 10,000 and it solved my problem.
Previously I had guessed with the number 3 but it had no effect.
So, is there a more scientific way of figuring out what z-index is higher than that of all of your other elements?
I trie...
I want to set the border of a table to be "1px solid black" except on the bottom, where I want to use an image which provides a pointer into the link - as a visual aid.
Is it possible to set an image as the bottom border when the other borders are regular css.
...
Hi,
I'm using fb:serverfbml to render an fb:request-form for an iPhone-based web-app, and I'm having some major rendering issues.
fb:serverfbml does not seem to respect widths when rendered in mobile Safari; it renders the fb:serverfbml as if it had a width of around 1000px. This causes my pages which have a viewport size of 320 to sud...
I have this extremely simple splash page here: http://iph0wnz.com
It has the main graphic in the middle, followed by my 'a.' logo at the bottom right. I want that logo to be aligned to the bottom right hand of the entire page, which means that if there is a lot of text content in the page, it appears after all that (i.e. it doesn't hove...
Consider a table with three rows with heights 10, *, 10. I'd like the middle cell to be high enough to fit to the page vertically. Unfortunately "height:100%" doesn't work at table, tr, or td level, possibly due to standards. Even if it happens to work, I don't want 100%, I want 100% of clientHeight-20px :) I can always write script to c...
i created a carousel in jquery
that slides an item or set of items up or down.
the demo page i created uses 1 item per page/slide/visible section...
but its not that hard to expand it to 2 or 3...
it has some other features that i embedded, but those are not important for this question.
using the carousel in Internet Explorer 6 or 7 ...
W3 specifies that only four CSS rules are allowed for table columns (with the <col> element) - border, background, width and visibility.
Does anyone know the reasons behind this decision? If you can have borders and backgrounds, why not fonts and colours?
...
We have several massive CSS files that just kept growing over the years whenever new elements were added to our system as well as JSP pages (which further include other JSP pages and so on) that reference these files.
We know that we have many rules that are no longer used and many that are redundant.
New tools just keep coming out. ...
We're using -ms-filter (used to be filter) to create a transparent grey div covering the page while a modal popup is displayed. It works as expected on most pages, but a certain query returns a large amount of data, and the filter doesn't apply. If I change the other CSS attributes for width and height to 50% instead of 100%, the filter...
I have a page where I need a piece of text to appear aligned to the upper left of an absolutely positioned element (a span, if it matters), and a button to appear aligned to the upper right of the same element. edit: Problem with this is even when I use float: right; and display: inline; the button still likes to drop the next line.
Cu...
Hi All,
I have a question about the priority of CSS classes after encountering a problem today. The situation is as follows:
I have an unordered list which has a class associated with it. The LI tags has some styles defined too. I want to change the styling of the LIs after a click (a "selected" class) but the added class's styles are...
Consider:
p {
...
}
.foo {
...
}
#bar {
...
}
What is the correct name for these statements in CSS? I've seen them called selectors, rules or rulesets, but which is correct?
...
Hello!
Is there a way to make some CSS rules visible only for Opera (9.5 +)?
Thank you!
...
I have a repeater of div's that look a little bit like this:
<div class="header_div">
<!-- Content -->
</div>
I want to have the background color of the divs change based on a dynamic property of the content of the div (lets call it the category), but I still want the "header_div" style to be assgined in cases where I dont have a ...
did a search but it brought a ton of results but not any that actually suggests a book
Anyways, trying to learn website design this summer. So i registered a free site. I want to have a good source that i can read along while working on this site...
So what are some good books (available online) for html?
...
I want to create a CSS/JS accordion menu, with HTML like so:
<ul>
<li><a href="#">First Link</a>
<ul>
<li><a href="#">Child One</a></li>
<li><a href="#">Child Two</a></li>
</ul>
</li>
<li><a href="#">Second Link</a></li>
<li><a href="#">Third Link</a></li>
</ul>
The nav structur...
What are your tricks on getting the caching part of web application just right?
Make the expiry date too long and we'll have a lot of stale caches, too short and we risk the servers overloaded with unnecessary requests.
How to make sure that all changes will refresh all cache?
How to embed SVN revision into code/url?
Does having mult...
Hello everyone,
Any style for INPUT affects every input element, is there a way to specify styling to apply for only CHECK BOXES without applying a class to the check box element?
thank you.
...
Hello!
I installed the latest version of Wordpress and added the WP-Syntax plugin (and also the Markdown Extra plugin, but I think it's unrelated to this issue).
It works perfectly with both themes that ship with Wordpress: looking good using WordPress Default 1.6 and looking equally good with the WordPress Classic 1.5 theme.
However ...