|
Assuming your images are all of the same size (?) - say 150px you could try adding:
float:left;text-align:center;width:152px;
to your
ul.ns li
style
|
|
|
|
|
Thanks for this. I placed this inside another parent div with it's own styling, and my div inside this div works fine till I use a float, like in you code. Then the inside div seems to go over the outer div. What can I do so that the outside div expands to the size of the div inside it?
|
|
|
|
|
god knows - I'm not really an expert on CSS (in fact I hate the stuff...) - have you specified a width for the outer div? Maybe remove that, if so...
|
|
|
|
|
I did a clear:both in a div beneath it and it works fine in FireFox. I need to test it in the other browsers as well.
|
|
|
|
|
Hi,
I have this old Web Application built using ASP. There is a common page for some reports where the users make the selections. Then it goes to the specific pages, where the user provides input for the report, then submits them (document.form1.submit()).
I am adding a new report using SQL Reporting. the Page is already there, built by that common page.
The problem is: if I put it in the Form's action - it goes to that specific location, like - my report is in "http://abc/ReportServer/blabla/reportviewer.aspx.." and when I run it, it tries to run from "http://www.xyz.com/reports/abc/ReportServer/blabla........"
See the problem? Because I can not change the common page where there are all the layouts and codes to process user inputs for all the report pages. On the other hand, I want to send the user inputs for processing as well, but to my SQL ReportServer.
Is there any way around it? At least, I want to directly run the SQL Report without worrying about the user inputs for now.
Thanks.
Ekjon.
|
|
|
|
|
Hello friends
how can i make a date time picker function in jsp page with help of javascript ....
if u have any idea regarding tis please do let me know..
|
|
|
|
|
There are a lot of Javascript Calendars on the net. You just need to google it. I used Yahoo UI JS Calendar in my project and I think it's pretty cool.
|
|
|
|
|
Hi all,
I need to interact with webpage programatically. For example, i need to submit userid and password to gmail and i want to access my inbox programatically in .net.
or, how can i select an item in select box and then hit submit button programatically in .net?
How can i proceed.
Thanks in advance.
this is sumanth, completed m.c.a from india.
modified on Monday, December 17, 2007 7:33:30 AM
|
|
|
|
|
It's hard to do in .NET but you may use Firefox macro recorder to record the input and play back if you want.
|
|
|
|
|
can calculate mathemetical calculation in asp with vbscript if then some idia i wants to calucualte income tax on income.
sanjeev
|
|
|
|
|
Not really sure if this answers your question...
income = 100000
taxRate = 0.22 '22%
' Calculate the amount of tax payable
taxPayable = income * taxRate;
%>]]>
Your Income Is: | ]]> | Your Tax Is: | ]]> | Your Take Home Salary Is: | ]]> |
|
|
|
|
|
ahh....I found part of your problem:You want it done in vbscript
"I need build Skynet. Plz send code"
|
|
|
|
|
hi realy u found part of my problems
ok
i wants to take data from table and do some mathematical calculation and print on screen like income and some filed thats is taxable
but anable to add, sub, and multiply other math calculation so can u say how to perform
[code]
<tr class="aqua"><td>&nbsp;&nbsp;&nbsp;1. P.F. + V.P.F(Salary)</td><td><b><%=R("proj_pf")+ R("proj_vpf")%></b></td></tr>
[/code]
sanjeev
modified on Thursday, December 20, 2007 4:34:39 AM
|
|
|
|
|
I user Asp.Net 2.0 and VS 2005 in my website.
In video page I use tag <object> to show video file (*.Dat, mp3, avi..):
<object id="music" width="320" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="1">
<param name="AutoStart" value="False">
<param name="AnimationAtStart" value="-1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="-1">
<param name="Balance" value="0">
<param name="BaseURL" value="">
<param name="BufferingTime" value="5">
<param name="CaptioningID" value="1">
<param name="ClickToPlay" value="1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<b> <param name="Filename" value=""><![CDATA[<%= GetFileName() %>]]>' /></param></b>
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value="">
<param name="SAMIStyle" value="">
<param name="SAMIFileName" value="">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="0">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="-1">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="0">
<param name="WindowlessVideo" value="0">
</param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></object>
But it don't run in both IE 6 & 7.
I only run well in FireFox after install Media PlugIn.
Can I play video on web by other way?
How to fix this problem for IE?
Thanks!</object>
|
|
|
|
|
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi
I need to get the list of printers installed on the
server (both network and local printers).Using .net WebServer,i can see all the installed printers ,when I run the
application using IE on the server,I cannot get
the list of printers .
Help me.
|
|
|
|
|
Hi guys!
I want to make a poll on my website and illustrate the results via bar charts.
I don't have lots of experience with web programming, just a bit knowledge of HTML and JavaScript.
Has anyone an idea how I can do this?
Or are there any assistents or programms with which I can build such a poll and viualise the results?
Thanks for your help and best wishes.
|
|
|
|
|
Dears
In PHP there are a lot of content management systems ex: EZpublish and now I’m looking for free , tested and trusted .NET content management system that can help me to implement ASP.NET 2.0 web site that contain dynamic contents ex: news also can integrate with visual studio 2005 and support AJAX
Any suggestion and Advice please.
Thanks
|
|
|
|
|
|
hello frnd,
i have developed a application using asp.Net 2.0 and take the use of AJAX in it.
Please tell me a way to fill the dropdownlist using AJAX.
i have already done the code for the same but it not running well.
any code sample...?
thankx in advance
koolprasad2003
|
|
|
|
|
koolprasad2003 wrote: i have already done the code for the same but it not running well.
Why? What is wrong with it?
koolprasad2003 wrote: any code sample...?
You're not going to get your code written for you. You should post the code you have already written and identify which parts you are having problems with. Then maybe someone will be able to give you some advice.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Check this out:
http://aspalliance.com/716[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
i wants to if user is logout and then don't allow to go back with standard button i am using for logout but it don't control on back button of standard button
[code]
<%@ Language=VBScript %>
<% Option Explicit %>
<html>
<head>
<title>Voice Of Baraunians</title>
<!--#include file="front.inc"-->
</head>
<body ">
<%If Request.Cookies("empno") = "" Then%>
<div style="Position:Absolute; top:150; left:250;background-color: #f0f0f0">
<center><h2><font face="arial" color='blue'>You are not authorised to view this page. You will be prosecuted for this action</font></h2></center>
</div>
<%Else%>
<div style="Position:Absolute; top:150; left:100">
<h2>Logging Out ............</h2>
<h4>Wait a moment.</h4>
</div>
<%
Dim conn
Dim R
Dim vempno
Set conn = Server.CreateObject("ADODB.Connection")
conn.Mode = adModeReadWrite
conn.Open("DSN=Oracle; USER ID = gatepass; PASSWORD = gp")
Set R = Server.CreateObject("ADODB.Recordset")
R.Open "Select empno from emp_authority", conn, adOpenStatic, adLockOptimistic, adCmdText
vempno = Request.Cookies("empno")
R.Find "empno = " & vempno & ""
Response.Cookies("empno") = ""
R.Close
Set R = Nothing
conn.close
Set Conn = Nothing
Response.Redirect "message3.asp"
End If
%>
</body>
</html>
sanjeev
|
|
|
|
|
Using cookies to control who is logged in, is insane. Users can edit cookies. Use the Session to store this, and your pages will log out correctly, even if they hit the back button.
Wow - you're using classic ASP ? What a nightmare.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ASP.NET 1:
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1)
Response.CacheControl = "no-cache";
Response.Expires = -500;
ASP.NET 2:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now.AddDays(-1)); //or a date much earlier than current time
Ref: http://www.codeproject.com/script/Forums/View.aspx?fid=12076&msg=2324415[^]
|
|
|
|