PDA

View Full Version : few prob with site !!!


nits4u
01-12-2010, 06:49 PM
i have some problems with my site.

1. i want to center all the content.

link: http://nits4u.110mb.com/

2. i have used a "current" class in navigation to mark the current page in which i use black as text color with white bg. But it does not change the color of text.

3. A gap show between each "li" in IE6 and 7, while chrome shows some of the content of each list item.
http://nits4u.110mb.com/poi.html

thank You

edbr
01-13-2010, 01:48 AM
line 7 closes the head tag prematurely delete it.
yo are calling for#txt but the oly styling i saw was for text and a tags. you could make the #txt centre if you gave it some width attributes and auto margins

nits4u
01-13-2010, 03:04 PM
can't get you !!!!
could u please explain.....
i want "nahan" at the center.

nits4u
01-14-2010, 07:12 PM
no reps. ???????

Corrosive
01-14-2010, 07:18 PM
Try this for centring

body {
text-align : center ;
background-color:#333;
}
div.wrapper {
width: 1000px;
text-align: center;
margin: auto;
position: relative;
}

Corrosive
01-14-2010, 07:25 PM
Your colour problem is because, even with the colour specified in in 'current', the fact that it is a link over-rides the style. That is why it remains white, because it is still a link.

You'll need to rethink this one.

nits4u
01-15-2010, 07:19 PM
@ Corrosive

thanx for the consideration.
I redesign my link problem and it is solved. :)

but centering problem is still there. :|

and what abt. the third problem ?

Corrosive
01-16-2010, 07:22 AM
Re: the centring. Your width looks too wide for me. Try changing it to about 800px and see if that helps. I'm afraid that I didn't really understand the third question. Could you explain a bit further please?

nits4u
01-19-2010, 03:56 PM
well on page places of interest, the main content i.e list of places(red color).
That list is perfect in firefox. But in IE6&7 some gap appear between each list item. And in chrome when you click on the list item, only some of the text is shown. Means list item does not expand fully.
Hope you are clear now :)
Thanx

Corrosive
01-19-2010, 05:23 PM
I've looked through your code and can't see anything obvious. I do see the issues you are talking about in the browsers though. I have tried various accordions in the past and always had display issues.

nits4u
01-19-2010, 07:43 PM
:( ummm........

Corrosive
01-19-2010, 07:46 PM
Sorry mate. Maybe someone else will work it out.

nits4u
01-22-2010, 01:51 PM
ah !!! no prob. man !!!
thanx alot :)