Hello,
I have this CSS style that does a rounded corners for div border, but for some reason IE does not like this code.
#selector{
background-color:#DBDBDB;
margin-top:-23px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
background-color:rgba(255,255,255,0.5);
}
How can do ...
I was having trouble with two types of buttons.
It was a form button and a css button basically. And I was advised that the css button whould use display:inline-block;
This made the whole a href tag actually look like a button.
But this invisible margin seems to be screwing up something. I tried separating them into separate css classes...
Hello,
I have some CSS style that does not work in IE and that works on ff and chrome. I want to be able to use if else. But can PHP ifelse be included in the .css file for me to achieve?
[edit]
I dont want two .css files for the purpose
Thanks
Jean
...
Is there any easy way to remove all classes matching, for example,
color-*
so if I have an element:
<div id="hello" class="color-red color-brown foo bar"></div>
after removing, it would be
<div id="hello" class="foo bar"></div>
Thanks!
...
Hello All,
I would like to brighten an image on my webpage on mouseover using css or javascript.
Ive seen some examples using opacity and filters in styles but they dont seem to work for me.
Thanks in advance
CP
...
For some reason, I am not entirely sure why, but the following is not working. The background position simply stays the same on hover. I cannot figure out why. I could do it another way, but I would like to try and get to the bottom of why it does not work.
#nav a:link, #nav a:visited {
background:url(../img/nav-sprite.png) no-repe...
I can't squeeze together the lines in a Java JTextPane if I set the content-type to text/html. I would like them as close together as they are when the content-type is text/plain, the default.
The line-height, top-margin, ... CSS properties don't seem to help :(.
This is the output of my sample program, that shows that the lines do tak...
I'm using the art sexy lightbox for my pictures presentation and also for html content in joomla. I'm using the Chrome and it works fine and displays everything as it should. The problem starts when i switch to ie8.
When i click on the image to xpand in the lightbox the image displays in the center of the page while the thole frame of t...
Can u show me completed html code where it is some rectangle in it with "height=75% of my screen" and "widtht=4/3 of height". So, it should be 3:4 reсtangle where height depends of my screenheight, but width do not depends of my screenwidth. Only of screenheight.
i thought i understood previus time, but it was not so.
I have this:
<s...
There is a table on the bottom left of this screen which fits within each tab when you click on it.
It works ok in FF & IE but for some reason Safari pushes it out to the right.
http://www.yellostudio.co.uk/tm/#
Any ideas would be very much appreciated?
...
Here is a quick sketch.
I would like to achieve that images in the gallery div will be 100% of the height of the gallery div and keep the aspect ratio
AND
that images would resize as you would change the size of browser.
Is this possible?
Any help would be much appreciated.
Here is what I made so far: www.nulaena.si/photob/.
...
I have a very interesting issue with one of the websites I created. It renders fine in Safari, Chrome, Opera, FF, IE7&8 but IE6 does not seem to recognize my stylesheet. I'm not using @import for loading, so it's not a case a FOUC.
The website is using Wordpress but never had an issue like this before with WP.
I might be missing out on...
I'm keeping the main content area of the webpage small, so that footer navigation can be seen "above the fold". This is done by javascript setting the main content <div> thus:
sec.style.height = '265px';
sec.style.overflow = 'hidden';
And then using javascript to insert a button to change the style back to normal:
sec.style.height = ...
I'm developing an offline web app that (for now) only targets Safari on the iPhone/iPod. Mostly for fun, but also as a way to lessen my dependency on jQuery event bindings (and thereby hopefully speed up UI responsiveness), I tried substituting some CSS3 for basic show/hide functionality.
The following code is a simplified example that ...
How to make maintenance document for a website? I've created a site using XHTML ,CSS, jQuery etc. it's big site.
Now i have to write a maintenance document for a site for if any changes comes in future related to design, content and functionality then those things will be handled by someone else.
How and what should i keep in maintenan...
Hi, i'm using this
sIFR.replace(neutra, {
selector: '#nav li',
css:[ 'a { color: #ffffff; text-decoration:none; font-size:14px} a:hover { color: #d75a60; text-decoration:underline;}'],
wmode: 'transparent', preventWrap: true ,forceWidth: true ,fitExactly: true ,forceSingleLine: true ,offsetTop: 0 ,offsetLeft: 0 ,tuneWidth: 0 ,tune...
where can I find elegant looking Wordpress (or not Wordpress, but similar style) themes in plain HTML/CSS format, without all the php?
thanks.
...
I am trying to set the font-weight for an element based on the font that gets chosen. For example, I may be trying to do something like this:
h1 {
font-family: Arial Narrow, Impact, sans-serif;
font-weight: ?;
}
Let's say I want the font-weight to be "bold" if the user has Arial Narrow installed on their system, but "normal" i...
I have a html/css based menu and I'm trying to put a flash video in the banner right under it, but when I hover the dropdown section of the menu it ends up behind it.
Is this a z-index problem or do I need to set certain properties on the flash video?
...
As a web developer I frequently will have two floated (child) divs inside of another (parent) div. Actually I do this all day long.
<style type="text/css">
#left {float:left;}
#right {float:right;}
</style>
<div id="parent">
<div id="left" class="child"> </div>
<div id="right" class="child"> </div>
</div>
Thi...