Hi there, thanks for the response.... Well you are right (i tried your html above and got the correct formatting), but unfortunately table is not as option...they want only spans or divs (apparently tables are considered evil :) at my work. So according to your message, what I'm getting is that since I'm using span, that's why text-alight isn;t quite working. You also said that div will work just fine, so shouldn't that mean if I were to replace table with divs in your example above, it shold work....well i tried it and it didn't. Hers's what I did. <pre> <div style="text-align: right"> 6 </div> <div style="text-align: left"> Open docs </div> <div style="text-align: right"> 20 </div> <div style="text-align: left"> Closed Docs </div> </pre> Is there a way to accomplish this with div and or spa
Tina P
Posts
-
Css Stylesheet - text-align property not working as I understand it should -
Css Stylesheet - text-align property not working as I understand it shouldHello guys, I just have some text in two separate labels that needs to be displaed side by side, so I'm trying to align the text horizonally (right align).....and text-aligh: right; property doesnt appear to be doing that. If I were to do a float:right then the text of first label will go all then way to the right....all I want to do is something like this example below:
6 Open docs 20 Closed docs
where 6 = text of first label and 20 = text of second label I want to display the example above in the following manner:
6 Open docs 20 Closed docs (notice how the two numbers 6 and 20 are right aligned and the text is left aligned
If text-align doesnt work, how do I do this? Any help would be appreciated! Thanks Tina
-
How to make label's text H1 by setting up a font propertyOk guys, so this one is sort of hard to describe, but here it is...I have a label inside a div. The div tag has a style element which is setting up fonts and stuff like that on the label....the text of the label is set somewhere else, it's a separete mechanism similar to resx files...so I can't just simply say <h1> Blah blah </H1>...so I need to set some property either on the label itself, or on the div tag that can display the text as H1 heading. This is what it has in the style attribute of the div <pre><div style="margin: 0px; font-family: Tahoma, Arial, Verdana, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; border-bottom: white 5px solid;"> <asp:Label ID="lblMyLabel" Font-Bold="True" runat="server" /> </div></pre> I know it's gotta be pretty simple, but i can't seem to find the right property to set either on the div or on the label which will convert the text size to H1. I realize that i can accomplish the same using font size or somethihng else, but they want to be able to see <h1> tag around the text of this label, when viewing the view source (rendered html). Any thoughts please!
-
Setting a href property in a anchor tag with JavascriptThanks guys! Abhishek, as I mentioned I wanted to mimicks the mouse click event (i.e the exact same thing that happens when a user uses a mouse to click on something) but instead I'm trying to do it from the tab button....so having said that how's an alert dialog box going to help. When the tab is hit and the user hits enter on the link, this event needs to fire so that the other code (which we already have that opens up another page will execute, so my problem is to make this work within these constraints, i cant just show the user an alert box! Can you elaborate on this a little bit, thanks guys! ~Tina :omg:
-
Javascript related questionHello All, I need to be able to set an href property of an anchor tag to a javascript i.e. <code> <a id="blah" href='this is where i've been told to have Javascript'"</code> This javascript is suppose to mimick a mouse click event. Can someone show me an example of how to go about doing that. I have barely used Javascript and not too familiar with it. Any help would be higly appreciated. Thanks ~tina
-
Setting a href property in a anchor tag with JavascriptHello All, I need to be able to set an href property of an anchor tag to a javascript which will basically mimick a mouse click event. Can someone show me an example of how to go about doing that. I have barely used Javascript and not too familiar with it. Any help would be higly appreciated. Thanks ~tina :confused:
-
How to make GridView accessibleHey guys, I've got a datagrid that needs to be accessible i.e. A user should be able to tab into the rows of that datagrid one at a time. Right now the tab order works for every single link on the page (including the columns of datagrid which happened to be links) but not the rows which have a few clickable links in them (in other words a user can click on those colums and they need to work with tabs alss) Is there an easy way to fix that? Can someone please help! Tina
modified on Wednesday, December 16, 2009 10:38 PM
-
Dictionary object in .NetI'm not sure what you meant...this is all done from a ASP .net page and that's why the questions was published in this section. Please educate me if there's a separate location pertaiing to questions regarding such data structures and their use. Now my question is that I'm not familiar with Dictionary data structure, so I'm not sure how is stuff functioning in the code that I'm looking at right now written by someone else with no cmments or documentation... I googled it quite a bit, but no one appear to be using Dictionary in a way that either its key or the value element are another DIctionary object. Can anyone please share their experience if they've used it or are familiar with it. Thanks Tina
-
Dictionary object in .NetWhat could be the possible situations/scenarios when you want to have a dictionary object within dictionary? Meaning a dictionary object which would take another dictionary as its key. private Dictionary<Dictionary<string, string>, string> myDictionary = new Dictionary<Dictionary<string, string>, string> ; I mean, I'm trying to go through some code and its doing that, I am new to such complicated data structures such as ditionaries....and this doesnt even look like a common way most people use it. Post people would have a string key and a string value ( or interger or something). can someone elaborate on this? Thanks a lot Tina
-
Issues with adding a web reference using WSDL.exeHello Ravi, thanks for the response...but I should have mentioned, I'm using VS 2005 framework 2.0. Can you tell me how do i do that in this environment? Thanks
-
Issues with adding a web reference using WSDL.exeHello guys, I needed to create a proxy by adding a web reference into my C# class library project, but there's been some issues configuring the thrid party product and the webservice they expose....so I have manually downloaded the WSDL file (its not asmx, its actually java/ibm web service). Anyways, since i can't use the add web reference wizard from Visual studio anymore, I'd like to know how to I create a porxy (Reference.cs) file in my project using the WSDL file located on my C drive. Can anyone point me to the right direction, I treid looking into Wsdl.exe but looks like it only support a URL and not a local path, if it does can someone point me to the right command syntax? I'd appreciate your help. Thanks Tina
-
Creating a proxy using a WSDL file located on the same machine MANUALLY without the web reference wizard in VS 2005Hello guys, I needed to create a proxy by adding a web reference into my C# class library project, but there's been some issues configuring the thrid party product and the webservice they expose....so I have manually downloaded the WSDL file (its not asmx, its actually java/ibm web service). Anyways, since i can't use the add web reference wizard from Visual studio anymore, I'd like to know how to I create a porxy (Reference.cs) file in my project using the WSDL file located on my C drive. Can anyone point me to the right direction, I treid looking into Wsdl.exe but looks like it only support a URL and not a local path, if it does can someone point me to the right command syntax? I'd appreciate your help. Thanks Tina
-
Converting tiffs and other formats into PDF using ABCpdf or any other toolsThanks for the response Manas...but it doesnt look like it suports tifs and Jpg images conversion. From what i can tell, it only supports microsoft office related formats. Any other thoughts anyone?
-
Converting tiffs and other formats into PDF using ABCpdf or any other toolsHello, I was looking on the web to find any samples that walk you through doing this in C#....I don't even see it on webSupergoo's website (the cretor of abcPDF) I need to be able to convert documents (could be any format really) dynamically into PDF before they are sent to a Adobe server for annotations and stuff using Adobe LifeCycle Reader extensions. Note: I cant use adobe to perform this conversion though! Any help would be appreciated! Thanks Tina
-
Loading Dlls programatically in C#Hey guys, I need to be able to figure out (based on users selection from the UI) which class library project to use. In other words, there is a mthod lets say initialize or something that would be receiving some parameters from the User (such as the name of the class library project and it's type, however the name is enough to have some sort of a if else block and load the right project. Well actually I wanna be careful here, it's not really loading the class library project from here, it's more like using the correct project for all the subsequent method calls from this project (as the class library projects may or maynot be different from each other in terms of the methods they define. So I need to be able to point this project, which also happens to be a Class library project to the correct version of the subsequent project based on the name of the project that is provided by the user from the UI text box. I'm sure whats the ideal solution here, I think I should just add a reference dynamically based on the project name coming in....in other words do some sort of string comparison adn based on that add a reference to the right Class library project adn then it will point to it. can someone please help me with this, if you think this isn't what needs to happen, or if it is the right approach, any feedback would be highly appreciated? Thanks Tina
-
Loading a project dynamicallyHello Christian, Well yes and No...the front end (UI) is all asp .Net but as I said in my original post, it is a COM callable wrapper written in C# that deals with the web services moving forward. Not sure what you are trying to say....but if you are implying that I shouldn't have put it out here, well there wasn't any other category where I'd have this topic. Also, is there an API (built in .Net class that lets you do that? Thanks
-
Loading a project dynamicallyHello guys, is there a way to load a project dynamically using the passed in parameters coming in from VB 6.0 code. Technically the project is not going to get loaded, the idea is that the constrcutor of the Com callable wrapper (that receives the parameters such as Assembly name) will then use the corresponding Web services class library. I wanna be able to call Creator.ActiveInstance() method or some other built in .Net API that can locate the write dll to load based on its name and path. Any ideas? Thanks Tina
-
datasets over class objects to store dataHello Yusuf, thanks for the response...yes i realize it's a pretty broad question....but that's exactly what I'm looking for...i don't think there's a right or wrong answer, i guess I need peoples opinion. so haveing said that, what would you prefer and whY???? Thanks TIna
-
datasets over class objects to store dataIn windows forms development, is it ever practical to use datasets over class objects to store data? What would you prefer and why? Thanks Tina
-
datasets over class objects to store dataIn windows forms development, is it ever practical to use datasets over class objects to store data? What would you prefer and why? Thanks Tina