Hello there I try to move down some pixels an image I just centered, bhut it doesn't seem to happen!
Here is the code I have used so far...
.fearless{
display: block;
margin-left: auto;
margin-right: auto;
}
<img src="/toKoritsi/images/fearlessgirl.jpg" alt="fearless Girl" class="fearless"/>
can anybody show me a p...
I can't figure out why my background images in my absolutely positioned divs aren't displaying. I'm using firefox, but also in Chrome.
Pariticularly odd is that when viewing the page with the web developer toolbar's Edit CSS dialogue open, the images appear.
The images in question are a div with an id of "joel-image" and the nav item...
I'm creating an inset border effect between paragraphs by using a light border as the border-top on the paragraphs, and a dark border as the border bottom on them.
I'm trying to use p:first-child to remove the top border on the first paragraph, and p:last-child to remove the border on the bottom one. (they have a class of "intro" fyi).
...
I'm trying to implement parsing of CSS in JavaScript so that:
a {
color: red;
}
is parsed into the object:
{
'a' {
'color': 'red'
}
}
First off, is there a JavaScript / jQuery library I can use?
My implementation is pretty basic, so I'm sure it is not fool-proof by any means. For example, it works fine for basic CSS, but...
I have list items that displayed inline.
I want to align them vertically inside the green div.
<div id="topMenu" class="topMenu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Documents</a></li>
<li><a href="#">Articles</a></li>
<li><a href="#">Info</a></li>
</ul>
</div>
.topMenu ...
I want to build instant messaging notification on my ASP.NET MVC (C#) web aplication. Any example for that or some other way to learn how to do this? I want something like a facebook mailing system.
...
Hi, I am trying to move my blog title up a little higher. If you will look at my blog you will see that the title & subtitle are too far down.
http://www.melissavenable.blogspot.com
The title (Little Mrs. Married) should be in the turquoise area above the pink line & the subtitle (some things...) should be right under the pink line, ...
Hey,
My site is showing up fine in IE8/FF/Chrome but I can't figure out how to make it function with IE.
The relevant CSS:
#maincontent {
display: table;
}
#content {
display: table-cell;
width: 620px;
padding-left:4%;
padding-right: 22px;
padding-bottom:15px;
}
#sidebar {
display: table-cell;
width...
Hi
Does anyone know a website where you can paste some code and it generates highlighted source code? As HTML, like Geshi, with span tags with color styles on them?
...
I want to show different css files depending on browser that user is using. I want to do this on JS and on client side.
I am using code like this.
<script language="javascript" type="text/javascript">
if ((navigator.userAgent.indexOf("MSIE")) >= "0"){
document.write("<link rel=\"stylesheet\" href=\"css/common.IE.css\" type=\"text/...
i have scrollbars using the jScrollPane plugin for jQuery.
the scrollbar works, all content is with ajax, so for every 'page' load, i add the re-initialization of the scrollbars
but when content is shorter than the page, the scrollbars are not visible.
this results in 10px extra space for the content, and that is annoying with items usi...
Possible Duplicate:
GWT theme style overrides my css style
What should I do to prevent GWT from using its theme and totally use the CSS that I specify?
...
Weird question I think its more of I am not sure what it is called. But I have an img wrapped in an link
example
...<li>
<a href="#link">
<img ...>
</a>
</li> .....
Now I have the css border rules all to 0. So their is no Blue border. But in Firefox their seems to be a pink mini dashed border only when I click on the image? ...
how can I implement the "enlightening" effect, I can see in the "Tags" section in this website ?
http://dribbble.com/shots/37765-Walken-on-Water-Halfsies?list=index
I would like to not just change color (gray to white) of the background, but to progressively make the button lighter and lighter.
thanks
...
Hello everyone ... I'm working on this project, each page has a different background image for it. The images are pretty tall and not all pages have enough content to increase the height of the page. So is there a way to set a minimum height for the page depending on the height of the background image ??
Thanks
...
Hi, i made myself a Speed Dial-like homepage with links I visit the most.
Now, i made it elastic, so when browser window is narrowed horizontally, the boxes getting narrower too.
What I want is that when browser window is narrowed vertically, that boxes get narrower again.
I tried with several percentage height rules but it didn't wo...
I've created a blog main page using PHP and have included a sidebar and main area for the posts. When I add any more content to either the sidebar or the main content/posts area the content expands over the main div and the main div doesn't expand. How can I go about creating a div tag that will expand according to the content in the inn...
How can I get the actual text of a stylesheet using JS?
The cssRules property only returns those rules that it recognizes.
eg. I would like to change -webkit-border-radius to -moz-border-radius.
Or do some JS wizardry to any element who's style contains myTrigger:true;
(Do NOT lecture me on principal.)
Cycling through document.styles...
is such css library that i can use rather than have to manually use special tag for each browsers like below ?
-moz-linear-gradient
-webkit-gradient
-ms-filter: "progid:DXImageTransform.Microsoft.gradient
...
Hi,
i use the following to to set the text content of an css element
var cell = document.createElement('li');
cell.textContent = this.labelForIndex(index);
Now i want to set the back-ground image and color.....how to do it??
...