|
As much as possible, use standards-compliant HTML, CSS, JS. There are validators to help you check your work; they aren't perfect, but frequent checking will still save you a lot of re-work later.
Avoid excessively "clever" code. Start with the simplest possible HTML you can get away with, don't worry if it looks bland. Get the basic content and navigation working.
Then, slowly and carefully, add in styling and script via CSS and JS.
Do your initial testing in Firefox, with the Web Developer toolbar installed and Firebug. Turn on "Show CSS" errors. Spent some time learning to use both of these tools.
Once you have your page working more-or-less how you want it to, start testing in Opera, Safari, IE... Yes, you'll need to test in all of them if that's what you want to support - there are still differences, subtle and otherwise, in how they behave. Depending on how clever you got with the styling and scripting, you'll have at least a few things to tweak.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi, Thanks for ths suggestion.
Acctually I am also a web programer. I have a application in which we are using the vbscript, frames, divisions iframes. That application is wotking very good with IE. My job is to work that application with firefox, Safari and opera. I wanted to know that what I need to modify in the application so that it should work with all said browser.
I think I put my question in wrong way. I am sorry for that.
Please suggest.
Thanks,
RK
|
|
|
|
|
Hi,
I want to create a Two level domain names dynamically, how google does for "Blogspot.com".
For example, i have a top level domain "TESTDOMAIN.com". When end user fill a form saying, his domain name is "MyDomain" and submits the form, system will be able to create a sub/second level domain for him like "MyDomain.TESTDOAMIN.com"
I do not have any clue how to do this. This would be a great help if you provide me some inputs or pointing me to some URLs.
Thanks in advance
|
|
|
|
|
You are probably not in a position to do this if you are asking this question. Do some research on DNS and APACHE/IIS configuration.
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Hi all,
I want to make the explorer to full screen, when the user logs in to the site i.e. loading of the default page.
Can any one help me in this regard.
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Just... don't.
No one likes it when some random web page resizes their windows or hides the rest of their desktop. It's annoying and frustrating.
Make your web pages act like web pages. Not bad Macromedia demos from 1997.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
But my customer wants to do it for his site.
Can you tell me a way.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Explain to your customer that it's very bad design, and is only likely to lose him viewers/customers. Part of your job as web developer should be to use your design experience and expertise to guide your client and help him avoid common usability mistakes such as this.
Besides, no technique to do this will work across all browsers. Firefox for example has an option to forbid scripts from resizing the window, which would block any attempt you made to go full screen.
Instead, if you really really really do have some content that looks better full screen, include some text to tell the user that full screen is recommended, and give them a hint on how to set their browser to full screen themselves. (F11 in Firefox & IE, you'll have to research the others yourself.)
Simon
|
|
|
|
|
dear fellows,
i design a webmail that supports utf-8 word. unfortunately, the subject of the email doesnt appear expectedly.
Subject: ???????=E 0?????????new
then, when i tried to reply/forward the email.
Subject: Re: =?utf-8?Q?=E0=B8=81=E0=B8=A3=E0=B8=B8=E0=B8=93=E0=B8=B2=E0=B9=80=E0=B8=87=E 0=B8=B5=E0=B8=A2=E0=B8=9A=E0=B9=80=E0=B8=AA=E0=B8=B5=E0=B8=A2=E0=B8=87new?=
the body part:
---------Original Message---------
From: "XXXX"
To: XXXX
Subject: =?utf-8?Q?=E0=B8=81=E0=B8=A3=E0=B8=B8=E0=B8=93=E0=B8=B2=E0=B9=80=E0=B8=87=E 0=B8=B5=E0=B8=A2=E0=B8=9A=E0=B9=80=E0=B8=AA=E0=B8=B5=E0=B8=A2=E0=B8=87new?=
|
|
|
|
|
1) Wrong forum
2) You're gonna have to be a little bit more specific than "the program i wrote to support utf8 character encoding in email messages... doesn't".
3) Wrong forum
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
OK, I think I could write that after how much I learned the weekend, but I also learned how much I still need to know. Where is a good start? W3 Schools? Some juicy PDF I can read before bed at home? Anyone?
First question, I wanted to have a three column layout, left - menu, centre - content, and right - news. In my noobness, and desire to deliver a prototype before Monday, I went with a table. I would have prefered a div/CSS based layout, but 'vertical divs' escaped me and cut into coding time. Then, I wanted the outer columns fixed width, and the inner to fill the remaining space. Imagine my surprise when I could only get this right by assigning a fixed size to the centre column. Then it expands and contracts with the window, but my guesses to set width-100%, to fill remaining space, were ugly and selfish with screen space.
|
|
|
|
|
Brady Kelly wrote: but 'vertical divs' escaped me
You can use CSS float[^] on divs but I don't recommend it over tables. It seems you are still resisting using tables even though by your own admission you are new to all this and many of us have told you to use tables. In case you are at all interested I wrote my first HTML code in 1994.
led mike
|
|
|
|
|
I'm not resisting tables so much as trying to broaden my layout skills. I learn very fast, so by the time I consider myself proficient using tables, and I'm probably around 50% now, I'd like to already have a start on using CSS for more than just font and padding.
|
|
|
|
|
Brady Kelly wrote: I learn very fast
Well that's the first millionth time I've heard that.
I suggest depth and understanding are preferable to speed.
All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident.
Arthur Schopenhauer - German philosopher (1788 - 1860)
|
|
|
|
|
led mike wrote: Well that's the first millionth time I've heard that.
Yes, but I'm different.
led mike wrote: I suggest depth and understanding are preferable to speed.
That is why I'm reading Charles Petzold's Applications = Code + Markup cover to cover.
|
|
|
|
|
Brady Kelly wrote: I'm reading
Waayyy ahead of you, read it, but so long ago I can't remember it
|
|
|
|
|
It's been criticised a lot for not using diagrams etc. more, but Petzold uses my writing style, highly descriptive and very clear, plain narrative. I have already even forgotten much of what I have read, but it has been a learning process that I'm sure has embedded an understanding of WPF concepts that I plan to re-enforce by stopping every few chapters and playing with all the stuff he has described. When I studied, my favourite parts of the textbox were the exercises at the end of each chapter. I inevitably always did them all. It's a pity more conventional books don't include them.
|
|
|
|
|
Nothing wrong with tables. If it's a table, it's a table, why be fancy for the sake of some people's religious preference ?
CSS is a bitch, don't let anyone tell you otherwise.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: CSS is a bitch, don't let anyone tell you otherwise
Anything with a short-cut syntax like that is evil.
|
|
|
|
|
For general tutorials / info, see here: http://www.codeproject.com/script/Forums/View.aspx?fid=1640&msg=2471435[^]
The three column layout is actually a pretty good fit for CSS. You can accomplish it in several ways - i usually go with either absolute positioning or floating, depending on the particular needs of the page. And using CSS gives you an immediate advantage over tables: you can easily remove or reposition the side columns (for printing or smaller screens) without having to rewrite the whole page. This article should give you a good start[^].
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
In my webform,i am using two javascripts.i am calling both these functions in the body onload().when i am adding one more javascript in the form the other two javascripts are not working.the third javascript does not have a onload function,it just pasted in a table.
why this is happening..?pls help.
|
|
|
|
|
Maybe you should post some code... One of us can take a look at it... We cannot solve your problem by just telling 'something is wrong'.
|
|
|
|
|
Are there any tutorials out there about how to get this to work?
I've been trying to get Facebox up and running as part of my site, the necessary libraries are included through a ContentPlaceHolder in the head section of the master page.
But when I try to view the page ASP.NET throws a fit saying about an unexpected dollar ($) sign on line 23 of the uncompressed jQuery script. I'm guessing this is because it's trying to validate the javascript, is there anyway to turn this off?
Configuration: Visual Studio 2008 Professional using an IIS directory to view the results. Running on IIS 7 on Vistal Ultimate x64.
Many thanks
|
|
|
|
|
Since when does ASP.NET parse js files?
Sorry, i haven't run into this yet.
|
|
|
|
|
I found it odd, but could it be something to do with IIS background compiling it to speed things up? Haven't got a clue. Check out this error[^]
Here are the relevant lines of code:
<asp:Content ID="Header" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
<script runat="server" src="~/Scripting/jquery.js" type="text/javascript"></script>
</asp:Content>
I'm as confused as you are. I'll check through the mappings in IIS to see if something stupid's happening, but this is a vanilla install and a dedicated website set up for it so...
|
|
|
|