A friend gave me a solution that uses this jquery code:
.css({ backgroundColor: '#ddd' })
Instead, i'd like to use a background image. How do I change the jquery code to do that?
I'm wanting to do something like
.css({ backgroundImg: 'images/newsletter-dropdown.jpg' })
Thanks!
...
I have three menus on this test web site. I am learning css and trying menu2 & menu3 to inherit all properties from menu class. The second one looks bit different and is not clickable. I am happy with the 3rd one, just want to make it horizontal and change its position bit.
Could somebody tell me
why the second menu is not click-able?...
I have an image on the left hand side and text on right side. Like two column layout.
I want that when i scroll the text then the image should stay at center of page.
I tried using
position:fixed
But then the problem, sometimes when i resize the IE window to small size then the image stay at same position and it comes out of the ma...
Is it possible to control lenght and distance between dashed line strokes in CSS?
...
How to make this type of image popping out of box using XHTML css. without using whole box along with image as a background
Only globe image will be image.
...
default condition
After clicking on Sitemap link
How to write HTML to get footer links after the sitemap tree upon clicking on Sitemap link?
...
Hi
I am currently rebuilding a website that uses a table layout and want it to make it with layers and css.
The problem I am having is with the header. The header is currently a table at 100% width with 3 cells.
[left frame][logo 800px][rightframe]
<table border="0" width="100%" height="600" cellpadding="0" cellspacing="0">
<tr>
...
hello, I've got one problem...
I created table(with one row and one column) for my site and then I put background for table using CSS where I defined image, after that I try to create in the first table another table with 3 rows, Dreamweaver doesn't allow me to do it, it puts new table after first, how can I solve this problem, thanks i...
Hi
I would like to view a gallery of images via Lightbox (or something similiar). The only problem is I need to display the image set in the viewer from a hyperlink rather than displaying thumbnails of the image set.
Does anyone know if this is possible; if so could you point me in the right direction.
EDIT:
I've edited this, to hope...
Hi, is there a way with css or js to show the scrollbar of an element on the left instead of on the right? i don't need a crossbrowser way i need it only on Firefox.
...
Here is the structure of the content, I want to select all LI except the first two (ie no-link)
jQuery(document).ready(function(){
var nosubnav = jQuery('.first-level li:not(:has(ul))');
var nosubnavsize = jQuery('.first-level li:not(:has(ul))').size();
jQuery(nosubnav).css('border' , '1px solid red');
alert('List item which do...
I've got a web page with an applet inside. This applet is a drop target on a drag and drop action from the OS, I simply take an image from a folder, drag it on the applet and something happens.
I give this webpage to a graphic designer and he ask to if he can put an image behind the java applet so he can simulate to change the backgroun...
I have a problem with displaying a set height in ie.
In my css I have set a height for my sidebar div as 2150px; which it displays fine in firefox but does not display the full height in ie.
How can I get ie to display the height I have set in ie?
Thanks in advance
The source code is below
#sidebar_newspr{
width:160px;
min-heig...
I need to hide an element on the page using greasemonkey before it loads (so that it's never visible).
At the moment I'm @requireing jQuery 1.3.2 which I'm reasonably familiar with, but I'm unsure how it interacts with greasemonkey so I don't know how to pull this off!
Many thanks,
JP
...
Is there a one fix solution for all IE6 problems? One HTC/jQuery file that fixes IE6 problems like PNG, background position, hover, (even) rounded corners...
I'm just too tired to look for all fixes, test them and put them in separately.
...
Hello,
I would like some help with my three column layout.
I am not satisfied with the behaviour off the right column, because it effects the center column if the browser is not maximized.
The right column needs to get smaller if the browser is made smaller, and not directly clip the center column.
I got the css from this website an...
I wonder if on any browser div element comes with a preset margin/padding value other than zero. As far as I know, div and span come with zero padding and margin values by standard to make them suitable canvas for style decoration.
Even better, is there a definite standard for default styles for all elements that is cross-browser which...
What is the best way (using HTML/CSS) to create an iTunes-style layout with the following features:
a left column with a fixed width but
fluid height (scrollbars for
overflow) (BLUE below)
a main content column with
fluid width and height (scrollbars for overflow) (RED below)
a bottom right
box with fixed width and height which
remains...
Hi folks,
Quick question. I want to change the color of an int based on the value being positive or negative, using css if possible.
Any ideas??
Thanks again!
...
Hi, I have a web page that has several divs embedded and I'm having a problem when a table has too many rows; when it does, the containing div falls short and bottom ones are displayed on top of the background instead.
Any hints on how to troubleshoot this ? I've tried setting several attributes to the different divs with no luck?
Than...