Hi all, I have the following styles in my CSS:
.on_focus {
background-color:yellow;
}
.off_focus {
background-color:white;
}
Then I have this input in my form:
<label>Last Name</label><br/>
<input id="l_name" class="text" type="text" name="l_name" maxlength="20" onfocus="this.className='on_focus'" onbl...
I require 2 overlapping divs, which look like the one below.
------------------------------------
| | |
| ------------------ | |
| ' '| |
| ' '| |
| ' '| |
| ' '...
Hi,
I'm in the middle of designing http://www.vanessacaroline.com and in need of a bit of CSS assistance. If your current screen resolution doesn't make the problem obvious, try re-sizing the window so that the sample 2-column layout would push the footer--most simply demonstrated by grabbing your browser window's bottom edge, and drag...
i noticed an issue when using LESS CSS with font shorthand
.font(@weight: 300, @size: 22px, @height: 32px) {
font: @weight @size/@height "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
}
the above fails with
this.a.toCSS is not a function
http://localhost/tumblr/modern1/css/style.less on line 1, column 0:
1. @hi...
i have a problem..my tabs name show too big i want it shows as a default...
i put this script at <head>..
<style type="text/css">
{ font-family: Verdana; font-size:40%; }
label { width: 15em; float: left; }
label.error {display: none; float: none; color: red; padding-left: .5em; vertical-a...
Hi,
I can't recall what the process is called but I need a means of creating like a hotspot zone on a web page, so that, when the user hovers there mouse pointer over this zone, the cursor changes to a pointer, which will then allow the user to go to a particular site.
Pls note that I am not referring to a simple anchor tag around an i...
Hi,
is it possible to make CSS Sprites technique work well with background repeat? Thanks!c
...
I have a website where the background has a light gradient (light gray from top to white on the bottom). When I place an image with a transparent background on the website, the background of the image picks the top color of the gradient. So instead of the image's background appearing to be a gradient as well and blending in with the site...
Hi All,
Am developing a web app and creating few screens for it. I want to concentrate on the login and the server side code for now so I just have the bare minimum html required to display the data.
But it looks ugly. Are there any free text only stylesheets that I can just include and it will look decent. I plan to work on the desig...
I have looked at many of the other questions but I think my problem is a bit different, and if I am wrong, I'd be happy to see the link and close this question.
You can see my problem here:
http://www.phoenixdev.net/test.html
The first sub-section's right border does not go all the way down -- I need it to or else it looks rather funky...
hi,
how can I load a css file only for Safari browser ?
I usually use just this (without javascript)
<!--[if IE 8]>
<link href="ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->
for internet explorer 8.
Thanks
...
Hi everyone,
I implement the Eric Meyer's reset.css in my website, and works great, but it was a little problem, as this a CMS users are free to format the content of their articles as they want and the reset css resets the formating of their text.
Any ideas how we can prevent reset.css inheritance to propagate to the dynamic content?
...
when I zoom-in, zoom-out my web page the position of all divs and items get disturbed.and when I again reset zoom to 100% it comes fine.Even this problem comes when open the same page in big screen laptop.How can I fix the div position.some of my css code-
/* hbg */
.hbg {
background-color:transparent;
float:left;
margin:2px 0 0 45px;...
Which is the correct way to specify a hover/focus/visited state on a link which has a class?
a:focus.class{}
or
a.class:focus{}
Both seem to work, just wondered which is considered the right way.
...
Hi all.
I'm trying to develop a header area which expands past the usual 960px wide container, without using a background image, my reason for this is because an <img> tag would work better in my case.
My problem is, if i place my image in the container, such as this code example:
<style>
#container {
width: 960px;
ma...
i want to make a div click able and inside this i have another div and this also should be click able or link.
html is
<a href="#"><div class="box">
<div class="plus"><img src="aaa.jpg"/></div>
</div></a>
css
.box{
float:left;
width:100px;
height:100px;
}
.plus{
float:left;
width:30px;
height:30px;
}
c...
I am fixing bugs for IE7 and this one has me stumped. The content in this page is larger than its containing div. IE7 is properly displaying a vertical scroll bar but the content is getting on top of the vertical scroll bar and when the user clicks the scroll button the content doesn't move. I can't imagine what is causing this. Any Idea...
i know, that two elements can't hav the same id. But it's happens so, that in my project i have two elements with same id in other divs, like this
<div id="div1">
<img id="loading" />
</div>
<div id="div2">
<img id="loading" />
</div>
and css:
#div1 #loading
{
some style here...
}
#div2 #loading
{
another style here...
I've played with a lot of useful tools like HAML and LESS that gives CSS the capability of creating variables. I'm wondering why this feature wasn't included when CSS started. Is it too redundant or is not really necessary for some reason?
...
hi,
I am new to phonegap and android , i wanted to know how to access/make database through
javascript. and the second thing i want to ask is how to make Graphs just using html, css and javascript.
Every information is thankfully accepted.
...