Hello guys, I've made an application that makes full use of ajax, and what I need to do is:
I want a button with a description + image that when clicked is disabled and instead of the original image in the button, appears the ajax loading element id inside the button. And when the ajax loading is complete, the original image of the butto...
Hi,
i want to position 4 divs next to each other, at a certain position within the parent div.
So the div structure is this (i'll call the top most div the maindiv):
<div>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
</div>
now i want to set div with text '1' at the left in the maindiv
now i want to set div wi...
I've been doing some Googling, but haven't really found a straight answer. I'm curious to know if Firefox 3 has a bug when trying to apply a negative margin to a div that is either clearing a float or contains another element being floated?
Firefox seems to ignore the negative margin, but Web-kit browses respect it accordingly.
...
I just wonder where is this space between the end of the image and the end of the li's are coming from:
http://bluesys.ch/lussy/
its just a simple UL > li > img
code:
div#slider {
border: 5px solid #fff;
}
div#slider ul li {
border-bottom: 1px solid pink;
}
div#slider ul li img {
border-bottom: 1px solid green;
m...
i have following html page with UL and LI, i try to assign width to each LI but can't see cay success
<html>
<head>
<style type="text/css">
ul
{
overflow-x:hidden;
white-space:nowrap;
height: 1em;
width: 100%;
}
li
{
display:inline;
padding-right:10px;
}
...
Currently, if you click item 2, it will reveal a input box and also widen the <li>. I don't want it to alter the size of the <li> and I want it to open right beneath item 2. How can i achieve this? Also, I want to make it close on click after it's been opened, but my jQuery doesn't seem to work.
<html>
<head>
<script src="http://code.jq...
I'd looking to emulate the standard google visualization table header row behavior, but have it apply to the first column. This doesn't seem to be a built-in feature, but I'm wondering if it can be accomplished with some custom CSS?
...
I have three columns. The last two I want to make as narrow as the their contained data and the first column can take the rest of the width (table has 100% width).
How can you do this using css? Right now the columns on the right look silly with extra space. Ideas?
...
What is the best method to set cross-browser consistence typography (font-size and line height) for whole site using em for Fixed width {Width:970px}, centered website?
I usually get design from client with multiple font size and line heights at various places in design. for some good reason i still use em
without getting nested elemen...
Hi ,
I have this code in my block and i would like to have the two columns left and right . Now the 2-nd one is under the first column .
<style type="text/css">
a img{border:none;}
#planninglaunchbox
{
background:#f3f8e7;
color:#1f1f1f;
font:normal 11px Arial,sans-serif;
margin:0 10px 10px 0;...
With the following html, when I hover over child, I get a green background on parent. How can I stop that from happening? I do want the green background if I am hovering outside of the child element.
CSS3 is fine.
<style>
.parent { padding: 100px; width: 400px; height:400px; }
.parent:hover { background-color: green; }
...
Here's the situation.
I have a site where clicking hyperlinks within a certain div makes a jQuery function get the content of a div from a separate page. Because of this, the URL don't change. I need it to change as well as writing an entry in history.
My pages are setup like this (not sure this is the smartest way of going though)
a...
Using jquery I have a clicking tab mechanism that are nothing but anchor tags that return false but call javascript functions to run some events on the page. The problem is I am using jquery to apply an opacity style to the active anchor. and the other sibling anchor get a lesser opacity view. My code looks like this
$("#menutab li a")....
I have a simplr svg-graph and I'm trying to create a simple
tooltip-popup for this graph, but I'm unable to find out how to set the position
of the tooltip properly.
I have a .css where my popup-div is absolute:
#popup {
position: relative
When creating nodes in the svg I hook a listener like:
p.setAttributeNS(null,"onmousem...
hi,
what's the best way to customize html-css tooltips ? (I mean an easy cross-browser solution).
I need to reduce the fade-in delay and change the style. (also, could you suggest a good jQuery plug-in for it ?
thanks
...
I'm looking for an html/ascii character which is a triangle up and down so that I can use it as a toggle switch.
I found , and - but those have an arrow "stem". I'm looking just for the html arrow "head".
...
Why @font-face font not looks smooth in FF 3.6 but in IE7?
see this in IE7 , it will look smooth but in FF 3.6 font will look jaaaged.
http://nettuts.s3.amazonaws.com/569_fontface/fontface/index.html
...
hi, i really need to place an image somewhere in the page (100 pixels from the left side for example) but i want to control where the center of the image will be,
when i use left:100px; , the image is positioned 100px from its left edge and not from its center...
is there a way i can choose where the center of the image will be and not...
i have this problem with fieldsets... have a look at
http://i.imgur.com/IRrXB.png
is it possible to achieve what i want with css??? believe me, i tried!
as you can see on the img, i just want the look of the legend to be consistent across browsers, i want it to use the width of the fieldset no more (like chrome and ie) no less (like f...
Hi,
I'm trying to change the borders in the style sheet of the template on my blog, but I've never done anything with css so I'm a little bit at a loss... I want to keep the dark background, but I want to create a small border with a slightly different color around my postings. If my guess is correct, then I should modify some of these d...