I'm very confused by some strange behaviour I'm having with formatting on the default browser on my Android phone (it's running ICS). I haven't tried it on other smartphones. I'm assuming it's a bug, but I suppose there's the chance that it's not (although it seems unlikely).
If I have something like this:
Lots of text here
Then (if the text is long enough) the text doesn't extend the whole div but only around 1/3 or 1/2 of the way (and wraps around the shortened width). However, if I change it to this:
Lots of text here
The text does extend the whole div and wraps around. The only difference is that I set the background-color property. Is there a proper "accepted" way to avoid this behaviour in the first case? Explicitly setting the background-color to transparent does not fix the problem.
They are both using correct syntax - "background" is shorthand for all the individual background properties[^] and there are several ways you can specify colours in CSS, including 3 or 6 digit hex RGB: CSS colour reference[^]
I am currently developing my own Google Chrome extension right now. My extension has the functionality tosaveand retrieve user data(bookmarks, browser preferences) from a local storage in a computer. Right now there are tools and technologies I am considering tousefor the development of the said extension. Which brings us to my question:
I know for sure that PHP can be responsible for the file handling which includes storing and retrieving of browser data. My concern is that the securityof the written file. Is it possible to put the written textfilein a folder which is locked? Is it possible to make that folder account-controlled meaning for the folder to be accessed there should be username and password to be entered? What tool or technology can handle this?
I need to implement sales web site for a small business, with very basic functionality such as home page with news etc., about us, product into, and ordering and payment. While I would ultimately love to re-code this wheel myself, I am sure one of the many capable CMS packages out there will get the job done much quicker and better.
My first two choices are Drupal and Umbraco. I know ASP.NET well, but my PHP is coming along fine, and I think it will be easier to find hosting for my client for Drupal than for Umbraco.
+1 for Drupal. I've used it, and it's very quick to throw together a simple site. Contributed modules to do almost anthing you want (and many you don't want! ) You can almost certainly do what you need without cutting a single line of PHP (although knowing PHP helps you understand what's really going on.) Plenty of online tutorials, too.
Never heard of Umbraco, so I can't offer an opinion.
AspxCommerce will probably suit you best. It is a promising open source content management system specifically designed for E-Commerce and developed using ASP.NET technology. I am pretty sure that your needs will be met. Take a look at it at www.aspxcommerce.com .
Hi, I have the following script, which is working fine. This is for more-less content. For more content, this is good, but when i click again, text becomes less again, but i want to add one class name for the less button.
This is from where i get the script. http://shakenandstirredweb.com/playground/jquery-more-less-text/[^] i just want to add different arrows for more and less. but there is always one class name. Can anyone help me in this to add a class name in the script. Thanks
// The height of the content block when it's not expanded var adjustheight = 170; // The "more" link text var moreText = "+ More"; // The "less" link text var lessText = "- Less";
// Sets the .more-block div to the specified height and hides any content that overflows $(".more-less .more-block").css('height', adjustheight).css('overflow', 'hidden');
// The section added to the bottom of the "more-less" div $(".more-less").append('
Hi, I am basically a desktop app developer, and for last 1 year I'm into mobility domain, working on apps, and multimedia.
I have very good grip on C, C++ and basically know some HTML, I also have good knowledge of Database query languages.
I'm planning to come up with a website, which is basically like a social networking site facebook, but to be meant for different reason ( Sorry, I can't discuss on that ).
So can please someone help me ,
1) What technologies should I start. 2) How these networking sites are built, with user login etc. 3) Is there any helping documents which I can refer to. 4) What database technologies that I should learn.
I am not really worried about the time. I hope you people help me in this regard.
I follow the lamp stack of Linux, Apache, MySQL and PHP
I do this mainly because of cost, resources, a friendly and knowledged community can be easily found to help guide you on your way. This stack is also very wide used and for good reasons.
2) How these networking sites are built, with user login etc. This is a big question but the short answer is sessions. Sessions store values placed in them by the scripts you write, like a posted form sends username and password to a server. a script on the server scrubs the input, to protect from hackers, and validates the info. If its correct then a session variable(s) is(are) set so you can maintain persistant data between page request. Session related variables can include user name, security level, a saved shopping cart, etc.
3) Is there any helping documents which I can refer to. To numerous to count. This site, "Code Project" is a truly great resource for code snips and guidance. And I do not get paid to write this...well I do not think I do...maybe I should ask also: http://www.php.net/ , http://www.mysql.com/ , http://www.w3schools.com/html/ , http://www.w3schools.com/js/ , http://jquery.com/ , and a place to see where online applications are going sites like this http://html5demos.com/ give you a glimps of whats possible
4) What database technologies that I should learn. MySQL is the most common db engine you will find on the net.
Ok, so you will need to provide us with more information other then 'It aint working'.
Here are some steps that might give you a clue as to what is wrong: - Look through the IIS access files, to see if the request to the service are giving status code 200 or 204 (if not the service is throwing an error, code 503) - Look through the webservice logs, if any, to see if it tells you what is wrong - Make sure you are calling the webservice right, keep in mind SOAP services require POST data in XML format.
Currently, I'm working on a flex project with .Net integration via web service. I'm trying to bind the web service result to a xmllist but always fail to do so. Can anybody provide me ways on how to accomplish such? I have tried to cast the result to Xml in the web service object event handler but still got no luck. I have also tried to set the resultFormat to "e4x" but still it doesn't work.
Your help will be greatly appreciated. Thanks much.
Hello anybody knows how to match the height of my sidebar area to my content area? I just want my sidebar to be the same height as my content area(the posting area). I want it so that my sidebar background will extend all the way down matching the height of the content area, even the sidebar is not having a widget in it. Here is the site http://bloomtheflowercompany.yenius.com/ the green background should extend all the way down even if it has no widget.
One thing which might fit your needs is to enclose both sidebar and content in a <div>, then give your sidebar a height of 100%. That way, the main content "drives" the height of the enclosing div, and the sidebar follows. CSS is cheap, so have a play!