|
You should write something like this :
Index.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Stork News!</title>
<?php
include ("top_inc.php" ) ;
?>
</head>
<body>
<table align="right" width="841">
<tr>
<td>hello</td>
</tr>
</table>
</body>
</html>
top_inc.php
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src="images/header_banner.gif" width="1024" height="159" border="0" usemap="#Map" />
</tr>
<tr>
<td><img src="images/babiesrus.gif" width="182" height="123" border="0" usemap="#Map2" />
</tr>
</td>
<tr>
<td><img src="images/left_2.gif" width="182" height="122" />
</tr>
</td>
<tr>
<td><img src="images/left_3.gif" width="182" height="123" />
</tr>
</td>
<tr>
<td><img src="images/left_4.gif" width="182" height="122" />
</tr>
</td>
<tr>
<td><img src="images/left_bottom.gif" width="182" height="123" />
</tr>
</td>
</table>
|
|
|
|
|
I changed the files accordingly and uploaded them to the server. I'm still having the problem where the html from the index.php
is showing up below the include file. you can see the problem at http://www.hewittmediasolutions.com/sn/index.php
thanks for the help btw
|
|
|
|
|
I couldn't see your web page. it doesn't show ( why ? )
try this :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Stork News!</title>
</head>
<body>
<?php include ("top_inc.php" ); ?>
<table align="right" width="841">
<tr>
<td>hello</td>
</tr>
</table>
</body>
</html>
|
|
|
|
|
|
Atm you have 2 tables ... one with a width of 1024 and right after a table with 100% width ... so you need to do something like this:
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" colspan="2"><img src="images/header_banner.gif" width="1024" height="159" border="0" />
</td>
</tr>
<tr>
<td width="182"><img src="images/babiesrus.gif" width="182" height="123" border="0" />
<td rowspan="5"><?php include("that_header_file");?></td>
</tr>
</td>
<tr><td><img src="images/left_2.gif" width="182" height="122" />
</tr>
</td>
<tr><td><img src="images/left_3.gif" width="182" height="123" />
</tr>
</td>
<tr><td><img src="images/left_4.gif" width="182" height="122" />
</tr>
</td>
<tr><td><img src="images/left_bottom.gif" width="182" height="123" />
</tr>
</td>
</table>
</body>
</html>
modified on Saturday, November 8, 2008 9:35 PM
|
|
|
|
|
Hi All,
I am new to asp.I am trying to execute "Select" query in asp that uses "Between" & "And" Clause.But it is giving me error of "Type mismatch" and the query description.
But when i executed the same query given in error description in database it is executing properly and giving results.Why this is happening.
Can any one Help me in this.
Regards,
Lokesh
|
|
|
|
|
Hi friends,
i have one query ,using one of my webmethod i need to send mail.
for this i used this code
StringBuilder mailMessage1 = new StringBuilder(reader1.ReadToEnd());
MailMessage msgMail1 = new MailMessage();
from = "abc@y.com";
msgMail1.From = new MailAddress(from);
msgMail1.To.Add(new MailAddress(toID));//toID coming from database
msgMail1.Priority = MailPriority.High;
msgMail1.Subject = "Service Next:Ticket No" + "" + ticketID;
msgMail1.Body = mailMessage1.ToString();
msgMail1.IsBodyHtml = true;
SmtpClient smtpClient1 = new SmtpClient();
smtpClient1.Host = "172.17.0.16";
smtpClient1.Send(msgMail1);
problem is in my database toID has 2 values
1.mail format(ex:x@y.com)
1.Not Available
if toID=mail format means i can send mails perfectly and i am returning flag from database
if toID=Not Available means i am getting error (ex:email is not in correct format)i am not returning any flag.
if toID=Not Available means i need to send message through webmethod .
how to do this ,if anybody have idea please help me
Regards
RamaDevi.
samrama
|
|
|
|
|
Hai...
How can view the summary field of a previous page in the current crystal report page........
It's very urgent can any one help me for this .........
|
|
|
|
|
|
As a student surely you have come across the concept of research? there are literally thousands of examples available if you look.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
You're quite welcome, any time. What do you expect, somebody to do your work for you - and presumably share your degree (which you will not deserve as you are too damned idle to even use google).
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I have a DetailsView control on my website, and I notice when I edit, insert or simply displaying a record, the width of the fields vary. To make them consisten, I converted all of the fields to templateField, and had to change the 'width' property for each field within each template (ItemTemplate, EditTemplate, InsertTemplate).
Is this the best or most efficient way of standardizing the DetailsView field widths? Perhaps there is a way to simply state the width once and all fields within DetailsView will inherit that value?
Thanks,
|
|
|
|
|
And I'm an advocate for testing your web applications in the four major browsers:
1. IE
2. Firefox
3. Safari
4. Chrome
I recently had a Javascript error in my page and I used:
IE 7 - Did not break the page - This is why I love IE. It hides bad developers' mistakes
IE 8 - Broke the page but did not report the error
Firefox 3.0.3 - Broke the page but did not report the error in the error console
Chrome - Broke the page and reported the error!
I was not a big fan of Chrome at first. I taught it was a Firefox clone. But because of this I might jump on the Google bandwagon.
|
|
|
|
|
I've had FF3 , IE6, Opera 9.5
I think a web developer should have some popular internet browser to test its programs on them .
|
|
|
|
|
kjmcsd wrote: This is why I love IE. It hides bad developers' mistakes
Surely just writing good code is better?
And at the same time it breaks pretty much every standard that the other, "Mozilla-based" browsers conform to. In my opinion it's a nightmare, and it is a burden that it has the dominant web browser market share.
I personally use Opera and Firefox because of their development tools, as well as the fact that they run much faster than IE, although I periodically make sure my code works in IE and several other browsers such as Chrome and Safari just to make sure it's cross-browser compatible.
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
Hi Perspx. Long time no see
Perspx wrote: although I periodically make sure my code works in IE
I don't think so because I've seen some website(codes) that work in FF3, Opera but it didn't work in IE6 well.
|
|
|
|
|
How do you get to test on Safari? Do you own a Apple mac, or is there some way in which I can install it onto Windows?
Also, how do I get a copy of IE6 on my PC? I am currently running IE7, it's just for testing purposes.
Thanks
Brendan
|
|
|
|
|
Apple have a Windows version of Safari available to download.
A search for IE6 for testing returns some promising results also.
Regards,
--Perspx
"A refund for defective software might be nice, except it would bankrupt the entire software industry in the first year." -Andrew Tanenbaum
"Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer." -Fred Brooks
|
|
|
|
|
Firefox 3.x with Firebug + Web Developer toolbar addons works for me. I like the debugging features and the way you can graphically inspect and drilldown into the html. Web Dev. toolbar has some nice stuff too.
Be careful when you use addons in FF3! I spent about 2hrs trying to track down a Javascript error yesterday only to find that one of the addons had caused it. Still havent worked out which one yet, but after disabling all 22, the error went away! I also had a problem once where one of the addons was causing a double postback each time the page loaded because it was validating the html.
|
|
|
|
|
I have a separate Firefox profile set up, with Firebug and various other development tools. I test there first. Generally*, once i've fixed any errors or warnings, I do not run into problems on any of the other major browsers - i'm of the opinion that your development and testing environment should be strict for this reason; a browser that lets errors slip past undetected is a browser that encourages you to inflict them on your end-users who use other browsers.
Note that by default, Firefox is fairly lax when it comes to errors and hides most warnings. You can turn on JS warnings and strict warnings using about:config or the Console Options menu in Firebug - be aware, strict warnings are very strict...
*naturally, this falls apart when i need to use a separate API for IE - selection and text ranges fall into this category.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
There is no particular one that is better than the other. You should test on all of the major browsers to ensure your app is going to do what it is supposed to.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
The best browser for web development is the one your customer will use.
I'm waiting for Windows Feng Shui, where you have to re-arrange your icons in a manner which best enables your application to run. Richard Jones
|
|
|
|
|
Hello guys
Can we create a toolbar for an Internet Brwoser like IE6/7 ?
Thank you
|
|
|
|
|
This google search[^] sounds like it is possible to create IE toolbars in C#...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|