Log in

View Full Version : Trouble getting buttons to look right



mrabin
11-21-2010, 09:04 PM
My menu bar buttons on the following page show up on a diagonal. http://www.unlikerabi.com/envied/preffered.php
Firefox and Chrome both display this page correctly but for whatever reason it doesn't work properly in Internet Explorer.


This is the link to the page: http://www.unlikerabi.com/envied/preffered.php
I've also attached the button image that I'm using.

Any help or suggestions would be much appreciated!

auntnini
11-22-2010, 12:38 AM
When I entered http://www.unlikerabi.com/preffered.php your HOST GATOR error PAGE NOT FOUND popped up. When I used http://www.unlikerabi.com your site index was displayed -- certainly not what you want to happen. Have you indeed set up your site with a root index.html page?

I did not have time to decipher all your CSS, but there are errors -- e.g., you might use display: inline-block but not display: inline and display: block for same element rule. You can use CSS shorthand -- body {background:#ffffff url('img_tree.png') no-repeat right top;} Otherwise, spell out the different CSS properties used for background effects: background-color: background-image: ___; background-repeat:___; background-attachment:___; background-position
: ___;

I cannot visualize your layout -- why is #tabs a unique ID instead of a .tabs class?

You have some interesting Flash effects.

auntnini
11-22-2010, 12:48 AM
Why can't I get this image to show?

Beverleyh
11-22-2010, 12:03 PM
Maybe this will help: http://www.warriorforum.com/main-internet-marketing-discussion-forum/47320-hostgator-help-my-index-html-page-not-showing-up.html

(in short, put your index.html page is in the public_html folder)

mrabin
11-27-2010, 03:42 AM
Yes you're all correct,

My Coding is extremely disorganized and I probably don't have my directory set up properly. I'm planning on buying a different domain to point to the index of the site that I'm creating.

This is my first time really creating a functional website which is my excuses for sub par organization and understanding of how a class vs div tag works. I do apologize for that.

This is really the only problem I'm having right now: My menu bar buttons on the following page show up on a diagonal. http://www.unlikerabi.com/envied/preffered.php
Firefox and Chrome both display this page correctly but for whatever reason it doesn't work properly in Internet Explorer.

Lozu
12-05-2010, 11:27 AM
I have visited your site in IE 8, it looks like:

Button 1 (On the Left)
Button 2 (In the Middle)
Button 3 (On the right)
and so on...

Try coding in HTML instead of PHP
How about rename preffered.php to index.html and put into root file.
Copy any PHP scripts to notepad.
Create submit.php
Inside submit.php paste the code from notepad.
In form action="" add submit.php instead of having PHP in one page.
Lastly adding .htcess file to protect your directory being viewed or hacked.