Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Positioning bug in IE ? (repost)
 

Nico




quote this post edit post

IP Loged report this post

Old Post  07-30-04 - 12:15 PM  
Hi folks

(For some reason, my message didn't show up)
I am having troubles with float & positioning with IE.

Here is the layout I am trying to achieve :
http://nzeches.free.fr/img/layout.jpg
- a Header
- a menu in the left column
- a main content area
- a footer
In the main content area, I have :
- a horizontal navbar,
- a box #1 (which contains <select>'s) on the left ; width=20em
- another block #2 beside the previous one which may contain a large image
; if the image's width overflows the viewport width, I need the browser to
scroll horizontally
- some extra text, which shall be displayed after the tallest of box #1 & #2

A sample code (including CSS) is at http://nzeches.free.fr/mto.htm
Basically the solution is :
- a header <div>
- a container <div>
- the footer (clear:both)
The container encloses 2 divs : a menu <div> (left floated), and the main
content <div> with a left margin
The main content div includes a layout (and styling) similar to the main
layout
- the navbar (inline unordered list, with left-floated items),
- a container, with box#1 (left floated) and box #2 (left margin)
- a "spacer div" (clear:both) before the remaining text

in Firefox the page apparently displays correctly
in IE6 the box#2 is displayed far down from the navbar

Do you have any idea what causes this discrepancy ?

TIA
--
NZ




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 03:22 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top