Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    3
    Member #
    36541

    Newb to webdesign, need help with content structure

    Hi guys, my experience with HTML and CSS is a few weeks old and I need some help.

    Ive started designing a WordPress theme from scratch, which I will be using for a website that Im making.
    Now, the problem is really simple: i need to place my banner rotator next to the left sidebar box, but it appears beneath it.

    Here's the HTML:
    Code:
    <body>
    	<div id="wrapper">
        	<div id="overspace"></div>
            <div id="nav-ext">
                <ul id="nav-ext-content">
                    <li id="nav-ext-title">Сайт-Мрежа</li>
                    <li><a href="#">Форум</a></li>
                    <li><a href="#">Е-Магазин</a></li>
                </ul>
            </div>
            <div id="nav-int">
            	<ul id="nav-int-content">
            		<li id="nav-int-title">Сайт-Навигация</li>
            		<li><a href="#">Портал</a></li>
            		<li><a href="#">Блог</a></li>
            		<li><a href="#">Галерия</a></li>
            		<li><a href="#">Календар</a></li>
            		<li><a href="#">Дейности</a></li>
            		<li><a href="#">За Нас</a></li>
            		<li><a href="#">Контакти</a></li>
            	</ul>
            </div>
            <div id="left-sidebar">
            	<ul id="left-sidebar-content">
            		<li>Услуги</li>
            		<li><a href="#">Зали под наем</a></li>
            		<li><a href="#">Техника под наем</a></li>
            		<li><a href="#">Кетъринг & Кухня</a></li>
            		<li>Практики</li>
            		<li><a href="#">Тай-Чи</a></li>
            		<li><a href="#">Естествен Чигун</a></li>
            		<li><a href="#">"Хатха" Йога</a></li>
            		<li><a href="#">Паневритмия</a></li>
            		<li><a href="#">Дервишки Танци</a></li>
            		<li><a href="#">"Боуен" Техника</a></li>
            		<li><a href="#">Констелации</a></li>
            		<li><a href="#">Рейки</a></li>
            		<li><a href="#">За децата</a></li>
            		<li>Меню & График</li>
            		<li><a href="#">Кулинарно Меню</a></li>
            		<li><a href="#">График & Цени на заниманията</a></li>
            		<li><a href="#">Събития & Срещи</a></li>
            	</ul>
                <div id="slideshow"></div>
            </div>
            
            <div id="ad-block"></div>
    		<div id="sub-block"></div>
    	</div>
    </body>
    </html>
    And this is my CSS:
    Code:
    /* CSS Reset Commands
    -------------------------------------------------------------------- */
    
    *	{	margin:0;	padding:0;	}
    
    /* Main Elements
    -------------------------------------------------------------------- */
    body		{	
    	
    	font-family:"Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    	color:#ffffff;
    	background-image:url(../img/bg-prime.jpg); 
    	background-repeat:no-repeat;
    	background-position:top;
    	background-attachment:scroll;
    	background-position:center top;
    }
    #wrapper	{
    	width:1240px;
    	margin:auto;
    }
    #overspace	{
    	width:1240px;
    	height:270px;
    }
    /* Classes
    -------------------------------------------------------------------- */
    .menu-title	{
    
    }
    
    /* External Links Navbar
    -------------------------------------------------------------------- */
    #nav-ext		{
    	width:1240px;
    	height:50px;
    	margin-top:10px;
    	margin-bottom:10px;
    	background:url(../img/box-b20op.png);
    	background-repeat:repeat;
    	border:5px solid #999;
    	border-style:ridge;
        -webkit-border-radius:10px;
        -moz-border-radius:10px;
        border-radius:10px;
    	box-shadow:rgba(0,0,0,0.4) 5px 5px;
    
    	position:relative;
    	z-index: 0;
    	behavior:url(pie/PIE.htc);
    }
    #nav-ext-content	{
    	font-size:20px;
    	list-style-type:none;
    }
    #nav-ext-title	{
    	float:left;
    	display:block;
    	margin:5px 0px 0px 0px;
    	padding:10px 20px 10px 20px;
    	font-size:16px;
    	color:#fff;
    	list-style-type:none;
    }
    #nav-ext-content a  {
    	float:left;
    	display:block;
    	margin:10px 10px 0px 0px;
    	padding:4px 4px 4px 4px;
    	text-decoration:none;
    	color:#fff;
    	background-image:url(../img/fill-b.png);
    	background-repeat:repeat-x;
    }
    /* Internal Links Navbar
    -------------------------------------------------------------------- */
    #nav-int		{
    	width:1240px;
    	height:50px;
    	margin-top:10px;
    	margin-bottom:10px;
    	background:url(../img/box-60op.png);
    	background-repeat:repeat;
    	border:5px solid #999;
    	border-style:ridge;
        -webkit-border-radius:10px;
        -moz-border-radius:10px;
        border-radius:10px;
    	box-shadow:rgba(0,0,0,0.4) 5px 5px;
    
    	position:relative;
    	z-index: 0;
    	behavior:url(pie/PIE.htc);
    }
    #nav-int-content	{
    	font-size:20px;
    	list-style-type:none;
    }
    #nav-int-title	{
    	float:left;
    	display:block;
    	margin:5px 0px 0px 0px;
    	padding:10px 20px 10px 20px;
    	font-size:16px;
    	color:#fff;
    	list-style-type:none;
    }
    #nav-int-content a  {
    	float:left;
    	display:block;
    	margin:10px 10px 0px 0px;
    	padding:4px 4px 4px 4px;
    	text-decoration:none;
    	color:#fff;
    	background-image:url(../img/fill-b.png);
    	background-repeat:repeat-x;
    }
    /* Left Sidebar
    -------------------------------------------------------------------- */
    #left-sidebar	{
    	width:190px;
    	height:480px;
    	margin-top:10px;
    	margin-bottom:10px;
    	background:url(../img/box-60op.png);
    	background-repeat:repeat;
    	border:5px solid #999;
    	border-style:ridge;
        -webkit-border-radius:10px;
        -moz-border-radius:10px;
        border-radius:10px;
    	box-shadow:rgba(0,0,0,0.4) 5px 5px;
    
    	position:relative;
    	z-index: 0;
    	behavior:url(pie/PIE.htc);
    }
    #left-sidebar-content	{
    	font-size:16px;
    	list-style-type:none;
    	margin-left:5px;
    }
    #left-sidebar-content a  {
    	display:block;
    	margin:5px 0px 0px 5px;
    	padding:0;
    	text-decoration:none;
    	color:#0C9
    }
    /* Slideshow Rotator
    -------------------------------------------------------------------- */
    #slideshow	{
    	width:760px;
    	height:480px;
    	margin-top:10px;
    	margin-bottom:10px;
    	background:url(../img/box-60op.png);
    	background-repeat:repeat;
    	border:5px solid #999;
    	border-style:ridge;
        -webkit-border-radius:10px;
        -moz-border-radius:10px;
        border-radius:10px;
    	box-shadow:rgba(0,0,0,0.4) 5px 5px;
    
    	position:relative;
    	z-index: 0;
    	behavior:url(pie/PIE.htc);
    }
    /* Next Item
    -------------------------------------------------------------------- */
    Here is a picture of what I wanna do (its the actual work in progress):


    I am going for a site portal design, it will have a multitude of widgets after the slideshow rotator.
    Here is my photoshop mockup design:



    So, thats that. Any help would be welcome!!

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Put a left float on your left sidebar and see if that does what you want.

    Remember TheGAME1264's Immutable Law of Floats: When You Float, You Must Clear.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    3
    Member #
    36541
    removed, fixed it
    Last edited by b0b1man; Jun 16th, 2013 at 06:32 AM.

  5. #4
    Junior Member
    Join Date
    Jun 2013
    Posts
    3
    Member #
    36541
    Quote Originally Posted by b0b1man View Post
    Floating the left sidebar won't help (tried it just now, but knew its not gonna do anything).
    I want to float the slideshow box next to that left sidebar.
    Right now it sits under it (as the normal workflow in the divs dictates).

    In my HTML, ive positioned the slideshow div inside the left sidebar div, in order to make it appear next to the sidebar.
    As I understand, child elements of a div can be floated next to eachother inside the master div.
    Problem is, the slideshow didnt float where I want it to and goes below the sidebar.

    Any other suggestions? In the structure, is there a better way to position these items?
    Strike that, I figgured it out with the float method, now it works
    Thanks for the help, bro!

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    No worries, dude. I figured it would.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:26 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com