|
Ever heard of WYSIWYG tools such as FrontPage, Dreamweaver,... ?
I am not saying you should always use such tool to produce HTML code, but isn't it obvious these tools provide you with answers such like how to do text alignment in html by just applying the alignment first and see the resulting html code in the source code view ?
Back to real work : D-21.
|
|
|
|
|
That option is not in frontpage (I think so). Have not tried dreamweaver.....
Thanks....
|
|
|
|
|
I haven't mentioned any option. I have showed a general way to solve your html coding problems.
I could answer you for the very practical issue you have here, but as you can see for yourself someone else has also answered you.
|
|
|
|
|
|
SPS wrote:
s there any option to align the text inside the table justified both left and right as it can be done in WORD??
Yes you can use CSS to do this... but be warned that a: it does not work on many browser and b: it looks terrible. Browsers do not have the same justification ability as word processors or DTP products, this is by choice as justification on the web is seen as a bad thing.
Anyway you can do it this way:
<table>
<tr>
<td style="text-align: justify">Justified text</td>
</tr>
</table>
Hope that helps (but don't do it ya hear? )
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
The problem is, there are many files that needs the modification. So, this takes a hell a lot of pain in updatig the same.... anyway... thanks for the reply.....
Bye
|
|
|
|
|
SPS wrote:
The problem is, there are many files that needs the modification. So, this takes a hell a lot of pain in updatig the same
Muwahahahahahaah! *Paul gets the evil CSS evangelising glint in his eye*
Which is exactly why you should be using CSS in the first place. Look I don't want to say "I told you so" (because I did not) but for future reference start and stick with CSS. If you had been using CSS from the start then all you would have to do is go into one CSS file and modify the neccessary class, a maintenance dream!
Still you could be lucky.
Is there is something unique about the TDs which you want justified? Do they have a CSS class assigned? Are they named? Do they have any attribute assigned to them that other TDs you do not want affected have not?
Basically CSS has some powerful selectors which could sort this out for you with just one external CSS file.
Maybe post up some of the TABLE code and I might be able to say "yes! We can use XYZ selector to do this site-wide" which will rock
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
Ok everyone,
I'm putting on a rarely worn web development hat, so I could use some help.
Basically, what I'd like to do is see what sort of requests are being generated by a particular webpage, (<get> urlname, <put> whatever, next i clicked button), and be able to capture that, so that I could repeat it manually. The idea is to kind of mimic manuevering through a web page for a kind of poor-man's load test.
(By re-reading what I just said - it sounds like my intentions are kind of fishy, but this is purely for good reasons. )
Anyway - does anyone have any ideas? I don't even know how difficult this is.....Thanks!
Marcus Spitzmiller
"Why must life be so hard? Why must I fail at every attempt at masonry?" - Homer
|
|
|
|
|
Client-side:
Microsoft has a free tool named WCAT - Web Capacity Analysis Tool for just that. I don't have the link now, sorry.
Server-Side:
Under \WINNT\SYSTEM32\LOGFILES\W3SVCn\ you'll find the logs of requests of your server.
Let me know if this is what you needed.
lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik
|
|
|
|
|
Thanks this looks like what I'm looking for. I'm not sure that WCAT is free though. I can't find the download anywhere. Its on the w2k resource kit disc.
Thanks!
Marcus Spitzmiller
"Why must life be so hard? Why must I fail at every attempt at masonry?" - Homer
|
|
|
|
|
How do I execute an application from ASP.net?
For instance, I have a web app on my server. When I visit it at http://localhost/default.aspx and click on a button, I want notepad to pop up or some other program. I've tried:
Process commandPrompt = Process.Start("notepad.exe");
which does run notepad, but it's not visible.
Any ideas?
Thanks
|
|
|
|
|
friendlyghost wrote:
For instance, I have a web app on my server. When I visit it at http://localhost/default.aspx and click on a button, I want notepad to pop up or some other program. I've tried:
Process commandPrompt = Process.Start("notepad.exe");
which does run notepad, but it's not visible.
(We need an FAQ for this question!)
Casper, you need to first understand the client/server model that the web uses.
The ASP.NET code (the C#, VB.NET etc. in the ASPX and code behind) is run on the server side, not the client side.
So when you execute a Process.Start command it is being executed on the server, not the client. No execute commands are being sent back along over TCP/IP to the client browser.
Also what you are wanting to do is quite dangerous. If web pages can start firing off Process.Start commands on the client side then security is shot to hell. You could fire off a format c:\ /q if that was the case... Not good.
What you can do, I think, is use an ActiveX component embedded in the page which starts off the process on the client side. Not sure of the details, but that is how you would do it. Look up how to run C# on the client side which can be done, but which requires the client to have the .NET Framework installed.
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
If anyone is interested, here are two very handy Favelets.
Zoom In
Zoom Out
Basically they give Internet Explorer the same text zooming features as Mozilla. It works on sites that even set rigid font-sizes (like CP.)
Just drag those two links onto your IE link bar and say Yes to the warnings (but no to drugs.)
Then whenever you need to zoom in or out, just click the links!
I got these favelets from Yourhtmlsource.com[^] and this post follows on from a rant I had with Shog9.
Enjoy!
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
That is really terrific.
Albeit the fact that Zoom-in/Zoom-out option exists for Images as part of IE Power Toys, a simple JavaScript trick is able to do this trick of Zooming In/Zooming Out of Text.
That's great!!!
Deepak
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
Can anyone gimme a few links where I can start learning about iframe.
Thanks in advance........
|
|
|
|
|
|
|
|
|
We have a form that we do not want to submit until validation has already been performed. Our question is - can we call a dll either using VBScript or Javascript from a button. We need to create the instance of the object at this point, and then the public function. This way if there is a problem with the data the form is still on the screen, and has not been submitted yet.
Does anyone have any experience of this? Thankyou
|
|
|
|
|
Prepare an ActiveX control, for instance named validator. Embed this ActiveX in your web page using the <object tag. Then, whenever you need to call exposed methods with javascript or vbscript code, call methods with prototypes of the form validator_methodname(params).
You'll find easily more info on that, just googleup with the "_onclick" keyword.
Back to real work : D-23.
|
|
|
|
|
Thank you very much S.Rod for your prompt reply. I am considering object method some thing like:
<object id="chtTest" width="248" height="192
" classid="CLSID:FC25B780-75BE-11CF-8B01-444553540000">
<param name="_ExtentX" value="6562" />
<param name="_ExtentY" value="5080" />
<param name="Rows" value="4" />
<param name="Columns" value="3" />
<param name="ChartType" value="1" />
<param name="Data[0][0]" value="9" />
<param name="Data[0][1]" value="10" />
<param name="Data[0][2]" value="11" />
<param name="Data[1][0]" value="7" />
<param name="Data[1][1]" value="11" />
<param name="Data[1][2]" value="12" />
<param name="Data[2][0]" value="6" />
<param name="Data[2][1]" value="12" />
<param name="Data[2][2]" value="13" />
<param name="Data[3][0]" value="11" />
<param name="Data[3][1]" value="13" />
<param name="Data[3][2]" value="14" />
<param name="HorizontalAxis" value="0" />
<param name="VerticalAxis" value="0" />
<param name="hgridStyle" value="0" />
<param name="vgridStyle" value="0" />
<param name="ColorScheme" value="0" />
<param name="BackStyle" value="1" />
<param name="Scale" value="100" />
<param name="DisplayLegend" value="0" />
<param name="BackColor" value="16777215" />
<param name="ForeColor" value="32768" />
Wish me luck .
Thank you again
|
|
|
|
|
OK, so I know I have mentioned before that I am going to start doing some HTML and DHTML. I now pretty much have the new machine installed the way I want so I will be honest.
I want to do some of that DOM stuff where I support multiple browsers so my question is...
Should I used Netscape or Mozilla and which version of them?
Michael Martin
Australia
mjm68@tpg.com.au
"I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end."
- Chris Maunder 15/07/2002
|
|
|
|
|
Michael Martin wrote:
Should I used Netscape or Mozilla and which version of them?
Netscape 6 and up (6.1, 6.2, 7 and coming 8) all use Mozilla as it's base. So to a 99% degree you need not worry. i.e. The HTML, CSS and JavaScript will all render and function the same in these two browsers because the engines are the same (there are some differences but so minor you probably won't ever run into them.)
Anything before Nestcape 6 though is a totally different story of course. Avoid Netscape 4.x like you avoid your mother in law. i.e. like the plague.
As for which version of Mozilla, go with 1.0.
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
Thanks for the response Paul. I am currently downloading Mozilla 1.0.1 and will follow that up with 1.1. Decided against touching 1.2 as that is Beta.
I have Netscape 7 on a CD from a magazine though I will check their website to see if there is a newer version available.
I you were a wannabe web developer like me and had the choice of Mozilla and Netscape which one would you install to use along side Internet Explorer 6 SP1?
Michael Martin
Australia
mjm68@tpg.com.au
"I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end."
- Chris Maunder 15/07/2002
|
|
|
|