Click to See Complete Forum and Search --> : Please help with css problems


dammyg
05-14-2007, 07:04 AM
Hi, my site is: http://dogula.co.uk/index3.php

I want to use a new css layout so I can update everything quickly but I have only had problems with it, is there any chance someone could help me sort out the problems,
I don't need a perfect looking site just yet, just presentable and the layout sorted so I can easily change it later.

1. I like the way it is set out but the text is overflolwing out of the divs, what would I need to change so I can put as much text to any of the divs as I want and have it stay in the div?
2.I am using Internet explorer 6 and this site will not center properly with it, it centers in mozilla though. What do I need to change so it centers in all browsers?
3. The google search bar is not centred, how could I change that?
4. When I search with the google search bar things on my site, nothing comes up even though they come up on google, what is the problem
5. I am using php require function on several parts so I can change everything easily, is this the best way to do this?

Thankyou very much in advance for any help you can provide.

WebJoel
05-14-2007, 07:36 AM
The problem here isn't CSS, but a simple text problem:

"dogula.............................................................................................. .................................................................................................... .............................................."

Is, well, non-breaking text..

Try something like:

<p style="width:100%; border-bottom:2px dotted black;">dogula</p>

That way, it is 'fluid', -that is, the dotted-line will expand/contract with viewescreen size and not 'force' it's stated width, as you have it above..

dammyg
05-14-2007, 07:54 AM
:| thanks a lot for that, as usual its always something so simple that's the problem with webdesigning.

WebJoel
05-14-2007, 01:22 PM
Yes, -for 'non-breaking text' (text with NO white-spaces between words), IE incorrectly expands the container (DIV, TD, whatever), whilst Firefox (correctly) allows the content to 'overflow' through side of container (looking like crap but trying to preserve the layout).. :)

dammyg
05-15-2007, 09:35 AM
this page is not displaying the php sections: http://www.dogula.co.uk/japaneselinks.php

I am assuming it is because they are unicode, what is the problem, the doc type or meta character encoding? what should I change it to and is there a way of automatically finding out which one to use?

Thank you in advance for any help you can provide