Click to See Complete Forum and Search --> : Space?


Intel17
05-23-2005, 07:17 AM
First off would like to say that this place is very helpfull and the people on here seam very nice :D

Anyway, I am Extreamly new to HTML. Now ive got front Page, but I would like to see if I can make a site without useing the software. Anyway back to what I came here for, How do I create Space on my Site (im useing notepad lol)

I know that if I type <p> Text</p> It will make a new line, but I can't Make Spcae.

Thanks, Pete :confused:

Fang
05-23-2005, 07:25 AM
Using margin in Cascading Style Sheets
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Basic HTML</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script type="text/javascript">
<!--
// all JavaScript here

//-->
</script>

<style type="text/css">
<!--
/* cascading style sheet */

-->
</style>

</head>
<body>
<!-- html here -->
<p style="margin:3em;">Text</p>
</body>
</html>


Read the tutorials (http://www.w3schools.com/default.asp) on (x)html, css and the section on Web building

Intel17
05-23-2005, 07:34 AM
Thanks :D

SupremeVertigo
05-23-2005, 07:36 AM
Not really sure what you want to do but for pure info's sake this &nbsp; will create a space of one character between text.

If you just want a space between 2 line of text then <p> will do it, if you want a bigger space i simply make an img the same color as the background and insert it, nobody ever knows its there, this is probably cheating.......but it does work and is a nice workaround if i do say so myself.
If fact i use this method to push things around on my page all the time.

Fang
05-23-2005, 07:42 AM
SupremeVertigo, also read the tutorials! In these enlightened times we use CSS to 'push things around' not images.

SupremeVertigo
05-23-2005, 07:45 AM
True True.............but your missing the point..............i am not so smart and have to improvise unlike my 'smarter' bretheren :)

Fang
05-23-2005, 07:52 AM
That's what tutorials are for.

Frozenyam
05-23-2005, 08:15 AM
I'm not sure if this is exactly what you're looking for, but I'm trying to help.

Create vertical spaces: <p>&nbsp</P>
Create horizontal spaces: &nbsp ("&nbsp;&nbsp" will create two spaces, and so on).

Hope this helps :)
It works great for aligning things just were you want them.

BeachSide
05-23-2005, 10:00 AM
Not really sure what you want to do but for pure info's sake this &nbsp; will create a space of one character between text.

If you just want a space between 2 line of text then <p> will do it, if you want a bigger space i simply make an img the same color as the background and insert it, nobody ever knows its there, this is probably cheating.......but it does work and is a nice workaround if i do say so myself.
If fact i use this method to push things around on my page all the time.

Ah how I remember the days of taking a 1x1px transparent gif and making as big as you want to make room... :eek:

ray326
05-23-2005, 10:48 PM
Ah how I remember the days of taking a 1x1px transparent gif and making as big as you want to make room... That would've been back in the 20th century, right?

BeachSide
05-23-2005, 11:16 PM
That would've been back in the 20th century, right?
excatly :p

Al Gore and I well we ran hand in han... :eek:

Nevermind...

Intel17
05-25-2005, 05:12 AM
lol, thanks , people :D

Thats all I needed to know :)
my next question is how can i make this;

<HTML>

<TITLE>QHP WebSite</TITLE>

<FRAMESET>
<FRAMESET COLS="6%,50%">

<FRAME NAME="A" SRC="http://www.freewebs.com/qhpforum/linkss.html">
<FRAME NAME="b" SRC="http://www.freewebs.com/qhpforum/main.html">

</FRAMESET>
</HTML>

But with out frames, If you know what i mean.
erm I mean so that there is no boder.
erm So there is no line going down the page like this site

http://www.computersandconsoles.co.nr/

Thanks, Again, Pete

Robert Wellock
05-25-2005, 07:48 AM
Without frames or without a frame border?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content=
"text/html; charset=UTF-8">
<title>
QHP WebSite
</title>
</head>
<frameset cols="6%,50%">
<frame name="A" src=
"http://www.freewebs.com/qhpforum/linkss.html" id="A" scrolling="no">
<frame name="b" src=
"http://www.freewebs.com/qhpforum/main.html" id="b">
<noframes>
<body>
<p>
Message
</p>
</body>
</noframes>
</frameset>
</html>

Since frames have borders you cannot remove them without hacks but maybe you wanted no scrolling.

Intel17
05-25-2005, 11:02 AM
Thank you for that, im not sure if that is what i was looking for, but I will look into it, by going to variuse Tutorials for HTML :d

thanks again , Pete

Frozenyam
05-25-2005, 05:48 PM
<HTML>

<TITLE>QHP WebSite</TITLE>

<FRAMESET>
<FRAMESET COLS="6%,50%" frameborder=no framespacing=0 border=0>

<FRAME NAME="A" SRC="http://www.freewebs.com/qhpforum/linkss.html">
<FRAME NAME="b" SRC="http://www.freewebs.com/qhpforum/main.html">

</FRAMESET>
</HTML>

That should do frames and not show the border :)

Intel17
05-26-2005, 08:10 AM
Perfect, thank you Frozenyam :D thats just what i was looking for :D

P.S What do you think of the site? lol :D I did it all in Notepad :D not to bad if I dont say so..... But theres something missing :S

Robert Wellock
05-26-2005, 08:41 AM
Yes validity of the syntax; as "...framespacing=0 border=0..." is propriety nonsense that will only work in a few dodgy browsers.