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 |
|
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.
No. Seriously. No.
[Updated on: Sat, 23 December 2006 11:10] Report message to a moderator
|
|
|
|
|
Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: Goztow on Fri, 22 December 2006 01:44
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: xptek on Fri, 22 December 2006 02:05
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: Goztow on Fri, 22 December 2006 02:19
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: Zion on Fri, 22 December 2006 06:00
|
|
|
Re: Internet Explorer 7 troubles.
By: Jecht on Fri, 22 December 2006 06:51
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: glyde51 on Fri, 22 December 2006 11:54
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: glyde51 on Fri, 22 December 2006 14:12
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: icedog90 on Fri, 22 December 2006 13:33
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: Jecht on Fri, 22 December 2006 23:38
|
|
|
Re: Internet Explorer 7 troubles.
By: light on Sat, 23 December 2006 01:56
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: glyde51 on Sat, 23 December 2006 11:10
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: light on Sat, 23 December 2006 13:17
|
|
|
Re: Internet Explorer 7 troubles.
|
|
|
Re: Internet Explorer 7 troubles.
By: glyde51 on Sun, 24 December 2006 20:22
|
|
|
Re: Internet Explorer 7 troubles.
|
Goto Forum:
Current Time: Sun Nov 17 06:12:26 MST 2024
Total time taken to generate the page: 0.01147 seconds
|