Page 1 of 1

Please help with red lines on my index page

Posted: Mon Apr 13, 2015 5:21 am
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.

Re: Please help with red lines on my index page

Posted: Mon Apr 13, 2015 6:10 am
by Celauran
There's no markup here, just CSS. Did you forget to include a file?

Re: Please help with red lines on my index page

Posted: Mon Apr 13, 2015 6:20 am
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.)

Re: Please help with red lines on my index page

Posted: Mon Apr 13, 2015 6:27 am
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.

Re: Please help with red lines on my index page

Posted: Mon Apr 13, 2015 6:32 am
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.

Re: Please help with red lines on my index page

Posted: Mon Apr 13, 2015 7:12 am
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.

Re: Please help with red lines on my index page

Posted: Mon Apr 13, 2015 8:33 am
by kanhapride
Thanks a lot. yes that was the problem and I managed to clear it. Your help is appreciated.