|
Hi Friends,
As per the requirement, I have adjusted the height of the HTML Textbox to 10px and set the font-size to 10px using style property.
When the page is loaded, the text is vertically aligned middle to the textbox in IE so that the text is visible completely.
But in the browsers Mozilla Firefox and Netscape, the text is not vertically aligned, so the bottom portion of the text seems to be chopped in the textbox.
How can I vertical align the text in the Textbox using CSS/Javascript or some other way?
Thanks in advance.
Subrahmanyam K
|
|
|
|
|
Set the vertical padding to zero, and set line-height to 10px.
---
b { font-weight: normal; }
|
|
|
|
|
I have a webpage written in html. I was wondering if I could make a part of this page not reload, but not using frames, because this would mean I have to recode the whole page. I want to integrate a flash movie within the site, and this flash should not reload when I change the page. I don't know if this is possible, this is why I am asking here. Thanks!
|
|
|
|
|
Hi ,
I deployed recently my ASP.NET application on IIS 6.0 and all works fine except one serious problem.the problem when i try to log to my application using two different users from one machine the second user when he log ,it seems like his runing over the session of the first user ,like they are using the same session.
this problem occured when i tested my app in some machines but in other machines this problem does'nt exist and the two apps runs separatelly.witch make me think that the problem may be with IE and not IIS
Does any one seen this problem?
Thank you.
|
|
|
|
|
are you using static or shared properties or the like? I had a similar problem when I was first starting and this was the problem. Just an easy check.
daniero
|
|
|
|
|
hi ,
Yes I'm using static variables but as constants unchangeable.I think the problem is with IE .as i said , i tested this in many machines in some of them all works fine : i open two windows and log on with two different users and the two instances are running independently .But in some machines the problem occurs : the seconds user is runing over the session of the first.
|
|
|
|
|
IE works differently depending on how you open a browser window. If you open a new window from an existing window, they will both use the same session, but if you open a new window by starting a new instance of the browser, they will use separate sessions.
---
b { font-weight: normal; }
|
|
|
|
|
html example[^]
a sample picture that demonstrate my structure requset[^]
hi
i need to build this page as structured at the Giff and been started working on at the html page i attached.
i need to make a 3 columns page
i have a Left column, a Right column, and a middle content area.
at the bottom there's a Footer.
this footer should be placed at the middle. and inherit the middle content width. (as shown at the GIF example i made)
i mannaged to make a float layout, that if u take the left or right layout (by display:none), the middle automatic takes his place.
i have to problems unsolved here:
1. how can i solve my fotter issue? he is in absolute position, bottom . how can i make him sit at the middle AND at the bottom of the page, say like bottom of the middle column, and the middle colum widths, like at my picture.
2. if i dont give my DIV#main a fixed height, i wont have a scope for the #left #right Children to adjust to.
and if my content height is over the height i declared in my style, the content wont influence the div height. couse its fixed.
ill appriciate any help
Shlomi
-- modified at 10:28 Thursday 5th January, 2006
|
|
|
|
|
Hi,
How do i deploy a webservice created using visual studio 2005.
I created an web service: 'new/web site/ASP .NET webservice'. as an example it creates hello world example.
i can access it using the web server included in the VS2005. with right-click i published the service and copied the files to the IIS-wwwroot folder.
but when i try to publish it in the location where IIS is located i get parser error : 'Could not create type 'Service'.'
what did i do wrong.
will really appreciate.
rnv
|
|
|
|
|
I have a problem in my asp code, I am using ajax to get data and session is alive at my very first request. But after serving the data the session expired automatically in the very second request.
Pls. note everything goes fine in my local IIS. problem at my live server.
Kindly help me out.
Mahir
|
|
|
|
|
If an administrator have blocked specific URL say for example "www.google", for specific user in local intranet.How this user can over come this problem.How he can access this specific url with out admin permission.
|
|
|
|
|
Force the admin to yield at knife point,
or
Use a proxy.
Either way, lobbying for permission is probably a safer option.
|
|
|
|
|
I did not get it , what you have suggested, can you be clear please.
-- modified at 4:02 Thursday 5th January, 2006
|
|
|
|
|
What i'm saying is that you can sneak around and avoid the block (using a 3rd-party proxy service, for instance) but if you're caught it's likely to get you into trouble. Why not just try and convince your admin that the site in question is useful for you in performing your job?
|
|
|
|
|
I'd hazard a guess that the url is not google.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
You just might be right.
|
|
|
|
|
Hello,
I noticed in Firefox when using the span tag with a background image like this:
<span class="spanNavBtnText" style="background-image: url(images/navbtn2.gif);">Testing</span>
.spanNavBtnText
{
color:#FFFFFF;
font-family: Verdana;
font-weight:bold;
width:118px;
height:23px;
text-align:center;
font-size: 11px;
padding-top:5px;
}
That the background image is the size of the text. In Internet Explorer this is not the case the total size of the image is rendered and it's not based on the size of the text.
Is there any easy way to fix this?
Thank you.
RB
|
|
|
|
|
RadioButton wrote: Is there any easy way to fix this?
Don't use IE?
As near as i can tell, Firefox is doing the "Right Thing" here - span s are inline elements, width and height attributes do not apply. So... You can use a div (or other block element), you can add the display:block; attribute to the span , or you can float or absolutely position the span .
|
|
|
|
|
I know that I can use javascript to test for a number using the below, but I am having trouble figuring out how to use javascript to test for the entry of for example 100.00 or 100, the decimal point is messsing me up. Any help would be appreciated.
function TestKeyPress( obj, event ) {
var curChar = String.fromCharCode( event.keyCode );
var inpStr = obj.value + curChar
window.status = '';
obj.title = '';
result = inpStr.match( '^[0-9]+$' );
if ( ! result ) {
window.status = 'Please enter only numbers.';
obj.title = window.status;
event.returnValue = false;
event.cancel = true;
}
}
|
|
|
|
|
There's regex in jscript ? '^[0-9]+\.?[0-9]?$' should do it. ( test for number, optional . and then optional number after the . )
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
To match either an integer or floating point number, use this pattern:
^(\d+)|(\d*\.\d+)$
The first part (\d+) will match an integer, e.g. one or more digits.
The secont part (\d*\.\d+) will match a floating point number, e.g. optinal digits before the decimal point and one or more digits after.
---
b { font-weight: normal; }
|
|
|
|
|
I'm have a problem on vs 2005.
Well in vs2003 i'm use this code to return a type of assemblie
Type myType;
Regex reData;
string strData;
string strClass;
StreamReader srData;
srData = new StreamReader(strAspxFile);
strData = srData.ReadToEnd();
srData.Close();
reData = new Regex(@"Inherits=""(?<Inherits>[^""]*)");
if (reData.IsMatch(strData)){
strClass = reData.Match(strData).Groups["Inherits"].Value;
}
myType = Type.GetType(strClass + "," + strClass.Substring(0,strClass.IndexOf(".")));
Well in vs2003 the aspx files have this text Inherits="MyWebApp._default", but in VS2005 i'm have only the Inherits="_default".
The question is how i'm can get a type of assembly in vs2005?
Att.
excuses for english
|
|
|
|
|
This is an ASP.NET question.
Firstly, the problem is that you're doing things in a hacky way. You should use reflection to find the type of the assembly.
Secondly, you shouldn't declare all your variables at the top of a function unless you're using C.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
thx to replay
I'm found the base.GetType() return the class _default but, when i'm try to use the code:
MethodInfo[] mi = myType.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance |BindingFlags.DeclaredOnly);
the method GetMethods don't return the private member like the another way in vs 2003
if i'm use in vs 2005 MethodInfo[] mi = myType.GetMethods(); i'm get only the public members
how i'm can get the privates?
-- modified at 18:49 Wednesday 4th January, 2006
|
|
|
|
|
hello,
Is there a way to include the body attributes of an html document within the body and instead of inside the body tag?and leave the body tag as it is " ".
i need to do this because i'm developing an html editor that does not support body attributes and i need jave scripts to be included.
your help will be appreciated.
thank you.
|
|
|
|