Hello
I have a site here www.eyeball-surfcheck.co.uk.
It is made of CSS and the CSS has been validated.
The may notice that the pages stretche quite far, this is because the container div is set to around 4000 pixels. I had it at 100% but found that it didn't stretch and the side columns stopped at a certian height and the content div kepted stretching because it had content to push it down.
As far as I can see the container div should stretch, but it didn't and have found that setting the height to 4000 pixels is the only thing I can do.
When the container div was set to height=100% the scroll bars on Safari Mac wouldn't show so the site wasn't useable.
So, if anyone has any ideas I would love to hear about it!
Thanks
Matt
Site check please - container stretch issue(s)
Valid CSS only goes as far the validity of your html.
Site check please - container stretch issue(s)
Valid CSS only goes as far the validity of your html.
Sorry that I have to do this but "validate first, then ask".
Site check please - container stretch issue(s)
Your validation may confuse you - you'll need to take out the XML WAP section and put it in a separate file.
(I think the PHP virtual doesn't work - if I'm wrong and you are OK with your PHP programming you can require the same php information into your WAP card and web site by creating a seperate PHP file with just the info. Otherwise use a .wml file and enter the information in twice.
To use PHP , it can't be a WML file, therefore it needs a name other than index.php. E.g. WAP users go to http://www.eyeball-surfcheck.co.uk/wap.php
Whichever, it needs to come out of the http site. )
As far as the CSS goes, it's quite difficult to advise on a site that uses tables and CSS. You really shouldn't be giving the page a height. It should automatically define it's own height. If you fancy more work I'd try to remove all tables from the site.
Looking into Faux columns may help. If you set up faux columns (google) the page would finish after the content without setting a page height, even when you change the content.
You should also look into StickyFooter for a number of sites that show how to create a footer that goes along the bottom of the page.
Lastly, advise your client to move to Cornwall as there are no clean breaks in Devon.
Re: Site check please - container stretch issue(s)
To use PHP , it can't be a WML file, therefore it needs a name other than index.php.
Hi
That isn't strictly true.
If you have access to the server system configuration files, you can set the php parser to parse any file you like. Clearly, the more filetypes you specify, if the majority don't have php in, the slower the server responses are. If, on the other hand, all YOUR wml files have php in, go ahead and alter the parser file settings.
It is in the apache httpd.conf file, in this line:
AddType application/x-httpd-php .php
where yours would be:
AddType application/x-httpd-php .php .wml
Trevor