|
Hi!
When defining styles in a stylesheet, is it wise to use _ and -? Something like members-area? Why I ask is does all browsers read it, or will some experience errors?i can keep it membersarea, but it's difficult to read.
Regards,
ma se
|
|
|
|
|
Avoid those characters in class names. I can't find right now if they are allowed or not, but I think that I have seen that some browsers have problems with those.
You can use hungarian notation for the class names to make them more readable: MembersArea
Remember that class names in CSS are case sensetive, though.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: You can use hungarian notation for the class names to make them more readable: MembersArea
wouldn't the hungarian notation include type info - rgMembersArea (char array), strMem.... etc?
Just out of interest, the java ' membersArea ' form - what do they call that again?
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
RichardGrimmer wrote: wouldn't the hungarian notation include type info - rgMembersArea (char array), strMem.... etc?
Yes. Hungarian notation came out from the mess that I refer to as my brain, when I intended to say Pascal case.
RichardGrimmer wrote: Just out of interest, the java ' membersArea ' form - what do they call that again?
That is called camel case. Pascal case is sometimes referred to as upper camel case, and subsequently camel case is then referred to as lower camel case.
---
b { font-weight: normal; }
|
|
|
|
|
I have a textarea for which when the text exceeds the length of the textarea the text should come down to the next line without any horizontal scroll bars appearing. This is the default behaviour in IE but in Firefox whenever the text exceeds the length of the textarea, horizontal scrollbars appear (which i do not appear).Please advise.
|
|
|
|
|
have you tried experimenting with the WRAP = SOFT | HARD | OFF attribute of the TEXTAREA?
Note:
Officially, the HTML 4.0 specs don't list WRAP, but Netscape and MSIE list WRAP = HARD | SOFT | OFF in their guides.
SOFT wraps long lines in the text area for easy editing, much like a word processor. It does not, however, send the carriage returns to the server. This type of wrap is probably the most useful because it is the easiest for the user to edit, but it does not actually change any of their data. HARD looks to the user like SOFT, but the carriage returns the user sees are sent to the server. OFF does not wrap at all; it displays and sends the text exactly as typed in.
cheers
P
|
|
|
|
|
hi thnks for ur reply..
i tried with WRAP=SOFT/HARD/OFF attributes of textarea, if we are using IE this is working fine but it is not working in Firefox browser. please give me advice..
|
|
|
|
|
You're not the only one experienced this - try researching this on Google (search: Firefox wrap textarea) - this may help:
[^]
cheers
P
|
|
|
|
|
Thanks for taking a look for me...I searched on google but I haven't been able to find the answer.
|
|
|
|
|
I you have a path of a picture.
how can i get the Dimensions of the picture
Militiaware
Faris Madi
|
|
|
|
|
What do you have at your disposal? ASP? ASP.NET? JSP? PHP? CGI?
---
b { font-weight: normal; }
|
|
|
|
|
PHP...
Militiaware
Faris Madi
|
|
|
|
|
I only know enough PHP to say hello and thank you, but perhaps someone else here can help you.
---
b { font-weight: normal; }
|
|
|
|
|
|
I want to include the jabber API to chat from my web project. i am new to use jabber. any one who can help me is requested to send some information
in learn_guru_03@yahoo.com. its urgent for me.
-- modified at 7:10 Tuesday 16th May, 2006
|
|
|
|
|
If you go to the site www.sportsline.com, it has an
image and below it Prev and Next. You can click Next
and it flicks through jpgs. It rotates through a stock
of images. How can I put this together where the user can
go through images like this?
Please any response any one can give me will be greatly
appreciated.
Sincerely,
Danielle Brina (an overworked graduate student)
|
|
|
|
|
Edit Sorry I jumped the gun when I responded with out looking at the examples...well I did and the first examples are not correct as they don't offer next/prev links...so instead check this out: Much better[^]
Javascript image rotation scripts: Click here for code snippets[^]
It's frustrating being a genius and living the life of a moron!!!
-- modified at 1:34 Sunday 14th May, 2006
|
|
|
|
|
hi,
How to schedule an aspx page..
I had created an application to send emails.. I want to send emails once/twice for a week,
I had call the method to send an Email in page_load event.. but how to put aspx page in schedule tasks..of System..
balu
|
|
|
|
|
Please don't cross post.
Please write a useful subject.
---
b { font-weight: normal; }
|
|
|
|
|
i dont think that there is a way to do so. you can develop a windows service and can call this application at a regular interval or can specify some conditions.
cheers
Ramesh.Kanjinghat
|
|
|
|
|
Hi!
I am very new to web prog -though I've been doing winapp prog for ages...
I need to have a layout a bit like the code project, where the left and right rows are fixed in lenght and the middle row is not. How do we work with tables to achieve this?
thank you!
Antoine
|
|
|
|
|
Tables was used for layout before CSS came around, simply because there was no alternatives.
Now there are alternatives. I would suggest that you look into using CSS for layout as the first choise. Especially as you are new to the web, and aren't stuck in the html habits of the mid ninetees.
Tables should be used to create tables. They may occasionly be useful for layout, but using tables without CSS produces an utter mess of html code. (I know. I've seen a lot of it, and done a lot of of it myself. In the mid ninetees...)
---
b { font-weight: normal; }
|
|
|
|
|
OK..
thank you for your response. So, do you have a nice pointer for online efficient learning of CSS?
thanks again,
Antoine
|
|
|
|
|
Hey folks... I'd love your help on the HTTP protocol, as I'm trying to integrate it with a client application I'm developing:
Quick description of what I propose to do with the protocol:
* Have a unique URI (mydomain.com/uniqueID) and then go via my C++ MFC client and hit that URI.
* Perform server side code to determine whether there are new files to download
* Files are all web content files with the exception of .txt files (so JPEGs, HTML, CSS, etc....)
* If there are new files to download, I want the client to download *all of it at once*..., effectively downloading all the files from server using the HTTP protocol.
* If there are not new files to download, I'd like for the client to download nothing.
* I would also like to upload .txt files to the server ever hour, read their contents, and insert/update them into my database schema.
* I'd like to use Ruby On Rails if this makes a difference.
Here are my questions:
1) Can the HTTP protocol download multiple files (say 10 HTML files, 20 JPEGs, 10 CSS files) from one URI at once?
1.5) Can HTTP protocol be used to download .txt files?
1.6) Is there anything that the HTTP protocol cannot be used to download?
2) Will my proposed solution of domain.com/uniqueID work?
3) Can HTTP actually be used to upload the text file to the server?
4) Is there a nice way of re-assembling the packets on the Windows side into HTML, JPEG files, etc...? Such as an existing module or source/tutorials you might know of.
5) May I use port 80 on the Windows client side, since the type of traffic I'm transferring is web content.
6) Is there some way Windows checks to make sure only web content files are being transferred over port 80?
7) Is there a good intro/primer for sockets programming on the Windows side?
Thank you so much in advance!
-chasetoys
-- modified at 1:13 Saturday 13th May, 2006
|
|
|
|
|
1) Yes
1.5) Yes
1.6) Kitchen Sink
2) Yes but also see WebService
3) Yes
4) Yes many different encodings are supported see HTTP Content-type header
5) Yes
6) Not native but with additional software it could happen.
7) Sockets.com
Have no idea what the goal is for you but for updating files on a client machine also see BITS on MSDN[^]
And this...[^]
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|