Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 11-15-2003, 05:53 PM   #1 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
CSS problem

Here is the code for the page settings (layout):



/* Layout Stylesheet */

body{
margin: 0; padding:0;
background: #F0FFF0; color: #333333;
}

#lh-col{
position: absolute;
top: 20px;
left: 20px;
width: 180px;
border: 1px solid #009900;
background: #ffffff;
color: #333333;
margin: 0;
padding: 0;
height: 500px;
z-index: 2;
}

#rh-col{
position: absolute;
top: 20px;
right: 20px;
width: 180px;
border: 1px solid #009900;
background: #ffffff;
color: #333333;
margin: 0;
padding: 0;
height: 500px;
z-index: 1;
}

#c-col{
position: relative;
margin: 20px 201px 20px 201px;
border: 1px solid #009900;
background: #ffffff;
color: #333333;
padding: 20px;
z-index: 3;
}


Here is the actual HTML page:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Chateau Home Industries LTD.</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<meta name="Robots" content="INDEX" />

<link rel="stylesheet" type="text/css"
href="3c-lcrc-static-pp-layout.css" />
<link rel="stylesheet" type="text/css"
href="3c-lcrc-static-pp-presentation.css" />
</head>
<body>
<!-- left column -->
<div id="lh-col"><br />
<a href="http://www.ssi-developer.net/"
title="Go to main page."><img src="logo.gif" alt="" border="0"
width="176" height="84" /></a><br />
<p align="center"><a
href="http://www.ssi-developer.net/main/templates/">View more
templates.</a></p>
</div>
<!-- end of left column -->
<!-- center column -->
<div id="c-col">
<p align="center"><font color="#009900" size="3" face="Arial, Helvetica, sans-serif"><strong>CHATEAU
BUILDING PRODUCTS</strong></font></p>
<p><font color="#009900" size="2" face="Arial, Helvetica, sans-serif">&quot;Adding value to wood&quot;</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Chateau Building Products Ltd is a manufacturer and exporter
of Canadian building technology, panelized homes and building materials. We
use BC species in all of our products. BC species offer a tighter grain and
better resistance to insects and fungi, so our customers know that their manufactured
wood products will last longer.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">We have been exporting to the U.S. and Asia since 1993.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">We manufacture:</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"> # panelized homes, cottages and cabins<br />
# outsourced gazebos, sun rooms and cedar saunas<br />
# custom wood products<br />
# specialty building products</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Chateau operates from 3000 square meters of factory space
with 3000 square meters secured outside storage with dock and grade loading.
Our factory is located 15 minutes from the Vancouver Airport.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Contact us if you are interested in becoming an agent or a
reseller for Chateau's products in your area. We are looking for agents to
sell and build our cottages and custom homes.</font></p>
</div>
<!-- end of center column -->
<!-- right column -->
<div id="rh-col"><br />
<p><font color="#009900" size="3" face="Arial, Helvetica, sans-serif">OUR CLIENTS</font></p>
<p> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">* Architects,
Builders and Developers who import Canadian wood framed houses, panelized
homes and building materials<br />
* Enterprises who want to outsource manufacturing of wood products (saunas,
gazebos, furniture, etc...)<br />
* Individuals who want to control the material costs and labor costs of their
new home or cabin</font></p>
<h4 align="center">&nbsp;</h4>
</div>
<!-- end of right column -->
<p><center><a href="http://chateaubp.com/index.html"><font color="#009900" size="3" face="Arial, Helvetica, sans-serif"><strong><font size="2">Introduction</font></strong></font></a><font size="2">
... <a href="http://chateaubp.com/web/pro.html"><font color="#009900" face="Arial, Helvetica, sans-serif"><strong>Products</strong></font></a>
... <a href="http://chateaubp.com/web/Services.html"><font color="#009900" face="Arial, Helvetica, sans-serif"><strong>Services</strong></font></a></font></p>
<p><font color="#009900" size="2" face="Arial, Helvetica, sans-serif"><strong>Copyright&copy;
CHATEAU BUILDING PRODUCTS LTD e-mail:web@chateaubp.com</strong></font></p></center>

</body>
</html>


Here is my problem:

On the right , my text is to the right, I would like to keep it to the right but I would like to not have it so close to the border. What do I do to fix this?

Thank you for your time in advance.
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 05:55 PM   #2 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
You need to set a margin somewhere. Can we see this on a page?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:06 PM   #3 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
it's not online

Here are all the files I have for download so you can uplload and/or see on your comp.

Thx for your help.
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:18 PM   #4 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
I am looking at it and it looks good. What exactly is the problem?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:23 PM   #5 (permalink)
v7n Mentor
 
Thanol's Avatar
 
Join Date: 10-13-03
Location: Central Ohio (Dublin)
Posts: 1,521
iTrader: 0 / 0%
Latest Blog:
None

Thanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web pro
Send a message via AIM to Thanol Send a message via MSN to Thanol Send a message via Yahoo to Thanol
Is the 'Our Clients' bar the one you want to have a margin?
__________________
-Scott
Build a Website : Other site
Thanol is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:25 PM   #6 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
[code:1:5b16379994]#rh-col{
position: absolute;
top: 20px;
right: 20px;
width: 180px;
border: 1px solid #009900;
background: #ffffff;
color: #333333;
margin: 0;
padding: 0;
height: 500px;
z-index: 1;
} [/code:1:5b16379994]

Add a padding-left: 15px; in there.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:42 PM   #7 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
K i'l try it, and yes it's the our clients.
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:45 PM   #8 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
It's not working.

I to change:

#rh-col{
position: absolute;
top: 20px;
right: 20px;
width: 180px;
border: 1px solid #009900;
background: #ffffff;
color: #333333;
margin: 0;
padding: 0;
height: 500px;
z-index: 1;
}

To:

#rh-col{
position: absolute;
top: 20px;
right: 20px;
width: 180px;
border: 1px solid #009900;
background: #ffffff;
color: #333333;
margin: 0;
padding-left: 15px;
padding: 0;
height: 500px;
z-index: 1;
}
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 06:55 PM   #9 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
You can try margin-left: 15px; but it should be padding.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 07:01 PM   #10 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
It's still not working?????

Can you make it so that it does and let me download it from here cause this is a real pain and is due by monday. I've been working on this page fr 3 days now trying to get that little detail ironned out.

I don't know what to do anywmore????
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 07:07 PM   #11 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Think I got it.

Add this to your stylesheet:

p {margin: 15px;}
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 07:16 PM   #12 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
EUREKA!!!!!!

Thank you so very much for this, I really appreciate it.
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 07:30 PM   #13 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Glad to help
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 10:05 PM   #14 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
what code do I need to add a header?

This in the head section (html):

<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>


In the header (of (body) HTML) I would like to insert this code:

<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<div align="left"><img src="web/image/biaozhi.gif" width="176" height="84"></div>
</td>

<td>
<div align="right"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="560" height="84">
<param name=movie value="web/image/top2.swf">
<param name=quality value=high>
<embed src="web/image/top2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="560" height="84">
</embed>
</object></div>
</td>
</tr>

</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#e4e4e4" height="3"></td>
</tr>
<tr bgcolor="#01a071">
<td height="5"></td>
</tr>
</table>
<table width="740" cellpadding="0" align="center" cellspacing="0" background="web/image/bj.gif">
<tr>
<td width="1" rowspan="2" bgcolor="#66CC66"></td>

<td width="540"><img name="Image3" border="0" src="web/image/intr.gif" width="120" height="20"><a href="web/pro.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','web/image/pro.gif',1)"><img name="Image4" border="0" src="web/image/proa.gif" width="120" height="20"></a><a href="web/Services.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','web/image/ser.gif',1)"><img name="Image5" border="0" src="web/image/sera.gif" width="120" height="20"></a><a href="web/contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','web/image/contact.gif',1)"><img name="Image6" border="0" src="web/image/contacta.gif" width="120" height="20"></a></td>
<td width="158">
<div align="right"><a href="web/chinese/index.html"><img src="web/image/zw.gif" width="73" height="20" border="0"></a></div>
</td>
<td width="1" rowspan="2" bgcolor="#66CC66"></td>
</tr>
<tr bgcolor="#66CC66">
<td height="1" colspan="2"></td>
</tr>
</table>
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-15-2003, 10:06 PM   #15 (permalink)
Banned
 
Join Date: 10-13-03
Posts: 440
iTrader: 0 / 0%
Latest Blog:
None

eyelfixit is liked by many
All I need to know is how to make a header on this template and I'm golden.
eyelfixit is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
where is the problem parabara Web Hosting Forum 11 09-23-2007 03:45 PM
Google's China Problem (and China's Google Problem) - NYTimes Sunday Mag (4/23/06) Julie Google Forum 3 09-18-2007 02:00 AM
Problem with godaddy. Post your problem here!! charlesgan Web Hosting Forum 7 05-09-2007 10:36 AM
CSS problem blelisa Web Design Lobby 4 03-05-2004 03:32 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:59 AM.
© Copyright 2008 V7 Inc