Largo Posted October 15, 2009 Report Share Posted October 15, 2009 Hello, I want to create my own points and other thinks system. But I don't know CSS, I hate that! How can I do tables like Micheal's News System? About 20% width of navigation and rest - about 80% to content. How can I do that? Best regards, Largo Quote Link to comment Share on other sites More sharing options...
GaVrA Posted October 15, 2009 Report Share Posted October 15, 2009 Simple way is to do this: <div> //container <div style="float:left;width:20%"></div> //navigation <div style="float:right;width:80%"></div> // content </div> Im using inline css just to show you how it can be done. You can use built in class "left" and "right" which add's float left and right. Quote Link to comment Share on other sites More sharing options...
Largo Posted October 17, 2009 Author Report Share Posted October 17, 2009 Simple way is to do this: <div> //container <div style="float:left;width:20%"></div> //navigation <div style="float:right;width:80%"></div> // content </div> Im using inline css just to show you how it can be done. You can use built in class "left" and "right" which add's float left and right. Hello, Yeah, I know that, but I want to use classes from IP.Board. I don't want to create my own, if I can use build-in. If You don't know CSS classes, I'll wait for Micheal. Quote Link to comment Share on other sites More sharing options...
Management Michael Posted October 17, 2009 Management Report Share Posted October 17, 2009 I didn't use css for the left/right view. I used a table. A good example of css would be IPB3's sidebar. Quote Link to comment Share on other sites More sharing options...
Largo Posted October 17, 2009 Author Report Share Posted October 17, 2009 I didn't use css for the left/right view. I used a table. A good example of css would be IPB3's sidebar. Hello, So, You didn't use for this tables divs? And where I can find sidebar? I only want to show navigation like You and content. Best regards, Largo Quote Link to comment Share on other sites More sharing options...
Management Michael Posted October 17, 2009 Management Report Share Posted October 17, 2009 Hello, So, You didn't use for this tables divs? And where I can find sidebar? I only want to show navigation like You and content. Best regards, Largo Something like this. There is no inbuilt nav/content feature like this, Gavra's above example should work fine. <table width='100#'> <tr> <td width='20%'></td> <td width='20%'></td> </tr> </table> Quote Link to comment Share on other sites More sharing options...
GaVrA Posted October 17, 2009 Report Share Posted October 17, 2009 Well there are these clases that are built in IPB, just like i said in my first post: .left{ float:left; } .right{ float:right; } So you can use this: <div> //container <div class="navigation left"></div> //navigation <div class="content right"></div> // content </div> Then just use some css rules for .navigation and .content: .navigation{ width:20%; } .content{ width:80%; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.