467,915 Members | 1,258 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

Layout problems

Hi everyone,

I'm rather new to using CSS rather than tables, and am trying to put together a campaign site for Alzheimer's Awareness week, however, I'm stuck with the layout of the front page.

http://www.alzheimers.org.uk/aaw2007/

This front page is displaying okay in Internet Explorer 7:



But not so well in Firefox:



The golfers image at the bottom should be aligned left, and the keep your brain active section should be next to it - like it is in Fireworks.

Is there something I can add to one of my css elements to fix this?

Would be very grateful for any help.

Tash

PS: The big white space at the top of the page is just a placeholder until the banners are approved.
Apr 12 '07 #1
  • viewed: 945
Share:
5 Replies
drhowarddrfine
Expert 4TB
Validate your html for your list of 18 errors there. Then validate and fix your css errors.

I'll be gone till tonight and I'll look at this then.
Apr 12 '07 #2
Thanks for your help.

I've validated the page, and got rid of the errors I made yesterday.
http://www.alzheimers.org.uk/aaw2007/index.htm

Unfortunately still having problems with lining up the firefox version.

Tash
Apr 13 '07 #3
drhowarddrfine
Expert 4TB
Sometimes people forget to validate their CSS.
That won't fix this but it needs to be fixed. I'm looking at it now.
Apr 13 '07 #4
drhowarddrfine
Expert 4TB
Most people are afflicted with the 'divitis' disease which is the use of too many <div> elements. Here I see a more rare form of the same thing 'spanitis'. The <span> element is used on inline elements that are part of the normal flow of paragraphs, usually.

The problem here is IE, which it almost always is. IE does not handle floats properly at times. To get FF to do what you want, add 'clear:left' to the CSS for #imagebox. Whether this will continue to work for you if you add more stuff to the page, I don't know.
Apr 13 '07 #5
Thanks so much for your time and advice!

Will now go and look for the cure for spanitis.
Apr 13 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

39 posts views Thread by Zak McGregor | last post: by
22 posts views Thread by Jam Pa | last post: by
20 posts views Thread by Tammy | last post: by
30 posts views Thread by Diane Wilson | last post: by
14 posts views Thread by Anoop | last post: by
15 posts views Thread by Gary Peek | last post: by
5 posts views Thread by Jeff User | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.