474 Posted Topics
![]() | Re: When you zoom in the text gets bigger and the confines of the div the main text is in make it wrap, as you'd expect. Your logo on the other hand just gets bigger, and as the div it is in has no constraint on size, that two gets bigger. … ![]() |
Re: Lemur, you code is totally invalid - you have an empty ul (no li inside it), with instead an img inside it. Then you have li tags not inside an ul. Please learn some basic html before posting code like that. | |
Re: Create a div, give it a class name, a width equal to the four icons plus any padding between them, and margin :auto float the img / icon in the div left. add the text in another div below this (same class name) add the next set of icons in … | |
Re: Have you heard of google? it works. About 209,000 results | |
Re: Or a simpler way. create a file index.php, that is your normal home page. Upload it. create a second one called index.html that contains the just words "site off line" upload the index.html when the site is off line. Delete it when it is on line. no need to touch … | |
Re: You should be using floats for this layout! Otherwise each div will automatically appear below the previous one, which is what you are getting with your current code. [code] #right-navigation{ width:290px; height:658px; /*margin-top:90px;/*this space is for right upper navigation*/ background:#E9E9E9;/*light blue colour*/ border: 1px solid black; float:right; } #right-upper-navigation{ width:290px; … | |
Re: [QUOTE=keldonkor;1402629]i would like you to help me to build my school database query rightnow[/QUOTE] In your dreams. | |
Re: mysql uses the following date format yyyy-mm-dd you will have problems until you format your date correctly. | |
Re: If you view the source code as delivered to the browser, you can see that the doctype has not been used. So follow the earlier advice about placing the doctype declaration outside the php part of the page. Also there are a few oddities about your page There are THREE … | |
Re: It's usually easy to start testing in firefox, then alter things if necessary to work in IE. But when you say IE, which version are you using? | |
Re: You need a php uploader, password controlled, and preferably only those who do the uploading know the page even exists. If they upload to a folder with no index page and your server shows the folder contents when there is no index page, then everyone can see the documents to … | |
Re: typical inaccurate stuff from w3schools ! have a quick look at [url]www.w3fools.com[/url] and learn why you should treat that site's lessons with care. What your code does is just a typical way to style your menu, which you should create as an unordered list. | |
![]() | Re: the concept of sorting the data in the table is meaningless, as you can only see the data when you query the table. so use an order by clause and for all practical purposes, you will image that your table is sorted. When you delete a few rows and then … ![]() |
Re: Use two divs, one inside the other. give the outer div a background color. give the inner one a different color. give them both a width, and make that of the inner one smaller by the sum of the left and right "padding". (eg outer width=800px, inner = 600px) Set … | |
Re: I don't think your use of iFrames is appropriate for your site. You're building and styling the site the way things were done in 1996. Look around the web a bit and you'll not see many sites build the way yours is. iFrames are generally only used on an odd … | |
Re: Where is the data you want displayed coming from? A database? If so how are you extracting the data? | |
Re: Before you start following what they "teach" at w3schools, it pays to know a few things. It's run by just a couple of guys. It has ABSOLUTELY NO CONNECTION WHAT SO EVER with W3C / w3.org at all. It is NOT run by w3.org . It's owners are cashing in … ![]() | |
Re: You found that site? Gosh and you even based your username on it, you were so impressed. Must be good. Pity about the Java icon next to a JavaScript tutorial... | |
Re: What type of application did you use to create you basic web page? A word processor? A text editor? A web page creation program? From where I'm sitting just now I can see nothing wrong with your file, so we need a few clues. | |
Re: Create a style called #current and apply that to the link that refers to the page you are on. Style the link as appropriate - in your case text-decoration:underline; #current {text-decoration:underline;} <a id="current" href="thispage.htm">This Page</a> You'd do this on each page of the site. | |
Re: [url]http://vandelaydesign.com/blog/web-development/jquery-image-galleries/[/url] gives you lots to choose from I've used this one a couple of times [url]http://www.digitalia.be/software/slimbox2[/url] | |
Re: A good first step would be to re-write it and use html, you know, things like h1, h2, h3, p, perhaps a few ul, li and the like. You site is almost totally lacking in html tags, apart from the div tag, link tags and img tags - there isn't … | |
Re: I use tab delimited files, not csv, so much easier, as I too have a comma in the middle of some fields. I also use some software (SQL Manager Lite for MySQL, from EMS or HeidiSQL) for remote connection, so I don't even have to upload the file in advance. … | |
Re: And remember that google can't read your images, so if there is any text in them, google can't read that. You get a bonus from google if the words used in a link are the words the searcher is looking for. If there are no words, you've thrown away something … | |
Re: this bit is weird WHERE movie_title IN (SELECT * FROM (SELECT movie_title FROM movie_temp) AS TEMP); You are using a sub-sub-query to select movie_title, then using a sub-query to select * from the sub-sub-query, which will give you the exact same result as the sub-sub query - every single movie_title … | |
Re: Go on, someone send him a 600mb file of plain text... Might fill and close his mail box... Ah, just noticed he wanted it to gmail, so it wouldn't. unless we ALL sent him a file | |
Re: You'd have to use the html entities instead of the < and > eg 1<br>2<br>3<br> which the browser will then display as 1<br>2<br>3<br> < means the less then symbol, < > means the great than symbol, > to get a new line from pressing the enter key, you'd have to … | |
Re: Upload the image again. It could have been corrupted the first time. PS Chrome and Safari use the same engine, so usually give the same results. | |
Re: If you give the first item in each drop-down a class of .first and set the styles .first {margin-top:10px;} it will move that item down a bit for you. If you try applying it to the hpmenu ul, it makes a gap between ALL the items in the drop-down, which … | |
Re: The order of rows in the actual database is totally irrelevant (and that is part of relational database theory - there is NO sequence). You determine the order rows are displayed when you query the database, IF the display order matters. How big is your huge text file? | |
Re: Your way is just wrong, the method above is correct. | |
Re: Are you sure about these quotes around combination? I've never done that when using sql. WHERE test1.IDONE = `combination`.IDONE | |
Re: Sorry, but if just driverID and vehicleID are the joint primary key OR are a unique pairing, then no driver can ever drive the same vehicle more than once. Ever. Therefore the suggestion above is just WRONG. As you originally had it, a triple joint primary key was the correct … | |
Re: If you're working on a worthwhile project and it can't afford a budget of about $150, it's not really a worthwhile project, is it? Although I didn't notice it supporting SQLite either. | |
Re: No, he means [B]his knowledge[/B] of SQL isn't the best, not the dbms called MySQL isn't the best. As we can tell from the lack of a primary key restriction on column A ;) There should only be one row for each value of A. Full Stop. You should not … | |
Re: you're using position:fixed and position:absolute That usually causes lots of problems. Position:fixed says place it exactly here in the browser, no matter what the user does about scrolling, at these points relative to the corners of the viewport. I'd suggest scrapping this design which is seriously doomed to failure and … | |
Re: The concat does not need a second select. also if you use Select *, it pulls up everything, but then you are asking it for more individually named fields, so several fields will appear twice! so let's make a start on things. Replace this [code]`fullName` FROM ( SELECT CONCAT( `customer_name` … | |
Re: You'd also need details of WHO authorised the medication each time, who administered it, and probably other things too in the table above. | |
Re: No, you need to set it in a div, give the div a name (class or id, whichever is most appropriate), give the div a width and set margin:auto. And of course drop the position:absolute completely - it's almost always a bad idea to use position:absolute. If you expect to … | |
Re: That means that the data entered into the database had a <br /> in it (and <br /> is the code for a line break). It is VERY likely that your input script is first converting the newline into a <br /> then inserting it into the databsae. What I … | |
Re: Remember that a visitor can read your javascript... not exactly secure, is it/ | |
Re: Use an ecommerce package which can handle this for you. They tend to create a link that is stored in their database and triggers the formation of the page, but the code is timestamped to expire after a day or three. I also think they tend to mark it as … | |
Re: Apart from still using { } instead of ( ) where you have any line like this SNAME varchar( 200 ) NOT NULL default, you have to state what the default value is. eg SNAME varchar( 200 ) NOT NULL default 'fred', so obviously you will have trouble setting default … | |
Re: Create a link in the normal way and set target="_blank" The new page will open as a new window. PS Any idea why iceandrews thinks that a board on html and css is the wrong one for a question like this??? | |
Re: DON'T use absolute positioning. Create a wrapper div first, give it a width, and then set margin:auto for it in the css. That will center it. Inside that div create a header div and inside that put the content that is your header image (probably better as the background image … | |
Re: nearly right it's a left outer join [code] SELECT months.month, IFNULL( payroll.pay, 0 ) AS pay FROM months LEFT OUTER JOIN payroll ON payroll.month = months.month [/code] | |
Re: Missing from the above answers is the css3 styles for up to date browsers, so the full code would look like this .yourdiv [ -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; /* the css3 code */ } Always use all three bits of code when you want rounded corners. Next, you … | |
Re: Easiest way is to do a normal join, ordering by student_id, then process the output in code - PHP or whatever you are using. However, unless everyone is taking the very same subjects, and you include subject name and sort on that too, there will be no relationship between any … | |
Re: It might help if we saw what was in the original table you are querying. And that's not an inner join, it's just a join. | |
Re: Let's start with the most obvious errors and clear them away first, shall we? You have float:both; for #menu float takes the object out of the normal document flow and moves it over to the left or the right edge of whatever is containing it. There is no such thing … |
The End.