I want to set page background image my css code is-
background:url(images/body_bg.jpg) repeat-x top;
but the image size is not as large as web page thats a thin strip only and gradient color too.so how can i repeat the image so that it will occupy whole background?As I said it is gradient so I can't hardcore the background color.
...
hey guys,
I am using this code to show latest user comments on my website - Some comments are 1 liners and others are longer.
http://jqueryfordesigners.com/demo/simple-spy.html
If you look at the source code - the height is set to 90px and overflow is set to hidden
#sidebar li {
height: 90px;
overflow: hidden;
}
Now I want...
I have an intranet page that uses #include to include other files such as rotas or phone number tables. These included files are maintained in microsoft excel.
Not all of them are maintained by me (the guy in charge of the intranet itself) so there isn't really the option to refuse to accept excel produced html files.
The problem I ha...
I think the service is great but are these few the only fonts that are available:
http://code.google.com/webfonts
?
Or are there others and if so where can I see them?
...
here my code-html
<div class="menu">
<ul>
<li class="active"><a href="index.html">HOME</a></li>
<li class="active"><a href="#">COMPANY</a></li>
<li class="active"><a href="#">SOLUTIONS</a></li>
<li class="active"><a href="#">SERVICES</a></li>
<li class="active"><a href="#">NEWS & EVENTS</a></li>
<...
First off, I would like to say that myspace is a pain. But, musicians love it, and I can make some money doing layouts for them. I overlayed a layer of .png's over myspace's original look, but need to utilize the myspace music player. So, I made a picture frame that surrounds the myspace player that has a transparent center so you can se...
Let's say i have some html code like this
<html>
<body>
<div class="container">
<div class="markup-container">
<div class="title">This is a title with some markup</div>
<div class="body">This is the body with some markup and it's longer ^^</div>
</div>
</div>
</body>
</html>
and my css looks like this
...
I am looking for a good open source professional css design layout interface to use in my web-based system. Maybe something similar to an XP classic theme.
Does anyone know such a theme?
...
Is there a one-page reference wherein it's listed which browsers support which CSS properties?
...
Hi,
I need some help sorting out a CSS issue with my website, I have tried everything I can think of but none worked the way that I wanted.
You can view the issue I have here: http://dev.michaelcarrano.com/blog.html
You will notice the tabs are floating instead of being connected to the content part below it.
Here is a link to the CS...
Why the following code results in red color rather than black ?
HTML:
<div class="error classA" att="A"></div>
CSS:
div {
width: 100px;
height: 100px;
}
[att=A].classA {
background-color: red;
}
.error {
background-color: black;
}
If I remove [att=A], it becomes black, as expected. Why is that ?
...
I have the following HTML:
<!DOCTYPE html>
<html>
<head>
<style>
#nav {
float: left;
width: 10em;
}
#nav ul {
list-style: none;
margin: 0;
padding: 0 20px;
}
#nav li {
...
You can make some cool tricks using a 24 bit PNG, which has a gradient from opaque to completely transparent. Elements sliding beneath this PNG will appear to disappear whilst fading.
Is this possible using CSS only with Google Chrome? I only have to target this browser.
I'd like to avoid a slice of 1px tall elements with varying opaci...
I have a Flash/Flex object (Flashlight-VNC), which I would like to dynamically resize to fit the entire window after pressing a button in the Flex app. This would preferably happen without restarting the Flex app (and therefore the VNC session). I would just use the built-in Flash fullscreen mode, however Adobe's somewhat silly security ...
Hi people,
I am working on this site and encountered the following problem when i opened on IE 7.
Case I am seeing default windows colours for the links. (Blue for unvisited and purple for unvisited links) because the "Use windows Colours has been enabled". I have looked at the
LoVe HAte concept too. I am not using them.
I also tried...
This is kind of hard to explain, so I'll do my best:
I want to have text content clamped to the bottom of a div - so that no matter how long the content is, it is always set to the bottom.
So if I had:
HEADER
content 1
content 2
Content 2 would be lined up about 20px from the bottom of the parent div and if I had:
HEADER
content ...
I'm working on a web project where I would like to clear text from the right and left side of a div, but give other divs the ability to float along side it. I figured the float attribute was the best way to do this, but the "clear" attribute of CSS only affects other floats, not text.
The result would look something like this (hope you...
Looking good here in the result, but I can't achieve the same in IE. Is there any workaround for this?
JsFiddle for this: http://jsfiddle.net/3f3Xa/
Many thanks for your help!
...
basically I am using jquery cycle, and it has a wrapper for the numerical navigation to navigate the slideshows.
<div id="slide_nav">
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</div>
the css is :
#slide_nav a {
background: #d5d5d5;
}
#slide_nav a.activeSlide,#slide_nav a:hover {
background: #272727;
}
then i wa...
I found some interesting URL http://cubiq.org/rotating-wheel-for-your-iphone-webapps which has rotational menu. Its good. It has html file along with images, css files etc.
In iPhone app, I copied (to root folder) all the files and imported to project. I'm using UIWebView's load request to load the html. But I'm not getting the rotatable...