Reply to topic  [ 48 posts ]  Go to page 1, 2, 3, 4  Next
HTML / CSS / PHP Help Required 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 7:55 am
Posts: 7935
Location: Manchester.
Reply with quote
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.

:)

_________________
okenobi wrote:
John's hot. No denying it. But he's hardly Karen now, is he ;)

John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker :P
Sorry :roll:
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
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
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

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Wed Jul 29, 2009 1:15 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 7:55 am
Posts: 7935
Location: Manchester.
Reply with quote
EddArmitage wrote:
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


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.

_________________
okenobi wrote:
John's hot. No denying it. But he's hardly Karen now, is he ;)

John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker :P
Sorry :roll:
I'll behave now.
Promise ;)


Wed Jul 29, 2009 1:25 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
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 &nbsp;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>

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Wed Jul 29, 2009 4:48 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
[off-topic]

EddArmitage wrote:


That's a great reference Edd, cheers :D

[/off-topic]


Wed Jul 29, 2009 5:34 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 7:55 am
Posts: 7935
Location: Manchester.
Reply with quote
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! :D

_________________
okenobi wrote:
John's hot. No denying it. But he's hardly Karen now, is he ;)

John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker :P
Sorry :roll:
I'll behave now.
Promise ;)


Wed Jul 29, 2009 6:39 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:58 pm
Posts: 8767
Location: behind the sofa
Reply with quote
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
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 11:36 pm
Posts: 3527
Location: Portsmouth
Reply with quote
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?

_________________
Image


Wed Jul 29, 2009 9:56 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
It's still there for me in IE6. The list that JV was talking about (iThink) is the following:

Code:
<div id="navigation">
<h2></h2>
<ul>
<ul><a href="index.html">Home</a>&nbsp;&nbsp;|
<a href="index.html">About Me</a>&nbsp;&nbsp;|
<a href="index.html">News</a>&nbsp;&nbsp;|
<a href="index.html">Photos</a>&nbsp;&nbsp;|
<a href="index.html">Projects</a>&nbsp;&nbsp;|
<a href="index.html">Hot Links</a>&nbsp;&nbsp;|
<a href="index.html">Contact Me</a>&nbsp;&nbsp;|</ul>

</div>


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:

Code:
<ul id="navigation">
<li><a href="index.html">Home</a></li>
<li><a href="index.html">About Me</a></li>
<li><a href="index.html">News</a></li>
<li><a href="index.html">Photos</a></li>
<li><a href="index.html">Projects</a></li>
<li><a href="index.html">Hot Links</a></li>
<li><a href="index.html">Contact Me</a></li>
</ul>

There seems little point containg the whole lot in a <div>, when a <ul> is also a container and behaves similarly, does it not?

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Last edited by EddArmitage on Thu Jul 30, 2009 8:14 am, edited 1 time in total.



Thu Jul 30, 2009 7:39 am
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
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
Profile ICQ
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
I don't know what you mean, Dave - everything seems perfect to me ;)

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Thu Jul 30, 2009 8:15 am
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
Yeah, right! ;

EddArmitage wrote:
Last edited by EddArmitage on Thu Jul 30, 2009 10:14 am, edited 1 time in total.

:lol:

_________________
"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
Profile ICQ
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 7:55 am
Posts: 7935
Location: Manchester.
Reply with quote
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.

:)

_________________
okenobi wrote:
John's hot. No denying it. But he's hardly Karen now, is he ;)

John Vella BSc (Hons), PGCE - Still the official forum prankster and crude remarker :P
Sorry :roll:
I'll behave now.
Promise ;)


Thu Jul 30, 2009 11:50 am
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
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!

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Thu Jul 30, 2009 2:28 pm
Profile
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 11:36 pm
Posts: 3527
Location: Portsmouth
Reply with quote
John_Vella wrote:
Due to a "little virus issue" last night I didn't get to do anything


ARRRGGGH!!

Get away from your keyboards, lads, he's got swine flu!!

:o :o :o :shock: :shock: :? :| :(

_________________
Image


Thu Jul 30, 2009 5:39 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 48 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 18 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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.