Say I have the following DIVs:
<div id="top">Page header</div>
<div id="main">Main content</div>
<div id="sidebar">Sidebar content</div>
<div id="bottom">Page footer</div>
How can I use CSS to place the sidebar DIV to the right of the main DIV, and set it to, say, 20% of the total width?
I'd also like to have some margins between the...
On the site I am developing, I have a file input that users can upload files from. It uses "Ajax" (not really) to send the file to a php file that is bound to an iframe. My question is that Firefox automatically fills in the file input element. Is there a way I can give users the option of clicking the submit button without sending the f...
I am looking for character which could replace image icon, for example like ✘ (xmark) and ✔ (tick), maybe some symbol to "draft" or "new message"?
EDIT:
Fav: ❤
Draft: ✍
Message: ✉
...
hey there :-)
Okay, i have a job to do before tomorrow morning..
i'm working on some jquery.
Where i load some external file data..
What i really want to know, is how am i going to load some data when i $.post / or $.get some data through jquery
Send request into jquery <a href="javascript:;" onclick="$.view.load('prices');">hey ...
Why is <form encrtype=multipart/form-data> required when uploading a file to a web-server.
...
We have two images with transparent sections that each have a map and separately they work fine. When the images are overlapped using css position relative and absolute only the top map seems to work. Is there some way to make both maps work?
Edit:
We are only concerned with working in Mozilla and the w3 standard so no IE workarounds ar...
Hi All,
I am working in Mojo SDK which is used to develop Apps for Palm Pre webOS.
I am trying to add an image to the background of the div dynamically and fade it out. I am using the following code to set background of the div dynamically:
this.controller.get("imageDiv").backgroundImage = "url(../images/marks/mark-" + this.markNo + "...
I have tried several incarnations of the overflow attribute in the div's style. None work for IE!
Really, I am typing into a texbox and using javascript to render the html in div of equal porportions while I type. I use mydiv.innerHTML = txt; to populate the div. But the hortizontal scroll bar keeps appearing.
...
Is there away to set a background image on a webpage when the webpage is based on a masterpage. Notice its not the background of the masterpage i want to change, but the background of the page which use the masterpage.
...
hey
I want to make a menu, and change the class when clicking.
When i click on the "li" with no class="active", i want jquery to add a class on the empty <li> and remove it from the othes "li".
<li class="active"><a href="javascript:;" onclick="$.data.load(1);">data</a></li>
<li><a href="javascript:;" onclick="$.data.load(2);">data...
Hi,
Does anybody know if there is a way to display the text value of an button in HTML on several lines ?
I mean, if you lock the width of the button in the associated CSS and you want the text on the button to be on 2 lines for example..
Thanks in advance !
...
I know that there are some caching classes introduced in the iphone sdk recently, and there is also a TTURLRequest from three20's library that allows you to cache a request to a URL. However, because I am loading the web page in UIWebView by calling UIWebView's loadRequest, those techniques are not really applicable.
Any ideas how I ca...
Hi all!
Is this possible to change the default styling of password field? I mean replacing the default stars-symbols with something like • or etc. jQuery or simply css/html?
Thanx.
...
Here is a page I am trying to make print friendly, so it will list everything in two columns
view the page here
Here is the css for the div each block of information is in
#off-campus-print-friendly {
font-family:arial;
border:1px solid red;
overflow:auto;
font-size:.8em;
line-height:1.5em;
padding:10px;
}
#off-campus-pri...
I am using an include file by doing:
<!--#include virtual="/includes/leftNav.shtml"-->
I changed the include file, and the changes are not picked up.
I'm guessing that they will be with a server restart; is it possible to have the changes picked up w/o a restart?
...
So I have a div in my body that's a percentage width, and inside that a div with inline style as follows:
text-align: center; margin-left: -15px; margin-right: -15px; overflow:hidden
As you can see, I have text-align center on, which would, if the image was small enough for the div, center the image. But the percentage width div is de...
Hi,
I am programming an application using AJAX and facebook connect. The location of the application is http://dev.cafexi.com/fbconnect
I'm having what I think is a simple issue
1) when I load the site in any browser except for IE it loads instantaneously - so no issues there
2) When I load in ie 7 or ie 8 it load incredibly slow. ...
I was trying out NiceForms in my asp.net app and it had some quirks. It's shifting my GridView to the right by more than 100pixels and I can't figure why it's doing it using FireBug.
Are there other alternatives which are compatible with JQuery and ASP.NET? Must be free. I will be looking at Yahoo's YUI library.
...
I'm hoping that someone may be able to help me out.
My Home page (Home.html) has a link to a mp3player located at (mp3.html)
On the mp3player page there is a link back to Home.html
If the user clicks on the link to the Mp3 player I would like for the music to continue to play even if the link to home.html is pressed.
What I would li...
I want to use jQuery to create a new div on the page when a certain link's click event is activated. I know this part will be fine. The part I am concerned about is this: if inside of the newly created div is another link, will I then be able to use jQuery to capture the click event of this new link? I.e. will the javascript be able to...