474 Posted Topics
Re: For Sanchixx's moving div don't use position:fixed, put a wrapper div around the entire content, with a suitable width, and then your div or anything else will not move. Rememeber that not everyone has a big screen nor does everyone work with the browser full screen, so think carefully about … | |
Re: with **eleven** style sheets, where do we start??? | |
Re: write a series of queries, each one runing one after the other, on a separate line. Run these queries vai a script of a remote access database manager such as heidiSQL. | |
Re: Define the number of changes you will accept before you start charging more for the extra work. Don't work for free! | |
Re: this is a database problem. how good are your mysql / php skills | |
Re: You could always show us your site and point out the bit that isn't working properly for you... | |
Re: Type the following magical incantation next to the link "To save the file, right click the link and select Save as.." Then the powers of darkeness and psychic forces extraordinary are invoked when the user does as he/she is told, and they can save the file. | |
Re: or read up on the son of suckerfish, or superfish menus. they are reliable and widely used systems. | |
Re: google for "son of suckerfish" or for "superfish", the former is a very VERY small bit of javascritp, 12 lines if I rememebr correctly, which makes css based drop downs or flyout menus work in IE. No need at all to write your own javascript. Superfish is jQuery code that … | |
Re: Start by exporting your data out of your excel spreadsheet! People are talking sometimes about importing the excel spreadsheet which is NOT a csv file (csv doesn't need to be comma delimited incidentally, tabs are quite acceptable) so use Save as and select the file type of tab delimited **text** … | |
Re: Are you using a slider you wrote yourself, or one you found on the internet? There are many reliable jQuery sliders which are free to use, as well as some for sale. try one of these http://vandelaydesign.com/blog/web-development/jquery-image-galleries/ or these http://webdesign14.com/30-best-jquery-lightbox-plugins/ | |
Re: As above. The ER is where you discover your entities and hence your db tables (I always find this MUCH faster than collecting all attributes and formally normalising them via rules). The ER, as far as I'm concerned, is always the first important step in creating the database. The ER … | |
Re: Remember that for the update to work, you need a unique identifier for the row to be updated. This could even be a hidden field containing the row's primary key, if you see no reason to display the pk to the user. | |
Re: I **think** that this bit > <li><a href='index.php?action=manage'>Manage</a></li></li> > </ul>"; should be ><li><a href='index.php?action=manage'>Manage</a></li> ></ul> ></li> >"; > i.e. close the nested ul inside the li containing it | |
Re: When you float items, say an image or div, the next item below it, if another image or div, can catch on to the lower edge and get stuck, sort of bumping into it instead of going past it; or as mentioned above, in the case of text it can … | |
Re: MySQL>Data>dbname at least that's where it is in my installation of usbwebserver on my windows laptops. copy the **folder** with the database name and paste in new location. Test this first of course. There are three files per table in the database: .frm = table definition; .MYD = table data; … | |
![]() | Re: It's perfectly normal to work that way. That's one of the main uses of an include file |
Re: The browser plug-in should show a pdf option bar on the pdf itself (bottom, centre) when the mouse is over it, and that includes a print option. Not all browsers do this however. Chrome does, and allows printing from the normal print menu, as does IE9 and IE8. Firefox shows … | |
Re: why make life difficult? one form, one file, one other file called to do the submit (and validation) second form, second file, second other file called to validate and submit. This is SOOOO much simpler, safer and easier to write and troubleshoot than a more complex system, which you've just … ![]() | |
Re: This has been the standard problem for ALL job searchers in all professions for as long as I can remember. It is not a problem that just applies to computer science. The best answer is usually to be top of the class and go for a career where a degree … | |
Re: There's no sign of a doctype in your html, and a lack of a doctype always triggers quirks mode, which is a different model in different browsers. http://www.alistapart.com/articles/doctype/ and choose the HTML 4.01 Strict (or Transitional). Ignore the XHTML, as many browsers convert it back to html, so you gain … | |
Re: Use some browser specific code, and then to get your css3 to work in earlier versions of IE, use http://css3pie.com/. google on cross-browser css shadows / corners, whatever other effect you want for the browser specific code to use. for example -webkit-box-shadow: 4px 4px 4px #ccc; -moz-box-shadow: 4px 4px 4px … | |
Re: Only the file size matters for loading speed, not the image type. For simple graphics, not pictures, gif is usually the smallest file size. But gif is NOT suitable for pictures, it distorts them, making them blotchy looking. For pictures, jpg is usually the smallest file size. But jpg is … | |
Re: There are a huge number of free wordpress templates available for portfolio/photography sites. Try searching for them using the obvious keywords wordpress photo gallery template. The choice is massive, and it can be worth paying to have the template designed by bit removed, if you have a client paying you, … | |
Re: margin:0; might help. as would using <ul> and <li> and <div> and not tables for layout. | |
Re: better to use 960px width in the above code, to allow for all browser chrome and get it away from the very edges of the browser. The two div answer above is wrong and unnecessary. The outer div (#page) doesn't do anything at all! | |
Re: Can you give the proper full url to the test page. On going to the link [url]http://ocklaw.com/new/about/[/url] a few things struck me. This may come as a surprise to you, but my screen may not be the same size as yours, and my browser isn't running full screen. So the … | |
Re: You must learn HTML and CSS before ever touching PHP, SQL and JavaScript, which is NOT out of date, it is used for lots of things, especially in the case of jQuery, which is a library of useful code that reduces the effort to do many things. And many developers … | |
| |
Re: Don't do this. Calculate the value after you extract it from the database and before you display it to the user. There is no need to store derived values. As you can see , it is causing you problems already. Whenever anyone changes a mark, you will have this problem … | |
Re: I was just about to say what hericles said. Your desired method (changing the entire database every night) is a flawed approach. Since even with your approach you will still have to look at the value returned and have your code make a decision based on the value, why change … | |
Re: First, STOP using position:absolute as that sets the position to be in a fixed place on the screen. So centering just will not work! And as for using an area map - well I have serious doubts about anything like that to create links. It is an extremely old-fashioned way … | |
Re: I suspect you are trying to break your normalised table, and if you store data in the format you are suggesting, querying the table would become trickier. In your example above, all the As are in data1, all the Bs in data2, all the Cs in data3. But somehow I … | |
Re: The answer above is how I do it. The function nl2br() was created specifically for this sort of thing. | |
Re: And how can we help you??? With no sample page to examine what can we suggest? Upload your page somewhere that we can examine it. But just to get things rolling - have you bothered to declare a doctype? | |
Re: html is not programming, programming concepts do not apply to html the concept of macros does not exist. But if you create php pages, php being a programming language, you can use include files to write common parts of your page, and on editing a file file affect all your … | |
Re: You have the field `club_id` int(11) NOT NULL COMMENT 'Foreign Key', in the nation table This doesn't make sense. It implies that each nation only has a single club in it. It would make more sense to me if the club table had it's nation id in there as a … | |
Re: What does the number represent? Is it a count of something the user is doing? Or is it the step in a process that the user has reached? | |
Re: Look for any simple slide show that does that - [url]www.cssplay.co.uk/menu[/url] has a couple of examples that do that. Using css. this isn't quite what you asked for [url]http://www.cssplay.co.uk/menu/magnify.html[/url] [url]http://www.cssplay.co.uk/menu/image-bounce.html[/url] [url]http://www.cssplay.co.uk/menu/zoom-gallery.html[/url] [url]http://www.cssplay.co.uk/menu/css3-image-enlarger.html[/url] [url]http://www.cssplay.co.uk/menu/zoom.html[/url] [url]http://www.cssplay.co.uk/menu/cssplay-popbox.html[/url] but they work. And there are other similar things there | |
Re: the Web Developer Toolbar that was mentioned has a Chrome version. I use it all the time, especially the edit css tool which is how to do a trial edit and see the result, without touching your real css file. Posting the jquery library is not going to help with … | |
Re: Or just add overflow:auto to the wrapper's css. That usually makes it expand properly. Sometimes overflow:visible works too. | |
Re: FrontPage!!!! One of the most rubbish web tools around. Even MS disowned it several years ago. I too have never seen a web host offering Access as the database, so that's not worth trying at all. It is much better to just follow the advice given above. Doing things the … | |
Re: This would be so much easier if you pointed us at the web page, then we could see what you mean and use web developer toolbar to edit things locally. Otherwise, we have to recreate PART of your page on our own machines, and it could be something else that … | |
Re: And don't use tables for layout - as a technique, that is soooo last century | |
Re: This is possible using php via the gd library. Most installations of PHP now have this library installed by default. With this library you can draw graphs and resize images at the server end and deliver optimised graphics that way from a single image. you can do the same with … | |
Re: Your ISP might also be caching things, and perhaps the others are automatically issuing a request for fresh data. Just a possibility. | |
Re: set the image background on the div containing the menu, then the image will create a bar the width of that div. Putting it as background to the <ul> means it stops where the <ul> stops. | |
Re: If your page expands to fill the screen totally and the browser is maximised, then on a 21" or 24" monitor, the user will be trying to read lines of text up to 21" or 23" in length! This is a very BAD thing - finding the beginning of the … | |
Re: Most web based projects use either PHP, which can link easily to MySQL, the commonest database used in web development, or ASP. More recently Ruby, of which I have no experience at all, is also being used. HMTL is a way to mark up your web page content, not a … |
The End.