Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Internet Explorer 7 troubles.
Re: Internet Explorer 7 troubles. [message #235584 is a reply to message #235570] Sat, 23 December 2006 11:10 Go to previous messageGo to previous message
glyde51 is currently offline  glyde51
Messages: 1827
Registered: August 2004
Location: Winnipeg
Karma:
General (1 Star)
j_ball430 wrote on Sat, 23 December 2006 10:30

Oh, if you do two (or more) columns... you're going to need to use "float". If you put them in a containing div, it isn't going to work correctly in Firefox, so the simple remedy is this:

<div style="clear:both;"></div>


You'll put that right before the closing of the containing div, and it'll fix the issue. It renders perfectly in Firefox and IE.

Normally I just put the clear: both in the footer... I don't usually have trouble when it comes to floating and containers.

Do NOT put the style inline with the DIV tag, since you should use XHTML 1.1 or XHTML 1.0 Strict. Use a (external) stylesheet.

If you're using two columns on a liquid layout (my personal favorite) the best way to do it is to have the right (or left) sidebar floating. Let us say that the sidebar is floating to the right and is 250 pixels wide. You'd want the main content area to have a 270 right (or left) margin (the sidebar would float in the margin of the main content area). Put both inside a container DIV tag, and if you have a footer put clear:both in the CSS, otherwise the floating DIV could overlap the footer.

This probably doesn't work in all situations, but hey, I like it. Smile


No. Seriously. No.

[Updated on: Sat, 23 December 2006 11:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: w3d viewer movies?
Next Topic: Addressed to local folks (that live somewhat close from or in Ottawa)
Goto Forum:
  


Current Time: Sun Nov 17 06:12:26 MST 2024

Total time taken to generate the page: 0.01147 seconds