Dazachi wrote:
adriangl wrote:
Dazachi wrote:
I am so confused. Which way is the easiest, but still looks good?
Easiest is using internal CSS (ex: <style type="text/css">Code</style>). But it is very messy for you to code your page with a bunch of CSS code in there. So I fully recommend external.
I was told CSS is only for styling? Not for making navbars.
Oh, navigation bars...That's simple. Simply use the <div> tag. Well, not only that. I recommend learning how to make tables, all of my nav bars are tables. So, yeah, make a table, use the <div> tag to align it.
Offline
adriangl wrote:
Dazachi wrote:
adriangl wrote:
Easiest is using internal CSS (ex: <style type="text/css">Code</style>). But it is very messy for you to code your page with a bunch of CSS code in there. So I fully recommend external.I was told CSS is only for styling? Not for making navbars.
Oh, navigation bars...That's simple. Simply use the <div> tag. Well, not only that. I recommend learning how to make tables, all of my nav bars are tables. So, yeah, make a table, use the <div> tag to align it.
I know how to make tables. I was using them too. I just am too lazy to change each page when I make a new page.
Offline
soupoftomato wrote:
J0j2 wrote:
Well, there's a really nice site called w3schools I think, and it has really good CSS coding help.
He was using some code from there, but it didn't work.
![]()
Because he isn't using CSS right.
CSS is for styling, not making.
Offline
Hah, you are lucky I am a pro.
Go to templates, and select the last one, CSS.
Then go to advanced, and type in some code or copy and paste it. When that doesn't work click the area links.
BTW webs is coming out with drop down menus VERY soon.
Offline
Dazachi wrote:
adriangl wrote:
Dazachi wrote:
I am so confused. Which way is the easiest, but still looks good?
Easiest is using internal CSS (ex: <style type="text/css">Code</style>). But it is very messy for you to code your page with a bunch of CSS code in there. So I fully recommend external.
I was told CSS is only for styling? Not for making navbars.
you can make better-looking navbars with css. you can style it with css. what I would do is use iframes which go to an html file for your navbar.
Offline
16Skittles wrote:
Dazachi wrote:
adriangl wrote:
Easiest is using internal CSS (ex: <style type="text/css">Code</style>). But it is very messy for you to code your page with a bunch of CSS code in there. So I fully recommend external.I was told CSS is only for styling? Not for making navbars.
you can make better-looking navbars with css. you can style it with css. what I would do is use iframes which go to an html file for your navbar.
Ok. I will just use those.
Offline
gershmer wrote:
Dazachi wrote:
So I should use iframes now?
When php is compiled so it can be run on a server, all the includes turn into IFRAMES,
I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.
Last edited by coolstuff (2010-05-01 22:06:18)
Offline
coolstuff wrote:
gershmer wrote:
Dazachi wrote:
So I should use iframes now?
When php is compiled so it can be run on a server, all the includes turn into IFRAMES,
I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.
How hard is it to learn PHP?
Offline
Dazachi wrote:
coolstuff wrote:
gershmer wrote:
When php is compiled so it can be run on a server, all the includes turn into IFRAMES,I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.How hard is it to learn PHP?
If you can learn Javascript, PHP will be a breeze. But if you aren't planning on making a super-professional over the top website, the only code that you will probably use is <?php include("file.php"); ?>.
Offline
<html> <head> Some of your stuff here... <style type="text/css"> @import: url(PUT URL OF CSS STYLESHEET HERE); </style> </head> <body> Put your stuff here... </body> </html>
Will this work?
Offline
adriangl wrote:
Dazachi wrote:
coolstuff wrote:
I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.How hard is it to learn PHP?
If you can learn Javascript, PHP will be a breeze. But if you aren't planning on making a super-professional over the top website, the only code that you will probably use is <?php include("file.php"); ?>.
So I can't do it if I don't know php. Hmm.
Offline
Dazachi wrote:
adriangl wrote:
Dazachi wrote:
How hard is it to learn PHP?If you can learn Javascript, PHP will be a breeze. But if you aren't planning on making a super-professional over the top website, the only code that you will probably use is <?php include("file.php"); ?>.
So I can't do it if I don't know php. Hmm.
no, what (s)he's saying is that unless you want a website like the scratch website where users can change or add things, all you need is the code he put above. You'll also need the php declaration.
Offline
coolstuff wrote:
gershmer wrote:
Dazachi wrote:
So I should use iframes now?
When php is compiled so it can be run on a server, all the includes turn into IFRAMES,
I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.
Ehh. My version of PHP for some reason does.
But iframe is a real tag.
http://www.w3schools.com/tags/tag_IFRAME.asp
Offline
gershmer wrote:
coolstuff wrote:
gershmer wrote:
When php is compiled so it can be run on a server, all the includes turn into IFRAMES,I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.Ehh. My version of PHP for some reason does.
But iframe is a real tag.
http://www.w3schools.com/tags/tag_IFRAME.asp
That's been clear for a while. A lot of things like chatboxes and blogs use the iframe tag.
Offline
adriangl wrote:
gershmer wrote:
coolstuff wrote:
I'm not so sure that's true. Iframes have no flexibility whatsoever. It's a box which displays a website. It will not expand to fit the content. I HATE THEM, they cause web developers so many problems.
Besides, with PHP includes, you can make entire layouts. with iframes, you can't. Also, Includes do not turn into Iframes, they become a normal part of the webpage. For example:
My website: http://hpsrc.com/
No iframes, aside from the news thing, because t35 was mean and wouldn't let me put include that. And I never had to repeat code the layout. The navbar and everything - all in the include file. The included file actually becomes part of the webpage.
Professional website rarely ever, if ever, use iframes. It also just so happens that they are substandard: it will work in most major browsers, but they aren't officially a tag. Nearly all of them use Includes.Ehh. My version of PHP for some reason does.
But iframe is a real tag.
http://www.w3schools.com/tags/tag_IFRAME.aspThat's been clear for a while. A lot of things like chatboxes and blogs use the iframe tag.
I am aware that it's a real tag, but it's substandard. A lot of browsers don't support it.
Offline
coolstuff wrote:
adriangl wrote:
gershmer wrote:
Ehh. My version of PHP for some reason does.
But iframe is a real tag.
http://www.w3schools.com/tags/tag_IFRAME.aspThat's been clear for a while. A lot of things like chatboxes and blogs use the iframe tag.
I am aware that it's a real tag, but it's substandard. A lot of browsers don't support it.
According to W3, all major browsers support it.
Offline
adriangl wrote:
coolstuff wrote:
adriangl wrote:
That's been clear for a while. A lot of things like chatboxes and blogs use the iframe tag.I am aware that it's a real tag, but it's substandard. A lot of browsers don't support it.
According to W3, all major browsers support it.
Unless you're reading a post from the early 2000s, all support it.
Offline