Jump to content

bigjoe11a

Members
  • Content Count

    235
  • Joined

  • Last visited

Community Reputation

16 Good

About bigjoe11a

  • Rank
    Member
  • Birthday 05/04/1959

Previous Fields

  • Languages
    English

Contact Methods

  • Website URL
    http://www.df-barracks.com
  • Yahoo
    bigjoe11a

Profile Information

  • Location
    USA
  • Interests
    PHP, Visual Basic and Visual C#. Gaming. Missions editing. A PC Nut, and PC Repair Tech.

    Call Of Duty, Movalogic Games, FlashPoint, battle Field 2..
  1. bigjoe11a

    CSS Blocks

    Well thanks for your time.
  2. bigjoe11a

    CSS Blocks

    Thanks, How ever that didn't work. How ever I did find out why is wasn't working. I had 2 extra <div> tags that I didn't have ending tags for. I just removed the tags at the top. and well. Take a look. http://www.toppersbbs.info/mapnet/ Thanks
  3. bigjoe11a

    CSS Blocks

    I just copied my code over. I hate doing it like this. I just didn't know what else to do. Any way. This is the CSS and and html page. <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>Welcome too Mapnet - Med Little Helper</title><style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px; font: 13px/20px normal Helvetica, Arial, sans-serif; color: #4F5155; } #logo { width: 99%; margin-left: 25px; } a { color: #003399; background-color: transparent; font-weight: normal; text-decoration: none; } h1 { color: #444; background-color: transparent; border-bottom: 1px solid #D0D0D0; font-size: 19px; font-weight: normal; margin: 0 0 14px 0; padding: 14px 15px 10px 15px; } code { font-family: Consolas, Monaco, Courier New, Courier, monospace; font-size: 12px; background-color: #f9f9f9; border: 1px solid #D0D0D0; color: #002166; display: block; margin: 14px 0 14px 0; padding: 12px 10px 12px 10px; } #body{ margin: 0px auto; } p.footer{ text-align: right; font-size: 11px; border-top: 1px solid #D0D0D0; line-height: 32px; padding: 0 10px 0 10px; margin: 20px 0 0 0; } #container{ margin: 0px auto; border: 1px solid #990000; -webkit-box-shadow: 0 0 8px #D0D0D0; } #portal { border: 1px solid Black; -webkit-box-shadow: 0 0 8px #D0D0D0; } .b_bar { border: 12px solid cornflowerblue; margin: 0px auto; border-radius: 25px; -moz-border-radius: 25px; /* Old Firefox */ } .b_border { border: 1px solid #E13300; } .block_content { margin: 0px auto; } h4 { margin-top: -23px; margin-left: 100px; } .top_block { width: 90%; margin: 10px auto; } .left_block { width: 20%; float: left; margin: 10px auto; margin-left: 20px; } .center_block { width: 50%; float: left; margin: 20px auto; margin-left: 20px; } .right_block { width: 20%; float: right; margin: 20px auto; margin-right: 20px; } .bottom_block { width: 90%; margin: 20px auto; margin-top: 500px; } .clear { clear: both; } </style></head><body> <div id="logo"> <img src="images/logo.jpg"> </div> <div id="container"> <h1>Welcome to Mapnet!</h1> <div id="body"> <?php if($this->session->userdata('is_logged_in')) { echo '<a href="'.base_url().'home/logout">Logout</a>'; if($this->session->userdata('usergroup') == 'Admin') { echo '<a href="'.base_url().'home/admin">Admin CP</a>'; } } else { echo '<a href="'.base_url().'home/login">Login</a> | '; echo '<a href="'.base_url().'home/register">Register</a>'; } /* if($this->session->userdata('is_logged_in')) { echo $this->session->userdata('username'); echo $this->session->userdata('is_logged_in'); } else { echo 'Don\'t see sessions at this time'; } */ ?> </div> <div id="portal"> <?php echo '<div class="top_block">'; foreach($top_blocks as $blocks) { echo '<div class="b_bar"></div>'; echo '<h4>'.$blocks['block_title'].'</h4>'; echo '<div class="b_border"></div>'; echo '<div class="block_content">' . $blocks['block_content'] . '</div>'; } echo '</div>'; ?> <?php echo '<div class="left_block">'; foreach($left_blocks as $blocks) { echo '<div class="b_bar"></div>'; echo '<h4>'.$blocks['block_title'].'</h4>'; echo '<div class="b_border"></div>'; echo '<div class="block_content">' . $blocks['block_content'] . '</div>'; } echo '</div>'; ?> <?php echo '<div class="center_block">'; foreach($center_blocks as $blocks) { echo '<div class="b_bar"></div>'; echo '<h4>'.$blocks['block_title'].'</h4>'; echo '<div class="b_border"></div>'; echo '<div class="block_content">' . $blocks['block_content'] . '</div>'; } echo '</div>'; ?> <?php //This is the bottom block and where the problem is. echo '<div class="right_block">'; foreach($right_blocks as $blocks) { echo '<div class="b_bar"></div>'; echo '<h4>'.$blocks['block_title'].'</h4>'; echo '<div class="b_border"></div>'; echo '<div class="block_content">' . $blocks['block_content'] . '</div>'; } echo '</div>'; ?> <?php echo '<div class="bottom_block">'; foreach($bottom_blocks as $blocks) { echo '<div class="b_bar"></div>'; echo '<h4>'.$blocks['block_title'].'</h4>'; echo '<div class="b_border"></div>'; echo '<div class="block_content">' . $blocks['block_content'] . '</div>'; } echo '</div>'; ?> </div> <div class="clear"></div> <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p></div></body></html>
  4. bigjoe11a

    CSS Blocks

    Ok, I added 2 new blocks. One on the left and one on the right. Now look at the bottom block. It stays in the same place and doesn't move down. So look at it again http://www.toppersbbs.info/mapnet/
  5. bigjoe11a

    CSS Blocks

    Ok, I'm going to have to find a way to copy this code over so you can see it. Any way. Your right it looks ok. How ever if I try and add blocks to it. Then it would look right. Because the bottom block is set up wrong. Ok, See when I add new blocks. Top blocks or blocks on the sides. This moves the page down. When this happens. The bottom block should move down all so. When new blocks are are added. Are you getting this idea. Let me make some changes. I'll add some new blocks and then you will see what the problem is. Be right back.
  6. bigjoe11a

    CSS Blocks

    Well the best I can do is give you guys the web url. It's like I said. I got some of it to work. Just not all of it. I know that the CSS is wrong or not right. and I changed it so many times that it qouldn't matter giving you guys the code. I know the code is all screwed up. Here's the link http://www.toppersbbs.info/mapnet/ If you look at it. You will see what I'm trying to do. How ever. Like I said the code is wrong. and sense it's not on this PC. It's too much of a pain in the butt to copy this crap over just so I can post it for you to read. and then I don't think you would be able to unstand it any way. So let me know. The drawing I posted earlier should have been more then what you or any one would need.
  7. bigjoe11a

    CSS Blocks

    Ok, well the nice things people have said about this forum is all a lie then. 2) The code I do have I changed it so many times it wouldn't help you to figure out what I'm trying to do. That's why I drew it for you.
  8. bigjoe11a

    CSS Blocks

    Well I did try that all ready and it still doesn't work. The problem is the bottom block. I have to use a margin-top: 500px to bring it down to the bottom of the page. and well I know I shouldn't have to do this. And for your info. That's fine. If you don't want to help. Then you shouldn't have posted. If you don't some one else will.
  9. bigjoe11a

    CSS Blocks

    Thanks. How ever that's not what I was looking for. I need to build more then one block or box. Like I had in the sample above.
  10. bigjoe11a

    CSS Blocks

    Thanks and sense I don't have any thing that works or even comes close to what I want. I don't think I have any thing that can help you to help me. The idea is that in a div with an id of container. I need 5 parts. htmlheadtitle/title/headstyle.top_block { }.left_block { }/stylebody top_blockleft_block------------center_block-----------right_blockbottom_block. /body/html That should give you an idea on what I'm trying to do
  11. bigjoe11a

    CSS Blocks

    I have a div tag with an id of container. In this container I'm trying to do is setup some blocks. top blockleft blockcenter blockright blockbottom block. Can some one please show me how to do this in a html using css. I just need an html document with the css to show me how to this so I can line this up right. I never been all that good using CSS. Joe
  12. StevenHu, Thank you I downloaded this book and I will go over it. Joe
  13. No I haven't, Do you have an URL Never mind. I fount it. and Thanks
  14. I been searching and wanted to find a school that offers online courses in PHP for free Training. I 52 Years old and disabled. So I have a limited income. (It means I can't a ford to go back to school). I was wondering if any one knows of school or even some one who knows PHP or even CakePHP that could teach me. I just can't a ford $20.00 or $45.00 an hour to pay some one to teach me. Joe
  15. Then you need to start reading this from the beginning. Your not getting the idea. Most people are not all ways going to under stand the writen tutorials.
×
×
  • Create New...