http://www......? in the address bar
Hello,
I have made up a menu system at my website, using the code snippet that uses "Form"..... when using the menu from within the site, the displayed address has a ? mark on the end.
Could someone say why it does it, and, is it ok to do it this way?
I have attached a screenshot....
Form code I use is below.....
<form title="Html help" action="http://www.coffeecup.com/forums/" target="_blank"><input type="submit" value="CoffeeCup forum" style="Z-INDEX: 198; POSITION: absolute; WIDTH: 187px; HEIGHT: 33px; TOP: 56px; LEFT: 539px" size=14></form>
Regards
Peter
I have made up a menu system at my website, using the code snippet that uses "Form"..... when using the menu from within the site, the displayed address has a ? mark on the end.
Could someone say why it does it, and, is it ok to do it this way?
I have attached a screenshot....
Form code I use is below.....
<form title="Html help" action="http://www.coffeecup.com/forums/" target="_blank"><input type="submit" value="CoffeeCup forum" style="Z-INDEX: 198; POSITION: absolute; WIDTH: 187px; HEIGHT: 33px; TOP: 56px; LEFT: 539px" size=14></form>
Regards
Peter
I think what's happening is your form is using the default $_GET method which is a way to send information across web pages. It's not going to hurt anything if you leave it but if you want get rid of it try this instead.
<form method="POST" title="Html help" action="http://www.coffeecup.com/forums/" target="_blank"><input type="submit" value="CoffeeCup forum" style="Z-INDEX: 198; POSITION: absolute; WIDTH: 187px; HEIGHT: 33px; TOP: 56px; LEFT: 539px" size=14></form>
__________
btw... it looks like your using form elements for all your buttons.
While this will work it you should be using a link such as <a href"www.site.com">Text For Link Goes Here</a>
www.jbrownwebdesign.com
HTML
CSS
PHP
Flash
Actionscript
<form method="POST" title="Html help" action="http://www.coffeecup.com/forums/" target="_blank"><input type="submit" value="CoffeeCup forum" style="Z-INDEX: 198; POSITION: absolute; WIDTH: 187px; HEIGHT: 33px; TOP: 56px; LEFT: 539px" size=14></form>
__________
btw... it looks like your using form elements for all your buttons.
While this will work it you should be using a link such as <a href"www.site.com">Text For Link Goes Here</a>
www.jbrownwebdesign.com
HTML
CSS
PHP
Flash
Actionscript
Best Regards,
Joseph Brown
732.312.5761
Web: www.jbrownwebdesign.com
Mail: info@jbrownwebdesign.com
Joseph Brown
732.312.5761
Web: www.jbrownwebdesign.com
Mail: info@jbrownwebdesign.com
Thankyou very much for your reply.
I have tried your suggestion, and it works for some web links, but will not work for the menus that go to other html pages.
I get an error page stating "method not allowed"....
I understand your advice to use the text link to pages etc, but I like the look of the buttons I have, the text links look a bit iffy really.
Is there a correct way I should be doing it to have the menu buttons as i have done..?
Thanks for your help
Peter
Thankyou
I have tried your suggestion, and it works for some web links, but will not work for the menus that go to other html pages.
I get an error page stating "method not allowed"....
I understand your advice to use the text link to pages etc, but I like the look of the buttons I have, the text links look a bit iffy really.
Is there a correct way I should be doing it to have the menu buttons as i have done..?
Thanks for your help
Peter
Thankyou
yes there's a way to do the buttons without having to use a form setup. You are able to create a menu using graphics that link to html pages same as the form does really, just using different link setups. When you have a graphic you want, which you apparently do already, use the Link option in your editor to create a link to the page you want it to go to. Same way you would do it for any graphical link. You can add effects this way much easier also by using altered graphics that have different looks on mouseover. You can see how mine is on my shop even which will give you an idea of what you can do with mouseover effects, and that's just one example.
You do this exactly like you did that diagram on your site at the top. Use a graphic and create a link in it's code to send you to another page, that's pretty much all a menu is. Placing it where you want it is sometimes the hard part, and CSS is really a much better way of doing menus, but it can be done in HTML too if you try at it.
You do this exactly like you did that diagram on your site at the top. Use a graphic and create a link in it's code to send you to another page, that's pretty much all a menu is. Placing it where you want it is sometimes the hard part, and CSS is really a much better way of doing menus, but it can be done in HTML too if you try at it.
Thanks Jo Ann,
I shall have a go, but the menu i have, isn't using any graphics.....
Its all generated by the code below....the INPUT bit is where i change the colours and stuff, and the FORM bit puts it on the page....in this case, its the "back" button, just a small one with three <<< on it.
I must say though, its sooo much faster to load than the menu I had before
Peter
<style type="text/css">
INPUT { background-color: black;
border-color: purple;
color: yellow;
font-family: verdana, arial, sanserif;
font-weight: bold;
font-size: 11pt;
text-align: centre;
p.thicker {font-weight:900}
}
<FORM action="index.html"><input type="submit" value="<<<" style="Z-INDEX: 141; POSITION: absolute;
WIDTH: 65px; HEIGHT: 28px; TOP: 128px; LEFT: 34px" size=24></FORM>
I shall have a go, but the menu i have, isn't using any graphics.....
Its all generated by the code below....the INPUT bit is where i change the colours and stuff, and the FORM bit puts it on the page....in this case, its the "back" button, just a small one with three <<< on it.
I must say though, its sooo much faster to load than the menu I had before
Peter
<style type="text/css">
INPUT { background-color: black;
border-color: purple;
color: yellow;
font-family: verdana, arial, sanserif;
font-weight: bold;
font-size: 11pt;
text-align: centre;
p.thicker {font-weight:900}
}
<FORM action="index.html"><input type="submit" value="<<<" style="Z-INDEX: 141; POSITION: absolute;
WIDTH: 65px; HEIGHT: 28px; TOP: 128px; LEFT: 34px" size=24></FORM>
not a problem, you can actually do the borders etc. right in CSS or you can create a Table and do the same thing to a degree (doesn't always work in all browsers when you try to color the borders and padding etc. in a table). CSS would be your best way to try to do this though as you can create borders etc. around pretty much anything.
Another possibility is to maybe take a screenshot of your page and create some buttons on your own if you have a graphics program, or even just start a new one with a black background and create a border on it. That way you can create one for each stage of the button: normal, mouseover, click, etc. Just a thought there too
Another possibility is to maybe take a screenshot of your page and create some buttons on your own if you have a graphics program, or even just start a new one with a black background and create a border on it. That way you can create one for each stage of the button: normal, mouseover, click, etc. Just a thought there too

Thanks for your thought, its the css thing i am stumbling on, I must get to understand what i have to do, and whats happening when i use it.
Its all a bit of a mystery at the moment
Peter
Its all a bit of a mystery at the moment

Peter
Not a problem, if you get stuck on a particular issue with CSS feel free to post a thread on it or in this thread and we'll do what we can to help you. A good place to start would be www.w3schools.com/css where there are lots of tutorials that help take you through how to do CSS and what it all means. If you're not in a rush to get this part done that would be a great place to start on this coding setup. 
There are a lot of different tutorials and online classes and many of them are free, just try a google search and you'll find lots of sites that offer free training

There are a lot of different tutorials and online classes and many of them are free, just try a google search and you'll find lots of sites that offer free training

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.