This is probably really easy for most of you. But I'm in need of a small snippet that looks up the current height of a div (the div has a dynamic height based on the content inside it)
and then set that value in the css class's min-height value.
Basically what this means is that I want this container to have it's min-height to be the ex...
Hi,
I need to produce a very simple website (no dynamic-content, 2-columns, header&footer) and I have a basic knowledge of xhtml/css/php.
So I could probably come with something from scratch, but it would probably won't work in "all" browsers.
I've done some googling, but it's difficult for me to evaluate the quality of the "free temp...
Is there anyway we can right-align a control/set of controls in a page?
I am using BlueprintCSS framework in asp.net
Thanks,
Sashidhar Kokku
...
We have an ASP.NET 3.5 application that has been in production for over a year. Our last release was a couple of months ago. We use CSS for styling and application of background images to divs and such. The server is Windows 2003 with IIS.
Suddenly, this week, we have had reports from some users that the page seems to hang up while l...
How do you set the color of the button using a stylesheet?
...
I have created a theme where I already have a custom options page where I let the user set text for footer, twitter user and some other things and that works well.
Now i'd like to add the functionality of letting the user that installed the theme select which font that should be used for content on the site. How can i accomplish this? I ...
How long will a browser remember a "a:visited" link? Assuming the method isn't uniform across browsers - an answer for any individual browser (or as many as you know) would be helpful.
Also, under which type of memory is it stored? "Web History"? Cache?
...
font:0.5em Georgia,"Times New Roman",Sans-Serif;
What does this mean when someone sets 3 different fonts? Also what is the em mean?
Update: Does the double quotations around Times New Roman mean it is telling CSS to use this first?
...
How do I get this form input to be stored in a variable, that I can then use later - rather than being appended to the end of the URL?
<script type="text/javascript">
$(function() {
var tag_box = $("<div>").appendTo("body").css({
"width": "40px",
"height":"40px",
...
What are cons to use custom fonts techniques compare to web safe fonts? in terms of
site performance,
site maintainability,
Development time
screen readers users,
mobile users,
low speed users
Sighted User experience
...
Are all fonts size would be same with same value?
for example p { font-family:Arial; font-size:12px}
if i change Arial to any other font then will all fonts will render in same size as Arial render in 12px, in all browser?
...
Hello, quick question. I am trying to use either javascript, jquery, or php to make it so when I click a link, it replaces a static image on my page with another image, for 15 seconds, then reverts back to the original image. What would be the best way to go about this?
...
I want to create a webpage with transparent background, a table and some text. I have seen posts related to this, but due to my lack of familiarity with css, I somehow cant get my code to work. I just want a transparent background, while this code is making everything transparent. Can someone kindly help.
<html>
<head><style type="text/...
So I am trying to add an icon to an image, once someone has 'tagged' a portion of the image - i.e. they have submitted the form.
How do I do that in jQuery?
Just to be clear...imagine you are on flickr and you see an image. You want to add an annotation, you click on the image where you want, and it shows you a form field. You enter th...
We know how to use CSS to show only part of an image within a div (i.e., image sprites), but the image has to be a background image.
We know how to use CSS to scale an image, but the image has to be an IMG.
Does anyone know of a way to scale and image and show only part of it?
For example, I want to:
show pixels (15,15) through (100...
just wondering if anyone knows anything of using javascript to set html to new content instead of linking to new pages, if this is generally a bad idea or if it kind of hurts SEO(which im kind of new to)
Basically the home page displays given content, and the links to like contact pages and stuff, just change the body content to what wo...
Are there any example of CSS hacks which were working before new version or patch released?
Is it ever happened?
mainly i want to know for IE, but would like to know cases of other browsers also.
my question is not about "CSS hacks vs IE conditional css"
...
I am setting all inputs to a 100% width via CSS. However, checkboxes are center aligned for some reason.
Anyway to counter this?
I don't want to have to use attribute selection via css since they're not fully supported.
...
Hi
I m using jquery ui tabs
and i m using them with the function of dynamically closing them.
the example page here where clicking on the link 'add tab' leads to
adding of tabs in the tabs panel...
now in firefox the close buttons are displayed beneath the text of the tab
which is leading to garbled text in the tab panel or the bod...
I want to declare a link without any content, instead I want to use a background image for it. But I can see the background only when I put something between <a></a> tags. How can I solve it?
...