Click here to Skip to main content
15,922,407 members
Home / Discussions / C#
   

C#

 
QuestionJS script from C# Pin
vis200715-Aug-07 5:32
vis200715-Aug-07 5:32 
AnswerRe: JS script from C# Pin
led mike15-Aug-07 5:52
led mike15-Aug-07 5:52 
AnswerRe: JS script from C# Pin
Michael Sync15-Aug-07 6:26
Michael Sync15-Aug-07 6:26 
GeneralRe: JS script from C# Pin
Guffa15-Aug-07 6:58
Guffa15-Aug-07 6:58 
GeneralRe: JS script from C# Pin
Michael Sync15-Aug-07 7:07
Michael Sync15-Aug-07 7:07 
AnswerRe: JS script from C# Pin
Guffa15-Aug-07 14:00
Guffa15-Aug-07 14:00 
GeneralRe: JS script from C# Pin
Michael Sync15-Aug-07 16:29
Michael Sync15-Aug-07 16:29 
AnswerRe: JS script from C# Pin
Guffa15-Aug-07 21:36
Guffa15-Aug-07 21:36 
How much difference you see depends of course on how you build your pages, and what browser you are using to view them. If you are using html 3.2 and table based layouts, you will probably see very little difference. If you are using more modern techniques, you will see more differences, and Internet Explorer is much more sensetive to this.

Here is a short example that uses css:

<script type="text/javascript">alert(1);</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<style type="text/css">
body { margin: 0; padding: 0; }
div { margin: 0 auto; border: 50px solid #eee; width: 150px; padding: 10px; text-align: center; }
</style>
</head>
<body>
<div>Hello world.</div>
</body>
</html>

If you view this without the script tag at the beginning, it shows a 150 pixels wide box centered horizontally.

With the script tag, viewed in Internet Explorer, the box is no longer 150 pixels wide, and it's not centered.

---
single minded; short sighted; long gone;

GeneralRe: JS script from C# Pin
Michael Sync16-Aug-07 1:22
Michael Sync16-Aug-07 1:22 
QuestionC++ to C#: Is it possible? Pin
Yosh_15-Aug-07 5:04
professionalYosh_15-Aug-07 5:04 
AnswerRe: C++ to C#: Is it possible? Pin
Phil J Pearson15-Aug-07 5:12
Phil J Pearson15-Aug-07 5:12 
GeneralRe: C++ to C#: Is it possible? Pin
Yosh_15-Aug-07 5:16
professionalYosh_15-Aug-07 5:16 
AnswerRe: C++ to C#: Is it possible? Pin
Dan Neely15-Aug-07 5:19
Dan Neely15-Aug-07 5:19 
GeneralRe: C++ to C#: Is it possible? Pin
Yosh_15-Aug-07 5:37
professionalYosh_15-Aug-07 5:37 
GeneralRe: C++ to C#: Is it possible? Pin
led mike15-Aug-07 5:51
led mike15-Aug-07 5:51 
AnswerRe: C++ to C#: Is it possible? Pin
Michael Sync15-Aug-07 6:36
Michael Sync15-Aug-07 6:36 
AnswerRe: C++ to C#: Is it possible? Pin
Judah Gabriel Himango15-Aug-07 7:59
sponsorJudah Gabriel Himango15-Aug-07 7:59 
AnswerRe: C++ to C#: Is it possible? Pin
Dave Doknjas15-Aug-07 13:34
Dave Doknjas15-Aug-07 13:34 
AnswerRe: C++ to C#: Is it possible? Pin
Yosh_16-Aug-07 23:44
professionalYosh_16-Aug-07 23:44 
QuestionHow can you find where a word doc is saved? Pin
alina_anitei15-Aug-07 4:36
alina_anitei15-Aug-07 4:36 
AnswerRe: How can you find where a word doc is saved? Pin
Justin Perez15-Aug-07 4:40
Justin Perez15-Aug-07 4:40 
GeneralRe: How can you find where a word doc is saved? Pin
alina_anitei15-Aug-07 4:44
alina_anitei15-Aug-07 4:44 
GeneralRe: How can you find where a word doc is saved? Pin
Justin Perez15-Aug-07 4:45
Justin Perez15-Aug-07 4:45 
GeneralRe: How can you find where a word doc is saved? Pin
alina_anitei15-Aug-07 4:47
alina_anitei15-Aug-07 4:47 
GeneralRe: How can you find where a word doc is saved? Pin
Justin Perez15-Aug-07 4:53
Justin Perez15-Aug-07 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.