3 CSS Issues, including a float problem in IE6

This is a discussion on "3 CSS Issues, including a float problem in IE6" within the Web Page Design section. This forum, and the thread "3 CSS Issues, including a float problem in IE6 are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 3rd, 2007, 22:17
New Member
Join Date: Jul 2007
Location: England
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up 3 CSS Issues, including a float problem in IE6

Hi,

I have been working my way through the awesome 'Beginning CSS Web Development' by Simon Collison (highly recommended). I have also been studying and using other recourses online too. I am now toying with CSS and have created the following test page:

http://www.consumer-review.org.uk/test_lorum_ipsum.html

I am pretty happy with it in Firefox 2. However problems are:

1) In IE6 the two floating elements don't appear where they should - they jump around the page and sometimes the content of them doesn't appear at all! Is there a simple code fix for this?

2) In Firefox 2 the links in the footer don't seem to be accessible, the pointer icon simply doesn't change to allow you to click!

3) In IE7 the titles/anchors that you jump to from the top of the page don't highlight. They do in Firefox! Is is possible for IE7 to highlight?

I have been playing with this page for ages, there is probably plenty of redundant / clumsy code in the CSS sheet. Apologies for that - will neaten up when understand a bit more! I will also speed up the page loading.

Thanks for any code suggestions / advice / assistance anyone can give.

Kind regards

Theo.

Last edited by TheoUK; Jul 3rd, 2007 at 22:19.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 3rd, 2007, 23:56
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 3 CSS Issues, including a float problem in IE6

Hi Theo:
The first issue I see is with the #top div. The image is 100% width but it is not filling up the area needed in #liquid-round1 . (Problem in IE6) I would suggest you change those to a specific pixel width.

It's also possible that the .centercontent div is popping out the right margin on the #liquid-round1 because you do not have a width specified for that either. It's difficult for me to say exactly because very few widths are actually specified so I don't know which is correct and which is incorrect.

As far as the top links (anchors) not hovering in IE7, I believe it is because you have some css in the head portion of the code. Those will get priority over the other css in the external style sheet. So either delete those in the head or restyle them.

The footer links are working in FF2. Maybe you need to clear your cache or something? Perhaps I misread the question. But I see a pink hover on the footer links and they clicked just fine.

I saved the best for last... the floating boxes.
Again, I believe it's the % you used for width. Since you have .center-content in another place, you will have to rename that div so it's a different size as the big one above. Here is a tutorial that might help you sort those floated boxes.

Did I miss anything?

Edit: Check the validation here.. you have a few other issues that might be causing your grief.

Last edited by Lchad; Jul 3rd, 2007 at 23:58. Reason: added validation info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css, float, ie6, internet explorer 6

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Float problem with Firefox Emzi Web Page Design 10 Apr 4th, 2008 12:02
CSS float problem Advanced Kropotkin Web Page Design 7 Aug 15th, 2007 16:21
css float problem milly Starting Out 3 Jul 9th, 2007 02:51
right float problem... c_martini Web Page Design 11 Aug 2nd, 2006 13:47
Image float problem timmytots Web Page Design 6 Jul 8th, 2006 13:40


All times are GMT. The time now is 21:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved