When I place content in the side-b div tag, the content appears in the side-a div tag when rendered in the browser. So, when I look at it in the editor, it shows the content is in the side-b div ,s it should be, but it doesn’t stay there when the browser is rendered to the client. Below is the css. I can post the html if necessary.
btw, the bgcolcolors image spans 740 pixels and colors both side-a and side-b columns, as it should.
thanks in advance.
Well, as their is not much code to go on, i invented your HTML lol:
<div id="wrapper">
<div id="header">
</div>
<div id="side-a">Content for id "side-a" Goes Here</div>
<div id="side-b">Content for id "side-b" Goes Here. More for b and nothing for a</div>
<div id="footer">Content for id "footer" Goes Here</div>
</div>
The content for side b appears in that div, when i test this locally. Which in itself doesn’t say much: do you want a aligned aside with b? Do you have anything else nested…
Full code (css and html) or live url would be most helpfull
Also, your floats don’t fit in the wrapper: you have a width of 740px on the wrapper but
float a has 240 + 15 margin and float b has 500px: that’s a total of 755px. If you want the floats to be aligned next to each other that is…
To add onto Lukis comments about the marfgins and floats, you are running into the double float margin bug here in IE6. The bug is triggered when you put a horizontal margin on the same direction as the float. Aka left margin and left float.
We don’t know that he isn’t using a clearing mechanism already :). I doubt that the code in his first post was full CSS…he might have a clearing element or the clearfix in place.
Though, depending on his structure, he might not even need overflow:hidden;. We are assumin hte footer isn’t inside the wrapper :). If it is then no overflow/cleared element/clearfix is needed. Just the clear:both; (which is in his CSS already)
Well, i was only going on his posted code. But i missed the clear on the footer, just saw the two floated divs which are definitely inside his wrapper lol
Sorry, folks for not getting back to any of you. Thank you for your experience and patience. I got locked out of the site earlier, because as you can see from my post, it was logging me in as username. When i tried to get back in, it wouldn’t allow it for the longest time.
In the meantime I got called away. Just now getting home.
LEt me read through the post to see what you need of me.
Hey, Ryan.
When I ftp the file to the server, the content in div side-b appears in side-a. I can’t show you the url because it’s located in a password protected area. I don’t use the design feature of vwd, just the code feature. I’m not concerned with how it looks locally, just how it displays when rendered by the browser once the file is sitting on the server and is live for the WORLD to see!
Make sense?
With that in mind, is the css, as I posted it originally, sufficient to provide a side by side rendering of the two columns? Bear in mind, what i’m seeing is the content in side-b appearing in side-a after the file has been parsed on the server.
I corrected the margin from 15 to 0 and now the content appears correctly.
Thank you for all your help. I’m going to need more of it! Stand by. hehhehe
You’re welcome :). You should have just adjusted the column width 15px less that way you can still get space between the columns, but whatever you want lol :).