|
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...
|
|
|
|
|
Ed.Poore wrote: <script runat="server" src="
Wait... what's all this then? Unless there's another mode for <script runat="server"> tags that i'm not aware of (which is... quite possible), this'll try to integrate jquery into your server-side code (probably not what you want).
Ditch the runat=... attribute, see if that doesn't fix it.
|
|
|
|
|
That's fixed it thanks oh Shog!
Now, any idea of an easy way to get it to escape the "~/" bit? That's why I'd included the runat attribute.
|
|
|
|
|
|
And thanks in advance for your question.
(Now you have to ask one).
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
How can we put the thread in java script.Can any body plz tell me.
In my priject one function like Funtction() required to call in thread.
|
|
|
|
|
You don't. Current Javascript environments are single-threaded by design. You can, however, use timers, callbacks, and asynchronous HTTP methods to implement reasonably responsive interfaces, provided you leave the heavy lifting to the browser or server.
|
|
|
|
|
I can't imagine that a threaded environment and a stateless environment are a good mix. How do you control multiple threads in an environment where all threads are discarded when you move to the next page ? Why would you need them ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
|
Hi,
I want a javascript that allows(1) all Alphabets
(2) alphabets and Numbers but starting with alphabet
(3) alphabets and Numbers but starting with alphabet can also allow
.(dot character) and @ character
My script should allow any of the above only.
Please help me on this.
|
|
|
|
|
|
I am developing a cross tab crystal report in vb.net....
I want to suppress entire coulmn based on some condition...
format formula editor and all, just suppresses the field and leaves a blank space.
I dont even want to remove that blank coulmn also...could any one help
|
|
|
|