474 Posted Topics
Re: yes Set the small screen css first in the normal way. Then use javascript to over ride this with the wide screen version. No need to mention the small one in the javascript. | |
Re: you could try looking at the code used... [code] <div class="map"> <iframe marginheight="0" marginwidth="0" src="http://maps.google.co.za/maps?f=q&source=s_q&hl=en&geocode=&q=4+chester+drive,+bishopscourt&sll=-33.991125,18.442891&sspn=0.010942,0.01929&ie=UTF8&hq=&hnear=4+Chester+Dr,+Bishopscourt,+Western+Cape&ll=-33.984648,18.447247&spn=0.021707,0.085745&z=14&output=embed" scrolling="no" frameborder="0" height="425" width="1000"></iframe><br><small><a href="http://maps.google.co.za/maps?f=q&source=embed&hl=en&geocode=&q=4+chester+drive,+bishopscourt&sll=-33.991125,18.442891&sspn=0.010942,0.01929&ie=UTF8&hq=&hnear=4+Chester+Dr,+Bishopscourt,+Western+Cape&ll=-33.984648,18.447247&spn=0.021707,0.085745&z=16" style="color: rgb(0, 0, 255); text-align: left;">View Larger Map</a></small> </div> [/code] They show the larger map by simply linking directly to google maps summarising the code [code] <div class="map"> <iframe src … | |
Re: html says # <div id = "left_"> css says #left_b Also left_b would need a height to display the background image. (Floating the divs inside it takes them out of the normal document flow, so the div appears empty with zero height, so the background is not visible.) Finally, there … | |
Re: If you dump ALL the styles in the head (css file and the repeated css styles embedded in the head) and set border=2 for your table (TABLES!!! it's the 21st century!), then you will see that something is throwing an extra something, perhaps a td, at IE, sitting between the … | |
Re: The correct answer is to make your wrapper div, give it a width, and set margin:auto. The bit about text-align is an old technique used when you work with ie6, and then it requires more code to overcome the text being aligned centre. Also only about 10% of users are … | |
Re: If you give the divs horizontalnav and minihorizontalnav a height they will appear. Currently it's as if they are displaying at zero height, so you can't see the background color of these divs, so the menus show as white on white, outside/below the divs. Alternatively if you give the background … | |
Re: Yes, way off base. Position:absolute is dreadful, while position:relative often SOLVES problems with other things. If divs are physically overlapping, that means you have some strange code elsewhere that is the real problem. | |
Re: Create several sets of separate queries, each stored in a password protected folder, one for each group. The queries simple retrieve what each group is allowed to see. Included a posted_by field in the database and the queries. | |
Re: What format are the images in? Also, creating a web page using MS Word, or any other program not originally designed to create web pages really does make helping you very difficult, as the page will be full of rubbish whose sole purpose is to convert it back into a … | |
Re: [QUOTE=pritaeas;1177611]In my opinion this is the best reference: [url]http://matthewjamestaylor.com/blog/perfect-3-column.htm[/url][/QUOTE] That's one overly complicated way to get a simple three col layout!!! [code] <div id=wrapper> <div id=header> </div> <div id=left> </div> <div id=content> </div> <div id=right> </div> <div id=footer> </div> </div> [/code] That's how the rest of the world does it. … | |
Re: this [code] WHERE thread.threadid = threadoffering.threadid AND where threadoffering.year AND threadoffering.season = currentDate AND where threadoffering.User > 1 AND threadLocation = CS [/code] has two WHEREs in it. Start by changing it to this [code] WHERE thread.threadid = threadoffering.threadid AND threadoffering.year AND threadoffering.season = currentDate AND where threadoffering.User > 1 … | |
Re: Why do you have quotes around the table name and column name? I've never done that. | |
Re: Think more about this line "Many clients can arrange a viewing for a property." | |
Re: [code]Select * from friends where name1='james' or name2='james';[/code] OR [code=sql]Select name2 from friends where name1='james' union select name1 from friends where name2='james';[/code] This second one is most likely what you want as it gives a list of just the friends' name. | |
Re: You need to learn PHP programming and MySQL databases to do this properly. It is not a simple fix. You then need to secure each and every page that is for logged in people to exclude those who are not authorised. The action part of the form has to call … ![]() | |
Re: It appears to be related to the lack of any height info, not necessarily just the border. A border means it has some physical height attached to it. Adding height:1%; or min-height:10px; or something similar gets you back to the first page's layout. If you cut out the entire declaration … | |
Re: A color not being supported in IE7!!! Total nonsense. Be serious! As for the original question, seeing a bit of code might be more helpful, so we can see what you've done wrong rather than just guessing. | |
Re: A union is used when a set of columns with the same name and same data-type are present in two tables (or the same table but two aliases, and you are querying on two exclusive sets of conditions) and you wish to present the combined data extracted from each table. … | |
Re: Uninstal, re-install, and ignore the tutorial. Or uninstall, and install xampp lite instead. Both sets of applications will be supplied with a user and a password already, so changing things means you have to configure phpmyadmin to use the new username and password. Reinstalling is probably quicker. | |
Re: Unless you have many millions of records in the table, one table and a current_student field would work okay. Adding an index or two would speed things up. The primary key will automatically get indexed, but in this case adding an index on current_student would be an excellent idea. One … | |
Re: Have you tried feeding these queries directly into the database, not generating them / choosing them via your php code? You should always start by checking the query itself is correct, then using the php to choose which of your now tried and tested queries to use. | |
Re: The %Y%m%d are formatting instructions used INSIDE the date_format() function. Outside that function they are probably totally meaningless. They are probably being interpreted literally and may not be valid characters to include in a table name, unless the entire name was quoted, which would then cause you problems of having … | |
Re: Arrange the order of the columns to match that of the database, and every column in the database must have a matching column in the spreadsheet. Export the data from the spreadsheet as txt (tab delimited) not csv. no column headings, as already mentioned. Run a query like this. [code] … | |
Re: try this instead [code] $sl="INSERT INTO stud (name,CID) VALUES ('$_POST[name]','$id')"; [/code] PS also try echoing the $id to make sure there is a value | |
Re: clear takes one of four values: none (the default) left right both ALL is not an option. so the browser is guessing that you don't know how to use clear and trying something else. IE8 is more standards compliant the IE7, and may not be applying the same correction to … | |
Re: you appear to be testing for a space being entered, when you should be testing for an empty field. Try this instead [code] <?php include ("conn.php"); $uniqueT=trim($_POST['uniqueidT']); $fnameT=trim($_POST['fnameT']); $snameT=trim($_POST['snameT']); $tottreat=trim($_POST['tottreatT']); $treatcom=trim($_POST['treatcomT']); $ampay=trim($_POST['ampayT']); $filelink=trim($_POST['filelink']); if ( $uniqueT == '' OR $fnameT == '' OR $snameT == '' OR $tottreatT == '' … | |
Re: If you mean wrap the text (scroll means move/animate it), you have to put the table in a div of a given size, probably floated left or right , and the text outside the div. or more likely like this [code] <div class="outer"> <div class="inner"> table bit here </div> text … | |
Re: [url]http://www.sitepoint.com/books/html2/[/url] Also Css Mastery by andy budd. The difference between a book and a web site is that any fool can throw up a tutorial. And no-one has to approve it before it goes on line, no-one has to check that it is correct, that it reliable and accurate, that … | |
Re: First, use alter table to add a new field called password2. Then run an update query to set password2=sha1(password) I strongly suggest you make a practice table first, of course. Then, use alter table again, this time to remove the password field and then to rename password2 to password. You … | |
Re: project---equipment is not correct project---employee is not correct. Have another think about these. | |
Re: Pages you didn't want the search engine to index. Okay, to be more specific, log-in pages to admin sections of a site. Any other admin type pages, say for a CMS. Members areas that might include a set of tutorials or pdfs or private info of some sort. ![]() | |
Re: [url]http://www.sqlmanager.net/products/mysql/manager[/url] And the lite version is free to use. | |
Re: Well I copied your code and viewed in in Firefox than IE Tester as IE6, and it looks the same in both. and from the words [quote] for IE6 (maybe the higher ones are affected too)? [/quote] Are you only testing things in FF and IE6?? That's a bit risky. | |
Re: Is the database being told to store 1980-03-01 or a unix timestamp or a day in the year number, which when read back gets converted to 1980-02-29, based on its day number. | |
Re: Use PHP - it is the standard way to talk to a web based MySQL database (or almost any other web based database). It will almost certainly be installed already on the server. | |
Re: it is correct. you can have as many conditions as you wish in the WHERE | |
Re: The real question is why have you designed a database where you need to do this, and what are you trying to achieve - ie show the table schemas, and what you are looking for in the output. | |
Re: sorry, but that's how auto-increment works. live with it. | |
Re: Tables for layout are a bad idea. Do try to learn about divs. Google on son of suckerfish to learn how most people make menus with sub-menus. It's very simple to use. | |
Re: does the tag field contain one tag eg blue or do you have multiple tags in it eg blue, sky, clouds If it's the second one, start by redesigning your database! Because the second means you have to rebuild it and have a threads table and a tagged table thread---<tagged … | |
Re: PHP is executed at the server, javascript is executed in the browser. Like html, javascript is plain text. So of course it loads as fast as html - it is simply sent directly to your browser, just like html. Your browser or computer might be slow at using the script … | |
Re: transfer your pages using ftp - it may be built in to your web design software, or it may require a separate ftp program. | |
Re: Of course you can do it in dreamweaver, it's a web design program. But you may have to expand on what your form does for a better answer, and you may have to write some php to process your form's input and output (forms are actual dead, lifeless items unless … | |
Re: [B]NOT with PHP[/B] - this would require a call to the server every time the mouse moved over the area. Use javascript. This executes in the client's browser and so saves all the back and forth info flow between the client and the server. Or use css. Make the area … | |
Re: [url]www.cssplay.co.uk[/url] Lots of examples of this there, usually under slideshow. | |
Re: it's been php as the main web programming language for about ten years now - where have you been? ;) | |
Re: This is NOT properly normalised tbl_prim_pres_elect state state_id date cand_id cand_name party_id numb_votes Because cand_id dictates cand_name and party_id SO you should have a candidate table containing that data. next state and state_id - will there be two states with the same name??? No, so the true primary key for … | |
![]() |
The End.