qugh Posted October 21, 2005 Share Posted October 21, 2005 I am new to tableless CSS design and it's currently kicking my butt. Right now, I've wasted forever trying to figure this one thing out...Regarding the DISPLAY property... Can you INLINE a bunch of BLOCKS? I want to INLINE divs, but inside those divs, I have more divs that I am needing to BLOCK.The idea is div#BigContainer{ display: block; }div#MedContainer{ display: inline; }div#InnerContainer{ display: block; }But to my knowledge, I don't think it works like that. Link to comment Share on other sites More sharing options...
actionsketch Posted October 21, 2005 Share Posted October 21, 2005 yes. Just make sure than anytime you set display, you also set float. As for what you put inside, you can put anything and it shouldnt break the inline containers...here's what it should look kinda like: header<div class="leftcolumn" style="float:left; display: inline"></div><div class="maincolumn" style="float:left; display: inline"></div><div style="clear:both"><!-- this will allow anything else to be put under the table instead of inline with it --></div>footer Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted September 16, 2007 Share Posted September 16, 2007 Why would you want to do that? Couldn't you just use <span> instead? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now