Jump to content

bigjoe11a

Members
  • Posts

    235
  • Joined

  • Last visited

About bigjoe11a

  • 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..

bigjoe11a's Achievements

Member

Member (2/7)

16

Reputation

  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. I'm more then willing to help any one with a PHP script problem. If you have the time. I can show you and teach you jjust about any thing.

  13. Well since you didn't give any info on what your trying to do. I would think the best place to start at is http://www.microsoft.com/express and download Visual Studio Express 1st and they have lots of video tutorials. and if you need more help you can go to http://www.msdn.com and login and check out there forums sections. Since it's the best place to go for that. I don't know if w3schools offer Visual Basic yet. I do a little Visual Basic and Visual C# my self.
  14. Hi! Every one, My name is Joe and I'm 52 years old and live in Ohio, USA. I like PHP coding and software programming. I run 4 web sites. here the list http://www.toppsbbs.info (bulletin Board Related) Bloghttp://www.df-barracks.com for Novalogic gamers and mission editors.http://www.frontline-nova.com Mission editing and gammers, Online chat and online games (new)http://www.pro-forums.info Programming forum (Free Class downloads) and BBS Doors, includes free libraries too. I have 2 cats, 2 birds and one hamster, lol. I live a lone and no wife or kids. The only thing I do is punch keys on my keyboard most of the day. I chat on yahoo IM and facebook. I try to help people who need it. I'm a PC Repair Tech and I been coding in PHP for 4 1/2 years. I been Programming software for all most 3 years. and release one package called Med Little Helper. You can download it from :http://www.mediafire.com/?vrlh4tpb0ybr8Press F1 from the opening window will load the help file. The new help system requires H2Viewer and that can be downloaded from here http://helpware.net/mshelp2/h2viewer_install_146.exe for free and free to use.Need any help. You can go here http://www.df-barracks.com Was this a little too much info.Joe
  15. bigjoe11a

    functions

    I need a way of counting a file entries and then return thenfunction Get_entries() {$entries = 0;$file = fopen("text.txt","r");while (!feof($file) {fgets($file $entries = $entries + 1;} return $entries;}This small code mite help. Thats what I'm trying to do. I need it to return the number in $entries
×
×
  • Create New...