Box Help

This is a discussion on "Box Help" within the Web Page Design section. This forum, and the thread "Box Help are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 1st, 2006, 04:59
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to daygon Send a message via MSN to daygon Send a message via Yahoo to daygon
Box Help

i want to add a box for my content so my images dont get messed up. I want it to look like the one here. www.slappyhours.cjb.net
is it css or is it something i can do simply off dreamweaver?
Reply With Quote

  #2 (permalink)  
Old Mar 2nd, 2006, 15:23
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Box Help

That, I'm sure, is an iframe. They're frowned upon, but you can look here to learn more: http://www.htmlite.com/lite021.php
Reply With Quote
  #3 (permalink)  
Old Mar 2nd, 2006, 19:45
craig's Avatar
Reputable Member
Join Date: Sep 2005
Location: Preston, UK
Age: 21
Posts: 381
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to craig
Re: Box Help

It is an iframe.
You DO NOT need to use iframes. They are not the best tool to use, especially when it is so easy to change content.
Have you heard of PHP includes???
They are great, and save a hell of a lot of time.
Say if the code is exactly the same on all of your pages, and the only thing that changes is the centre content, you can put all of the code in one file, and just use the php include to include it into the webpage. Below is what one of my pages looks like as raw PHP.
PHP: Select all

 
<?php include ('includes/header.php'); ?>
 
<div id="contentleft">
<?php include ('includes/navigation.php'); ?>
</div>
<div id="contentcenter">
 
CONTENT GOES HERE
 
</div>
<?php include ('includes/footer.php'); ?>
As you can see on this particular page I have 3 files that I call from the server. The Header and Footer are EXACTLY the same throughout my site since I include these. Therefore if i needed to change something at the bottom of a page I would not need to change EVERY SINGLE page, just ONE file. This saves a lot of time and also means you can put your content in one place without messing up your tables etc.
I hope you find this useful and use this. I started off coding each page, and when I needed to change something i would spend ages going through each file repeatedly.

Craig

Last edited by craig; Mar 2nd, 2006 at 19:55.
Reply With Quote
  #4 (permalink)  
Old Mar 2nd, 2006, 21:21
Junior Member
Join Date: Mar 2006
Location: Munich
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Box Help

I do it exactly the same way, it's really useful because if you want to change something in you menu, for example, you just need to edit navigation.php (in this case).
But I've heard of some other type of PHP-based navigation... do you know cutenews? I don't know what the script does, but when you, for example, click on "next page", the design and everything around it don't change (well, they are reloaded), but it's also done with PHP's include function. I don't know if there's anybody out there who understands me, but I can see PHP_SELF everywhere in the script... well, I'm not that familiar with PHP, so maybe someone could explain how it's done? It's much more useful than iframes, I'd say.
Reply With Quote
Reply

Tags
box, help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43