-
[html] Website
ok i know how to code etc but this is new to me and im unsure of how to do it or what its called.
In my main text space i have an Iframe, but i dont want an iframe i want something that extends the whole website down and im not sure how to do it or what its called. If someone can link me to a TuT or just give me what its called. Im unsure of how to describe it, so if you ask and ill say yes or no
Cheers
EDIT: an ok example would be this, http://imperial-designs.co.uk/ then go onto the Services page, i want it so that the whole layout extends so i dont have to scroll
-
Re: [html] Website
You mean, everytime you click a link.. it only changes the iframe?
-
Re: [html] Website
First, download Firebug. [google it]
After that,
Right click on the element in firefox and click Inspect Element.
That's how you find out what something is.
Second, it is an iFrame, on that site. It's a stupid iFrame with innerHTML, but an iFrame indeed.
Third, iFrames suck. You don't want to use an iFrame, good.
Fourth, lastly: You can do it with a simple table or Div:
Code:
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<td>
Insert Text, Sir.
</td>
</tr>
</table>
Code:
<div style="position:relative;width:300px">
Insert Text, Sir.
</div>
Most elements in HTML expand automatically. If you want an inner scroll-bar, use a div. But it won't expand.
This div is set to scroll on overflow:
Code:
<div style="position:relative;width:300px;height:250px;overflow:scroll">
Text Here, Sir.
</div>
Any questions?
-
Re: [html] Website
Remember one thing : iFrames = Satan for xHtml.
You will have a lighter and better website even by using divs / tables w/ css and making one page for each thing you need , than w/ using iframes, really.
-
Re: [html] Website
Seriously though, just download a WysGui for your PHP/MySQL 5 site. Then you only have to worry about the HTML template & style-sheet once or a few times maybe for unique pages. Real coders use WysGui or Notepad++.
-
Re: [html] Website
Yeqh Notepad++ is the best !
-
Re: [html] Website
How about using Notepad itself? I personally think Notepad is the best for it is simple and isn't hard to code with it. Well that's just my opinion actually, and I've been using the said program since I was new in coding or scripting and such.
-
Re: [html] Website
Notepad++ has some nice features like FTP synchronization, tabs and syntax highlighting
-
Re: [html] Website
iFrames will kill us all in the end.
Side note: the layout on that website is reaally messed up for me (1440x900, firefox).
-
Re: [html] Website
Html is easy [OPINION]
Ima learn PHP soon
Idk where from?