Please help with red lines on my index page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kanhapride
Forum Newbie
Posts: 4
Joined: Mon Apr 13, 2015 5:13 am

Please help with red lines on my index page

Post by kanhapride »

Hi Guys,

This is my first post to this forum and I am going to be honest, I dont know css and php.

I am trying to get rid of an annoying red line on my homepage, just under the green coloured view gallery button, which looks ugly (one of the many things that needs to be fixed).

I have attached the index.php and kanha.css files.

Can I please get some help? Thanks a lot. I am not allowed to attach files but hopefully you can see the code from my website for Hotels in Kanha national park (http://www.kanhaprideresort.com) and CSS is pasted below.

CSS code removed due to security reasons.
Last edited by kanhapride on Mon Apr 13, 2015 5:10 pm, edited 3 times in total.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Please help with red lines on my index page

Post by Celauran »

There's no markup here, just CSS. Did you forget to include a file?
kanhapride
Forum Newbie
Posts: 4
Joined: Mon Apr 13, 2015 5:13 am

Re: Please help with red lines on my index page

Post by kanhapride »

I wasnt allowed to upload the index.php file. It said it was a security risk to the forum.

Is that same as markup ?

Let me past that code here (below).

(PHP code removed due to security reasons.)
Last edited by kanhapride on Mon Apr 13, 2015 5:11 pm, edited 1 time in total.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Please help with red lines on my index page

Post by Celauran »

kanhapride wrote:just under the green coloured view gallery button
The word 'gallery' doesn't appear in that markup. You're not making this easy.
kanhapride
Forum Newbie
Posts: 4
Joined: Mon Apr 13, 2015 5:13 am

Re: Please help with red lines on my index page

Post by kanhapride »

Hi, Sorry the Button "View gallery " is a image not actual text.

As mentioned, I am owner of this website and know very basic programming. Sorry for the trouble.

I also meant if you see the homepage, the green button is there.
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Please help with red lines on my index page

Post by twinedev »

The red line is coming from your definition of the ID #welcome-box. You are seeing it in two places here (across whole page as a separator, then a second under the column with the View Gallery button), is that you have non-valid markup for the page from using the ID on more than one item.
kanhapride
Forum Newbie
Posts: 4
Joined: Mon Apr 13, 2015 5:13 am

Re: Please help with red lines on my index page

Post by kanhapride »

Thanks a lot. yes that was the problem and I managed to clear it. Your help is appreciated.
Post Reply