View Full Version : how do I?


emmarox
03-30-2006, 09:33 PM
I'm OK expierenced with HTML and some CSS, but I want to make a layout but do not understand how. hard to explain but heres my site:
www.geocities.com/infoisuseful
see? no layout all I got is content and a table for a navigation menu. i want to make a layout for it. like a box for menu, box for content, and a box for something else, like a log in. dont understand how to do the layouts. please help!!

uday
03-30-2006, 09:48 PM
a login requires a mysql server if your host offers it.

css is a very powerful coding technique for the visual part of layouts if that's what you mean. you can create "boxes" in css, position them where you want them, and put the content in each box. this site, for example, uses css for it's visual properties.

emmarox
03-30-2006, 10:26 PM
look at the site again, i used a css layout code. but the problem is I want seperate boxes with lines seperating them, if you know what i mean. do you have a code for a basic 2 box layout with header?

uday
03-30-2006, 10:42 PM
well, here's a quick one off the top of my head. just adjust the numbers and add properties as you like:

<html>
<head>
<style type="text/css">
.header {
top:0px;
left:0px;
position:absolute;
width:100%;
height:150px;
background-color:blue;
}
.leftcolm {
top:150px;
left:0px;
position:absolute;
width:10%;
height:100%;
background-color:pink;
}
rightcolm {
top:150px;
left:200px;
position:absolute;
width:90%;
height:100%;
background-color:red;
}
</style>
</head>

<body>
<div class="header">
content of header class
</div>
<div class="leftcolm">
content of left column class
</div>
<div class="rightcolm">
content of right column class
</div>
</body>
</html>

like that? :confused:

Koreyvarcoe
03-30-2006, 11:22 PM
well, here's a quick one off the top of my head. just adjust the numbers and add properties as you like:

<html>
<head>
<style type="text/css">
.header {
top:0px;
left:0px;
position:absolute;
width:100%;
height:150px;
background-color:blue;
}
.leftcolm {
top:150px;
left:0px;
position:absolute;
width:10%;
height:100%;
background-color:pink;
}
rightcolm {
top:150px;
left:200px;
position:absolute;
width:90%;
height:100%;
background-color:red;
}
</style>
</head>

<body>
<div class="header">
content of header class
</div>
<div class="leftcolm">
content of left column class
</div>
<div class="rightcolm">
content of right column class
</div>
</body>
</html>

like that? :confused:


Off the top of your head? lol! You got that from the tutorials lissa made. And. Who ever is hosting this site. I suggest you make a few pratice sites and get better with css/html.. Before you make another html help site.

uday
03-30-2006, 11:24 PM
no, as an FYI, i didn't copy any of the css on this page, i really just typed that in.

emmarox
03-31-2006, 12:38 AM
actually thats pretty good. i like that. oh and im making a basic html help site. not complicated stuff. im making like a cheatsheet explaining what tags do what and stuff. and i can make a help site if i want at any expierence level, not trying to be rude, but please dont underestimate me, im only 11 and i try to make things as good as possible. this site is something im really going to try to make good. and if you look at my site again I think ive improved

uday
03-31-2006, 12:41 AM
actually thats pretty good. i like that. oh and im making a basic html help site. not complicated stuff. im making like a cheatsheet explaining what tags do what and stuff. and i can make a help site if i want at any expierence level, not trying to be rude, but please dont underestimate me, im only 11 and i try to make things as good as possible. this site is something im really going to try to make good. and if you look at my site again I think ive improved

it looks really great and i think you're doing an amazing job. you're right, you can make a site for any experience level and i think it'll turn out wonderful. Oh, and you should change the "Not Subject to Copyright" to "Subject to Copyright." :)

emmarox
03-31-2006, 02:16 AM
it looks really great and i think you're doing an amazing job. you're right, you can make a site for any experience level and i think it'll turn out wonderful. Oh, and you should change the "Not Subject to Copyright" to "Subject to Copyright." :)

hey thankz alot for the comments....and Yes i will change the not subject to copyright to subject to copyright! oh and I really like ur site! :)

joecool6101
03-31-2006, 02:16 AM
I am attempting to put in a login page and a search bar for my site to make it look good...it is in construction and i can not continue without it...if someone could please tell me what i can do for this...my website is http://www.strathcl.xoompages.com if you would please tell me how i can do it or what the HTML for it is i would appreciate it..get back to me. Thanks alot

emmarox
03-31-2006, 02:26 AM
yes i'd also like to have a login code, im gonna need one for my members-only areas!! thx

uday
03-31-2006, 02:43 AM
having a user login is going to require that you have a mysql server and some php knowledge. most free hosts don't offer a mysql server but you can check.

joecool6101
03-31-2006, 02:53 AM
having a user login is going to require that you have a mysql server and some php knowledge. most free hosts don't offer a mysql server but you can check.

I am not sure how to check i am using both bravehost and xoompages for my website. xoompages as i can see only gives me an upload tool and that is it but bravehost gives me almost everything and i have no clue how to check for one certian thing...but what if it does have mysql what do i do from there?