Hi,
I'm working on a website, in which I have 3 floating columns. These columns are ordered different visually than in the source code. (content first)
The containing div surrounding the columns is centered in the viewport, but not in Safari. I don't know a lot about Safari bugs (and maybe the problem is just me), so if anyone could give me some pointers, that would be great.
Check out http://www.whatstyle.net/bla/n8/home.html for the design. The CSS can be found here.
The code that controls the layout's this:
Code css:/* Layout -----------------------------------------------------------------------------*/ #content { width: 960px; min-height: 800px; margin: 42px auto 0; padding: 16px 0; background: #000; color: #FFF; } #main-content { position: relative; float: left; width: 420px; margin-left: 250px; padding: 16px 20px 0; background: #FFF; color: #000; } #huge-content { position: relative; width: 700px; margin-left: 250px; padding: 0 10px 0 0; float: left; color: #00ADEE; } #secondary-content { float: left; width: 230px; padding: 16px 10px; } #global-content { float: left; width: 230px; margin-left: -960px; padding: 16px 10px; } #main-content.swf { width: 460px; padding-left: 0; padding-right: 0; background-color: #000; color: #FFF; }
Thanks in advance!![]()








Bookmarks