What's the difference between the space and > selectors? And possibly related, how can I look for something that's the direct child of something else, and not lower down the descendant line?
...
I use the following code on my page:
<div id="itemstable" class="item_type1">
...other divs here...
</div>
And in my CSS file I have this code:
.item_type1 div {
background-image: url(images/type1.giff);
}
the problem is there are a lot of different item types so I will need to have a lot of lines in my CSS file. I was wonderin...
Hi everyone,
I have table with 2 rows and 2 collumns,
<table>
<tr>
<td>
<form>
<span class="descriptionsPizza">EXTRA CHEESE</span>
<input name="minus1" type="button" class="button minus" id="minus1" value=" - " />
<input name="textfield1" type="text" id="textfield1" class="valfield" size="2" maxlength="2" value="0" />
...
I have this website here http://www.innovie.com/morgan
If I use PC, I can drag and change volume on top left just fine. But if I use Mac OSX, either Safari or Firefox, I cannot drag the volume in the Flash, although I can see the mouse turn into pointer. Can someone help on why?
Where is the SWF: h**p://www.innovie.com/morgan/sound.swf
...
Hi all,
i have many fields in my form i was trying to apply different css to neighbour forms fields like
<li class='thiscolor' >
<field>
</li>
<li class='thatcolor' >
<field>
</li>
if there a way like
{% for field in form %}
**{% if forloop.counter%2 == 0 %}**
<li class='thiscolor'>
{% else%}
<li class='thatcolo...
My website doesn't seem to display any element or content when viewed on IE even though source code is viewable, but on firefox and chrome it loads fine. What is up???
http://uber-upload.com
I don't remember ever trying to load my website with IE, so i can't confirm if it ever has worked with IE. Please help me debug =/. WADAFA!??! Tha...
Here a short test to demonstrate my problem. I have a page that loads an iframe:
<html>
<head>
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
</head>
<body>
<iframe id="iframe" src="box.html" style="width: 100px; height: 100px"></iframe>
...
I'm writing a firefox extension which displays a statusbarpanel containing some text. I want to change the background color of my statusbarpanel depending on the message. e.g. red background for errors.
var pnl = document.getElementById("panelId");
pnl.label = "OK";
pnl.style.color = "white";
pnl.style.backgroundColor = "green";
All o...
for example:
.Title
{
color:red;
rounded:true;
}
.Caption
{
color:black;
rounded:true;
}
how to select by property named "rounded"?
css class name very flexible.
$(".Title").corner();
$(".Caption").corner();
How to replace this 2 operation to one operation. Maybe like this:
$(".*->rounded").corner();
this seems stupid to ...
I am creating a page that uses AJAX to switch content, and each of the 5 pages have their own background colour.
Changing the page, makes the current background animate to the new one. I have 24bit PNGs with alpha transparency which overlay the background colours changing (it works alright).
There is however, one small problem. On occa...
I am using PHP. I have some articles stored in MySQL and they all have some style (like with some css or tags). Now I have to add some links to some text randomly and automatically. This means I have to add links to the text and make sure the links do not break the style.
I think the most difficult part is how to add links but not to ...
I have one table which display data as from Dynamic Content, I want to make table width 100% when there is 6 cols. and table width auto if less the 5 cols.
I tried with CSS but, when there is only two cols , it expand two cols to full width while have table 100% width and looks awkward.
Is there any Javascript , jQuery script available...
What if i combine all the CSS of the complete site into a single file.
would it be cached by the browser or be reloaded every single time a new page is opened.
the single css file contains different values for different pages.
should i divide the css for different pages or keep it in a single file?
...
Is it possible to have a div center aligned (ie) always i need to have the div in bottom center with fixed position in a specified width. I know to have it left or right? is there is any way?
...
This is my code for a nice looking form:
<dl>
<dt class='breed'><label for="nwberichten">Fieldname</label></dt>
<dd>
Input
</dd>
<div class='clear'> </div>
</dl>
<dl class='oe'>
<dt class='breed'><label for="nwberichten">Fieldname</label></dt>
<dd>
Input
</dd>
<div class...
The site I work on has a lot of images that contain text. This includes buttons and navigation.
To support localization I include 2 css-files. One that has non language specific properties (font, colour ...) and one that has language specific properties. There is only 1 language specific file served to the user depending on his choosen ...
Hi there
I have a centered div on my site, using a fixed width and margin:0 auto;
All looks fine in IE, but on FF, for the pages with long content, only the top part of the div has the proper div color, and the rest has the body background color.
what I'm doing wrong?
many thx
...
I'm trying to make dynamic text scroll on the page. I want it to scroll on a curved and angled surface just for design sake. Will I have to use flash for this? Because I'd rather not.
...
We've began testing our site in different browser and all of them work fine, except Safari (Mac & windows).
Edit: Removed url!
On our page. The image doesn't float right, and the preface text is not bold. If I add
style="float: right;"
and
style="font-weight: bold;"
it works in Safari.
The CSS for these elements are:
.artic...
I've grown dependent on the 'Cnt-K;C' shortcut available to most all MS dev apps. But VS is not inserting comment marks for .css files. Works for HTML, why not CSS?
thx
...