[HTML]A few easy questions[HTML]
1.) how do i make content expand? im thinking it has something to do with the CSS.
2.) Im making a layout, and i am trying out tabs for my first time, and i dont get how im supposed to make the tab overlap to become a link.
3.) I'm trying to figure out something better than iframes to show content.
Re: [HTML]A few easy questions[HTML]
Re: [HTML]A few easy questions[HTML]
1 & 2
Javascript
3 php
PHP Code:
<?php
include('menu.php');
?>
Re: [HTML]A few easy questions[HTML]
You can show content with Tables, Frames and CSS.
Re: [HTML]A few easy questions[HTML]
Quote:
Originally Posted by
Superfun
1 & 2
Javascript
3 php
PHP Code:
<?php
include('menu.php');
?>
how do i adjust the size/position of it? i only know a lil of PHP
:woot_jump:
Re: [HTML]A few easy questions[HTML]
You can use <div> tags around the output.
<div style="width:500px; height:500px;">
<?php
include('menu.php');
?>
</div>
But you can also just make sure the menu.php outputs something with a certain width/height.
Position: just place the code within the HTML file whereever you want. (between the body tags)
Re: [HTML]A few easy questions[HTML]
Use php Includes, or if php isn't availible, SSI.
To position it, use invisible tables, css, or <DIV> tags. If you're starting out, invisible tables are easier, but a bit bigger in terms of lines of coding.
Re: [HTML]A few easy questions[HTML]
k, i know the answers for 2/3 but i still dont know 1 i need more explaining.
Re: [HTML]A few easy questions[HTML]
What do you mean with expanding the content? In width or height?