Jump to content
MakeWebGames

.css help


KaineBennett

Recommended Posts

Hey guys, sorry for another thread! I need to move my left menu further to the left, and right menu further to the right so I can make width of content box bigger... This is the code below.

 

#content {
   float:left;
   width:704px;
       padding: 150px auto;
   text-align:center;
       border: 1px solid #111111;
   height:600px;
   background:#000;
       font-family: 'Fjalla One', sans-serif;
       font-size:14px;
       color:#666666;
   border-top-right-radius: 8px;
   border-bottom-left-radius: 8px;
   border-bottom-right-radius: 8px;
   opacity: 0.75;

}


#sidebar {
   float:left;
   width:145px;
   border-top-left-radius: 8px;
   border-bottom-left-radius: 8px;
   text-align:center;
       border: 1px solid #232323;
   height:525px;
   background:#232323;
   opacity: 0.75;

}

#sidebar1 {
   float:right;
   width:145px;
   border-top-right-radius: 8px;
   border-bottom-right-radius: 8px;
   text-align:center;
       border: 1px solid #232323;
   height:475px;
   background:#232323;
   opacity: 0.75;

}
Link to comment
Share on other sites

Hey guys, sorry for another thread! I need to move my left menu further to the left, and right menu further to the right so I can make width of content box bigger... This is the code below.

 

#content {
   float:left;
   width:704px;
       padding: 150px auto;
   text-align:center;
       border: 1px solid #111111;
   height:600px;
   background:#000;
       font-family: 'Fjalla One', sans-serif;
       font-size:14px;
       color:#666666;
   border-top-right-radius: 8px;
   border-bottom-left-radius: 8px;
   border-bottom-right-radius: 8px;
   opacity: 0.75;

}


#sidebar {
   float:left;
   width:145px;
   border-top-left-radius: 8px;
   border-bottom-left-radius: 8px;
   text-align:center;
       border: 1px solid #232323;
   height:525px;
   background:#232323;
   opacity: 0.75;

}

#sidebar1 {
   float:right;
   width:145px;
   border-top-right-radius: 8px;
   border-bottom-right-radius: 8px;
   text-align:center;
       border: 1px solid #232323;
   height:475px;
   background:#232323;
   opacity: 0.75;

}
I dont understand what you mean exactly because how far left should it be etc

if i were you id use a margin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...