View unanswered posts | View active topics
It is currently Mon May 05, 2025 9:00 pm
HTML / CSS / PHP Help Required
Author |
Message |
John_Vella
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 7:55 am Posts: 7935 Location: Manchester.
|
Hi, I've set up a webspace to do some PHP testing and uploaded a few files, which I got from a template, to test a PHP menu. It looks fine using IE6 but the border doesn't look right in Firefox, (3.0.12) on Windows XP. As I am at work at the moment, and cannot access the site from my main PC, I have to do everything via the laptop, which connects via a rubbish wireless connection, so I can't really keep changing the code and uploading, so could someone have a quick look see if they can spot anything wrong please? The site is http://johnthegeek.x10hosting.com and although any constructive criticism is welcome I should stress that I am just testing the php menu system at the moment, and the actual web design part will come later, (though I may keep the basic layout) If needs be I can always copy and paste the code here... Thanks in advance, John. 
_________________John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker  Sorry  I'll behave now. Promise 
Last edited by John_Vella on Wed Jul 29, 2009 1:24 pm, edited 1 time in total.
|
Wed Jul 29, 2009 12:43 pm |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
I too am at work (and limited to IE6) so can't see the problem (and haven't the time to look), but is it not likely to be a CSS/html issue and not an actual PHP issue? You may get more of a response if this is the case byt titling this thread thusly.
Edd
|
Wed Jul 29, 2009 1:15 pm |
|
 |
John_Vella
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 7:55 am Posts: 7935 Location: Manchester.
|
Ok, I've renamed the thread, and I have also established that it is not a PHP issue, as the html version I was playing with doesn't work in FF either.
_________________John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker  Sorry  I'll behave now. Promise 
|
Wed Jul 29, 2009 1:25 pm |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
Righty - my boss has gone home so I've had a sneaky look (Shhhhhhussssssssh! (8-p) ) The <ul> tag is not used correctly - it's just a container for <li> tags (list items). I often use the A List Apart guide as a reference, and it will allow you to produce much cleaner, and more semantic, markup (removing the nasty s, and removing the |s as well (which aren't really part of the document's contents so shouldn't be marked up)). Hope this helps. I'll be at work for twenty minutes or so if you're about, but haven't an interweb conenction at home atm, so someone else may have to take over. If not I'll be here bright and early tomorrow morning :p Edd <edit>Righty - got to run along home now as someone is coming to start the process of me getting an interweb connection  </edit>
|
Wed Jul 29, 2009 4:48 pm |
|
 |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
[off-topic] That's a great reference Edd, cheers  [/off-topic]
|
Wed Jul 29, 2009 5:34 pm |
|
 |
John_Vella
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 7:55 am Posts: 7935 Location: Manchester.
|
Cheers Edd, I'll have a look at that link and Ben... it's not really off topic, as I asked for help and that link does look like a good 'un! 
_________________John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker  Sorry  I'll behave now. Promise 
|
Wed Jul 29, 2009 6:39 pm |
|
 |
JJW009
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:58 pm Posts: 8767 Location: behind the sofa
|
It looks exactly the same to me in both IE8.0.6001.18702 or FF3.0.12
Did you fix it already, or am I missing something? I see no "border" as such?
_________________jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly." When you're feeling too silly for x404, youRwired.net
|
Wed Jul 29, 2009 6:43 pm |
|
 |
Nick
Spends far too much time on here
Joined: Thu Apr 23, 2009 11:36 pm Posts: 3527 Location: Portsmouth
|
I'm accessing from Chrome.
Where is the PHP menu? The site looks to be static html to me (of course it would do though).
Are you using .htaccess to process .html files as PHP files???
Every link 404s too.
Are you updating it at the moment or something?
_________________
|
Wed Jul 29, 2009 9:56 pm |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
It's still there for me in IE6. The list that JV was talking about (iThink) is the following: I can't download the css, though, but maybe someone else could embed that in a post? From a markup Point of view, I've also noted the addition an extra <ul> tag, that I didn't spot when skimming it last night. I'd suggest producing something like the following in the html: There seems little point containg the whole lot in a <div>, when a <ul> is also a container and behaves similarly, does it not?
Last edited by EddArmitage on Thu Jul 30, 2009 8:14 am, edited 1 time in total.
|
Thu Jul 30, 2009 7:39 am |
|
 |
big_D
What's a life?
Joined: Thu Apr 23, 2009 8:25 pm Posts: 10691 Location: Bramsche
|
That <ul> at the end should be a </ul> 
_________________ "Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari
Executive Producer No Agenda Show 246
|
Thu Jul 30, 2009 8:07 am |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
I don't know what you mean, Dave - everything seems perfect to me 
|
Thu Jul 30, 2009 8:15 am |
|
 |
big_D
What's a life?
Joined: Thu Apr 23, 2009 8:25 pm Posts: 10691 Location: Bramsche
|
Yeah, right! ; 
_________________ "Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari
Executive Producer No Agenda Show 246
|
Thu Jul 30, 2009 8:53 am |
|
 |
John_Vella
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 7:55 am Posts: 7935 Location: Manchester.
|
Hi Guys, update time. I've figured out that the PHP side works fine, and it is just a rubbish template issue, as I did minimal changes to the code, and having checked the original, that didn't work either. Due to a "little virus issue" last night I didn't get to do anything, but I'll try and do some serious coding at work today and will ask if you guys fancy doing some website-critique when I'm done, if that's Ok? Thanks again, John. 
_________________John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker  Sorry  I'll behave now. Promise 
|
Thu Jul 30, 2009 11:50 am |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
Sure. And if you need any help fixing the inevitable CSS bugs I'm sure we can help with some of the more common ones. I'll have a real internet connection this weekend toooooo! Yay!
|
Thu Jul 30, 2009 2:28 pm |
|
 |
Nick
Spends far too much time on here
Joined: Thu Apr 23, 2009 11:36 pm Posts: 3527 Location: Portsmouth
|
_________________
|
Thu Jul 30, 2009 5:39 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 26 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|
|