474 Posted Topics

Member Avatar for TheNinjaForce

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. …

Member Avatar for TheNinjaForce
0
208
Member Avatar for lemur

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.

Member Avatar for lemur
0
111
Member Avatar for Gearspro

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 …

Member Avatar for drjohn
0
92
Member Avatar for Joe34
Member Avatar for kirstiebevilaqu
0
285
Member Avatar for PixelatedKarma

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 …

Member Avatar for PixelatedKarma
0
176
Member Avatar for hsmukunda

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; …

Member Avatar for twiss
0
248
Member Avatar for keldonkor

[QUOTE=keldonkor;1402629]i would like you to help me to build my school database query rightnow[/QUOTE] In your dreams.

Member Avatar for Daave
0
103
Member Avatar for jacob21

mysql uses the following date format yyyy-mm-dd you will have problems until you format your date correctly.

Member Avatar for swpou
0
135
Member Avatar for ankit.pandey3

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 …

Member Avatar for drjohn
0
104
Member Avatar for m.itch

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?

Member Avatar for pixelsoul
0
327
Member Avatar for rizla777

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 …

Member Avatar for 84hd0ns
0
190
Member Avatar for Violet_82

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.

Member Avatar for Violet_82
0
12K
Member Avatar for feoperro

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 …

Member Avatar for feoperro
0
193
Member Avatar for Frensi

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 …

Member Avatar for sarah newton
0
582
Member Avatar for Hinaz1982

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 …

Member Avatar for drjohn
0
165
Member Avatar for rizla777

Where is the data you want displayed coming from? A database? If so how are you extracting the data?

Member Avatar for drjohn
0
80
Member Avatar for Makcarov
Re: HTML

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 …

Member Avatar for Del4eff
0
132
Member Avatar for welkam

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...

Member Avatar for johnsteve.bravo
0
154
Member Avatar for waddlydoodoo

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.

Member Avatar for waddlydoodoo
0
84
Member Avatar for andrewliu

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.

Member Avatar for andrewliu
0
80
Member Avatar for Dearden

[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]

Member Avatar for drjohn
0
109
Member Avatar for rizvihaider72

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 …

Member Avatar for inplainsite
0
113
Member Avatar for printman55

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. …

Member Avatar for smantscheff
0
282
Member Avatar for dantadin

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 …

Member Avatar for drjohn
0
150
Member Avatar for Ignatius88

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 …

Member Avatar for drjohn
0
174
Member Avatar for isalano

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

Member Avatar for isalano
-2
141
Member Avatar for Acute

You'd have to use the html entities instead of the < and > eg 1&lt;br&gt;2&lt;br&gt;3&lt;br&gt; which the browser will then display as 1<br>2<br>3<br> &lt; means the less then symbol, < &gt; means the great than symbol, > to get a new line from pressing the enter key, you'd have to …

Member Avatar for drjohn
0
64
Member Avatar for tcollins412

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.

Member Avatar for tcollins412
0
154
Member Avatar for AycheKay

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 …

Member Avatar for shaya4207
0
174
Member Avatar for ctkam

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?

Member Avatar for ctkam
0
1K
Member Avatar for noniterum03
Member Avatar for MDanz

Are you sure about these quotes around combination? I've never done that when using sql. WHERE test1.IDONE = `combination`.IDONE

Member Avatar for griswolf
0
138
Member Avatar for loopylou8

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 …

Member Avatar for loopylou8
0
165
Member Avatar for daviddoria

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.

Member Avatar for drjohn
0
130
Member Avatar for roachae

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 …

Member Avatar for roachae
0
161
Member Avatar for kevindougans

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 …

Member Avatar for kevindougans
0
225
Member Avatar for danny4444

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` …

Member Avatar for danny4444
0
8K
Member Avatar for Vanquish39

You'd also need details of WHO authorised the medication each time, who administered it, and probably other things too in the table above.

Member Avatar for drjohn
0
171
Member Avatar for Hawkeye Python

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 …

Member Avatar for Arkinder
0
206
Member Avatar for HelenLF

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 …

Member Avatar for HelenLF
0
112
Member Avatar for docdoc
Member Avatar for drjohn
0
76
Member Avatar for BleepyE

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 …

Member Avatar for drjohn
0
86
Member Avatar for MDanz

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 …

Member Avatar for pritaeas
0
135
Member Avatar for salimmohammad

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???

Member Avatar for shaya4207
0
150
Member Avatar for jtnevers

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 …

Member Avatar for drjohn
0
152
Member Avatar for jazzyb

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]

Member Avatar for drjohn
0
11K
Member Avatar for xxmp

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 …

Member Avatar for xxmp
0
220
Member Avatar for vedro-compota

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 …

Member Avatar for vedro-compota
0
177
Member Avatar for tadisaus2

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.

Member Avatar for buddylee17
0
102
Member Avatar for hsmukunda

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 …

Member Avatar for drjohn
0
166

The End.