View Full Version : What's Wrong?


autumnp
01-08-2006, 08:54 PM
Hi,

I am TOTALLY new to all this and want to learn at least a little of CSS to use in my ebay auctions.

I would like to use one or two of column layouts that are on this site, but when I paste the code into my editor (1st page 2000) I am not seeing the title, just the body text.

Basically my question is - Am I suppose to see the Title, coded below, "Two Column CSS Layout". As I will need to enter my own title words once I figure out why what is there already isn't(?) working and what it would look like if it did work? Or how do I add a title!?

the code that Lissa gives is what I am directly pasting into my editor:

<html>
<head>
<title>Two Column CSS Layout</title>
<style type="text/css">

body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}

#menu {
position: absolute;
left: 5px;
padding: 0px;
width: 150px;
}

#content {

margin-left: 200px;
padding: 0px;
margin-right: 15px;
}

</style>
</head>
<body>

<div id="menu">

Your menu will go here. You can place images, text links, etc. in this div. To change the properties of this layer you can change the #menu selector in the style sheet that is located on this page between the head tags.

</div>


<div id="content">
All of your content goes in this div. This side is fluid so that if the window is collapsed, your div will collapse also and fit the screen perfectly. To change the properties of this div you can change the #content selector in the style sheet that is located on this page between the head tags.
</div>


</body>
</html>

Spid
01-08-2006, 09:10 PM
The title tags in the code show the title in the browser window.

To add a title to the page itself you need to add one in the body code.

autumnp
01-08-2006, 09:19 PM
Hey Thanks,

Sorry for being an idiot! Just curious, but what is the difference between a browser window and the page itself?

I have worked with a little basic html, just to insert stuff or change an already made template, but not much.

Thanks Again,
Autumn

kittycat
01-08-2006, 09:21 PM
The browser window is the browser itself, with the buttons, toolbars, and whatever.
The 'page' is just what shows up in the main area, essentially what's between the <body> tags of your HTML coding.

Spid
01-08-2006, 09:24 PM
The title that shows in the browser window is the one you'll see at the top of this window saying Lissa Explains it all: ect

You not being an idiot, we all have to learn hun:)