Page 1 of 1

How do i align the main menu?

Posted: Sat Dec 13, 2003 7:13 am
by Darkhorse
Hi,
Im having a bit of a problem with my PHP site at http://www.tntleague.com

Could somebody tell me how to align my main menu so it all lines up nicely to the left? Also how do I program the site so that when a visitor clicks on a page it just goes to that page instead of opening 1 window for every page clicked?

Your help is much appreciated.

Darkhorse

Posted: Sat Dec 13, 2003 8:54 am
by igoy
what menu are you talkin about ???

the one written "Navigation" as header ???


as far as links goes...

this is what you have :
<A href="http://www.tntleague.com/" target=_blank>
just change this to :

Posted: Sat Dec 13, 2003 8:57 am
by igoy
for alignment...

instead of
<div align=center>
use
<div align=left>
or you can use alignment for the table cells directly,
<td align=left> content </td>

Posted: Mon Dec 15, 2003 3:26 am
by twigletmac
Since none of these problems are PHP related I've moved this thread to the clientside forum.

Mac

Posted: Mon Dec 15, 2003 4:06 am
by malcolmboston
you designed taht site and yet you have no idea how to make alter table alignment in HTML!?

<-- thinks thats a:
view source
copy
paste
claim as own

Lame

Posted: Mon Dec 15, 2003 4:10 am
by JayBird
he's actually using a ready made site called PHP-Nuke, lots of people use it.

http://phpnuke.org/

Mark

Posted: Mon Dec 15, 2003 4:12 am
by malcolmboston
sorry

my bad

Posted: Wed Dec 17, 2003 9:34 am
by Darkhorse
Thanks for all your help, just a few more questions if I may. I have aligned my menu now so it looks all lined up on the left but I want to add a little icon to the left of each line, I tried it but the icons just come up above the lines - how do I format my menu so it looks like the following:

:) Menu
:) Home

Something like the above.

I didnt quite grasp where I had to put that code to stop new windows popping up when visitors click on the selections in the menu, can you please tell me again in a simpler way...lol

Cheers.

Posted: Wed Dec 17, 2003 9:45 am
by Draco_03
Okay i dpon t understand your first question... you want the menu to be how ??

For the new windows thing it's easy.. each time you see that in your code

Code: Select all

target="_blank"
well just DELETE IT
and you won t have any pop up now... if you want a pop up in one of the section just leave it there..

Posted: Wed Dec 17, 2003 9:47 am
by Draco_03
ps : if you use an editor (like dreamweaver) well make a find and replace

that means you can just find target="_blank" and replace it with a white space or if all your target are at then end of the link
ex : <a href="whatever.php" target="_blank">

well find target="_blank"> and replace it with a >

Posted: Thu Dec 18, 2003 3:31 am
by igoy
try doing this,
<img src="icon.gif" align="absmiddle"> <A href="http://www.tntleague.com/">

Posted: Fri Dec 19, 2003 9:45 am
by Darkhorse
I dont use dreamweaver or anything like that. I have a proper admin page where I can edit the site. So all I get is a form with a few things to fill out like http:, Image: and html tags.

Any ideas?

Posted: Mon Dec 22, 2003 9:31 am
by Draco_03
in your form there must be an option to make page goes in _blank or _self or whatever.. but something must be there...