|
1. (trying right now, it's a good idea)
2. the image doesn't affect the height at all. weather i use a diffrent image (and/or image size) or even removing the image, it's still going on 14px instead of 11px
thank you for the suggestions, brb with the results on
Ericos Georgiades
|
|
|
|
|
i can't get the <hr> to work the same on both browsers.
maybe i'm getting too tired to work, but i'm starting to think the problem lies elsewhere? (but without the entire colorbar everything was ok...)
anyways <hr> doesn't seem to be a solution either.
Ericos Georgiades
|
|
|
|
|
ad3z wrote: http://www.loadx.org/cardetis
404
---
single minded; short sighted; long gone;
|
|
|
|
|
sorry that "is" was a seperate word :P
Ericos Georgiades
|
|
|
|
|
ad3z wrote: sorry that "is" was a seperate word
Then it works better.
The problem only appears in IE 6, not in IE 7.
How unexpected.
IE 6 has a strange notion that any element should be expanded to be at least one character high. You can specify overflow:hidden to keep it from doing that. (It will still make the contents of the element one character high, but the contents will not change the size of the element.)
---
single minded; short sighted; long gone;
|
|
|
|
|
oh my god, if you were anywhere near me i'd jump up and kiss you right now (even though i am male and completely heterosexual)
that works like a charm, and imagine, overflow was probably the only css/div property i didn't tweak in my frantic madness of trying to solve this.
alas, another reason to hate IE 6.
thanx again!
Ericos Georgiades
|
|
|
|
|
Hi All,
I have a problem in Opera & Firefox..
I have to tables in my aspx page (actually they are two controls) and I want there bottoms to align with each other in the page so I added a row at the end of the table & set its height to 100% & this works fine in Internet Explorer but in other browsers it doesn't do anything and when I set the height in pixels rather than % the other browsers then see it but the height is dynamic & so I can't fix it in pixels.. So what should I do
|
|
|
|
|
The reason that it only works in Internet Explorer is because you are using a non-standard attribute.
According to the standard, a table row doesn't have any height attribute at all. A standard compliant browser should ignore the attribute as it has no specified meaning in the tag.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Guffa,
I also tried it in the style ( style="height: 100%" )in the TD & TR but all in vain..
So any idea what can solve this problem??
|
|
|
|
|
When you are setting the height of a table row in percent, it would be a percentage of the height of the parent object, which is the table in this case. Have you specified a height for the table? Otherwise there is no measurement to derive percentage from.
---
single minded; short sighted; long gone;
|
|
|
|
|
I can add an attribute to each option in a drop-down list, using the System.Web.UI.WebControls.ListBox.Items.Item(ItemIndex).Attributes.Add() method, but they are ignored when the list is rendered to the web-page. How can I render them?
I'm currently adding the controls as childern to a span element, and then using the span.RenderControl(output) method to do the heavy lifting. Is there a method that I can override that specifically renders the options?
|
|
|
|
|
No this will not work with combo box or Radio button list. You can use Javascript to do apply.
Also what attribute you want to add on ListItem since there is no JS event like onchnage , onclick for element in HTML all events are for element
Nobody is perfect i'm Nobody
|
|
|
|
|
In JavaScript and HTML, I created an list of options for a select list that had a UserProperties opbject, in which I created a "list" of arbitrary sub-attributes, similar to the style attributes. Then I added a function that could get this information from the selected option. This all worked well for storing additional values in the options, which could be referenced when the select's onSelect/OnChange event fired.
Now, I want to include this capability in my component. I created a property that allows me to manage the UserProperties as an arrary. Then when the select list's children are created, I use the ListItem attribute.add method to push the array value into the option. Unfortunately, Mircrosoft let you add the attribute, but doesn't render tham.
I could pass the array to the page, and then hava javascript push the values into the options, but that would be redundant.
I was hoping that there was a render for the option that I could override, and then create the tag strings myself. In the past, before linking all of my sub-components together as childern under a main span element and then letting the render method do all of the work, I was explictly was calling the render for each sub-component explicity, and adding 'little bits' of hard coded html to the output stream to implement to new features I wanted in my component.
Now that the sub-components are all linked up as childern of the main span, I need some way to get the render to call my render method for the options instead of the built-in one.
It seems to me that if good modular programming practices were employed that the option rendering would be a seperate routine from the select rendering routine, and that the option rendering routine would be overridiable.
The online help says "Gets a collection of attribute name and value pairs for the ListItem that are not directly supported by the class." But then goes on to say "Use the Attributes collection to manage the attribute name and value pairs declared in the opening and closing tags of the ListItem, but not directly supported by the class. You can programmatically add or remove attributes to the collection."
When I look at the Attributes collection, there is a render method, but its not clear to me how I could call get my code in to execute it.
Any ideas?
Thank you
|
|
|
|
|
Hi,
I have a 3 columns in Gridview.I want to dispay the gridview with 1st and 2nd column as left aligned with header text and to display the 3rd column as right aligned with header text.I have adjusted the properties as row style -> Horizontal Align -> left and
Header Style -> Horizontal Align -> Left.
Now i want only 3rd column to be aligned right with header text.
Please tell me the property to be set or the code to be written in my HTML page. I am working in Visual Studio 2005 on vb.net platform. I have only .aspx pag and HTML page.I am not working in .vb page.
Thanks and regards,
Shyam T S ( beginner)
|
|
|
|
|
This is just a note to anyone else who might experience the same problem.
In a classic ASP environment, after installing SP2 to Windows Server 2003, the Session_OnEnd event in Global.asa no longer fires. I created the following demo web site (containing ONLY these two files) to demonstrate...
Default.asp:
<html>
<body>
<%= Application("Trace") %>
</body>
</html> Global.asa:
<SCRIPT LANGUAGE=JScript RUNAT=Server>
function Application_OnStart()
{
Application("Trace") = "WAITING FOR ANY SESSION TO END...";
}
function Session_OnStart()
{
Session("Dummy") = "Dummy";
}
function Session_OnEnd()
{
Application("Trace") = "SESSION END FIRED";
}
</SCRIPT> The web site will ALWAYS display "WAITING FOR ANY SESSION TO END...". No matter how long you wait and check back.
I see no solution. If anyone has one, please let me know. Thanks.
|
|
|
|
|
Hm? Why not keep the discussion in the same thread?
---
single minded; short sighted; long gone;
|
|
|
|
|
The original thread was a plea for help (one in which I did not know the answer).
This thread was posted separately, as a sort of "post mortem" -- to simply point out a bug in SP2 -- which will hopefully allow someone else experiencing the same problem to more easily become aware of the issue.
If I could delete the other thread entirely, I would -- as it is rather pointless now.
|
|
|
|
|
I see no such difference between this thread and the previous.
You have a bug, but you have not managed to identify it, so there is no telling if the bug is in your code or in the system. The fact that your code has not changed does not free it from suspicion.
---
single minded; short sighted; long gone;
|
|
|
|
|
Well, it's done now, isn't it. What do you want me to do? I can go delete all of my previous posts in the other thread if you want -- but that will leave a rather ugly mess now won't it?
In regards to my code, specifically the example at the head of this thread -- it's ridiculous to even suggest that there is a bug in that code. It is the simplest possible example to illustrate the issue that I'm talking about.
And it is a bug in SP2 -- simply by the definition that similar code has been working perfectly fine for YEARS on Windows 2000 Server, then YEARS more on Windows Server 2003 -- then SP2 is installed and BAM! -- it no longer works. And the technique is something that was promoted by Microsoft in the past.
The culprit is SP2. And there is absolutely NO DOUBT in my mind that it is a bug -- either accidental -- or by intentional depreciation.
Now, if there is some sort of work around -- then that is another issue entirely -- however I'm not aware of one and no one else has been able to offer one either.
|
|
|
|
|
|
can i return a hashtable from my webservice to the client application .. i hav tried but iyt dsnt allow.. so i added the hastable in an arraylist and returned the arraylist but there is still a problem
|
|
|
|
|
IDictionary cannot be serialized via XML, you will not be able to use the
hastable for a parameter over web services.
|
|
|
|
|
pls help me i m working on a project and requerement is :-
client wants to send mail to the responders outometically when they use the site with their mail id and name.
|
|
|
|
|
What language?
Brad
Australian
- bryce on "Problems with Code Project"
*sigh* Maunder's been coding again...
|
|
|
|
|
Dear sir
thanx for response.
currently i m working with c# language(ASP.NET).
i need ur help
jayant vaishnav
|
|
|
|