PDA

View Full Version : Newbie Help


Scooterpig
09-30-2008, 10:00 AM
Yes am a newbie to DW and actually finding it amazing to work with and slowly learning day by day.

I do have 1 problem though which I know has been asked several times here before and I have visited the tutes to no avail.

I have made up a site for a mate so just playing at the moment, but unfortunately it's not made to be viewed at all screen resolutions so I found out later on. I made up pages via New - HTML - 1 or 2 Column Liquid page. made the page as desired and saved as xxxx.html. No worries, page looks ok when tested but as I said all wrong for different screen resolutions. Main offender being 800 x 600.

Ok so read the tute here and sorta understand it, but got totally lost when it said to add info to CSS file. Where is my CSS file? No where to be seen. I have the HTML for the page and understand about editing the CSS to make necessary changes, but have NFI about adidng the required text to it to make it workable.

Should I have also saved the html as a css also? Do I need to re-create it? Can I save it as css from the html? Am I up the xxxx creek now and need to start from sctratch again? is this fixable to make page viewable on all screen sizes?

Thank you for your help..:)

edbr
09-30-2008, 10:17 AM
a css page is a page (or more) containing your styles, if you have your styles on your html page you can move them to your new css page. between <styles> and </styles> in the head section of your html page.
ou then link to the style sheet , you can use >import css in the css/design table at the side

Scooterpig
09-30-2008, 10:52 AM
Ok thanks for the reply but ya lost me sorry..:(

edbr
09-30-2008, 11:01 AM
Ok sorry, copy and paste the code (from code view) here and irt will be easier to explain

Scooterpig
09-30-2008, 11:15 AM
Do you mean the code for 1 of the html pages?

edbr
09-30-2008, 11:22 AM
yes so i can see how it is set out first

Scooterpig
09-30-2008, 11:24 AM
Thank you..:)

This is the main index.html page just for your info.

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Leisure Coast Gas</title>
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-image: url(images/bgtest1.jpg);
background-repeat: no-repeat;
}
.thrColLiqHdr #container {
width: 80%; /* this will create a container 80% of the browser width */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 0px none #000000;
text-align: center; /* this overrides the text-align: center on the body element. */
}
.thrColLiqHdr #header {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
background-color: #DDDDDD;
background-image: url(images/bgtest1.jpg);
}
.thrColLiqHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/* Tips for sidebars:
1. Since we are working in percentages, it's best not to use side padding on the sidebars. It will be added to the width for standards compliant browsers creating an unknown actual width.
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColLiqHdr #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/
.thrColLiqHdr #sidebar1 {
float: left; /* this element must precede in the source order any element you would like it be positioned next to */
width: 23%; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
background-color: #EBEBEB;
background-image: url(images/bg1.jpg);
}
.thrColLiqHdr #sidebar2 {
float: right; /* this element must precede in the source order any element you would like it be positioned next to */
width: 23%; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
background-color: #EBEBEB;
background-image: url(images/bg1.jpg);
}
.thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 {
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
margin-right: 10px;
}

/* Tips for mainContent:
1. the space between the mainContent and sidebars is created with the left and right margins on the mainContent div.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 300px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/
.thrColLiqHdr #mainContent {
margin: 0 24% 0 23.5%; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
}

.thrColLiqHdr #footer {
background-color: #DDDDDD;
background-image: url(images/bg.jpg);
padding-top: 0;
padding-right: 1px;
padding-bottom: 0;
padding-left: 1px;
}
.thrColLiqHdr #footer p {
margin: 0;
padding: 0px;
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain its child floats */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.style1 {
font-size: xx-small;
font-weight: bold;
}
.style2 {
color: #0000FF;
font-weight: bold;
}
-->
</style>
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.thrColLiqHdr #sidebar2, .thrColLiqHdr #sidebar1 { padding-top: 30px; }
.thrColLiqHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<style type="text/css">
ul.MenuBarVertical
{
margin: 0 auto ;
width: 8em;
}
.style3 {color: #0000FF}
</style>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>

<body class="thrColLiqHdr">

<div align="center" id="container">
<div id="header">
<h1 align="center"><img src="images/banner2 copy.jpg" width="1000" height="200" align="middle" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3>&nbsp;</h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li>
<div align="center"><a href="index.html"><strong>Home</strong></a></div>
</li>
<li>
<div align="center"><a href="aboutus.html"><strong>About Us</strong></a></div>
</li>
<li>
<div align="center"><a href="products.html"><strong>Products</strong></a></div>
</li>
<li>
<div align="center"><a href="services.html"><strong>Services</strong></a></div>
</li>
<li>
<div align="center"><a href="contactus.html"><strong>Contact Us</strong></a></div>
</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p>
<!-- end #sidebar1 -->
</p>
</div>
<div id="sidebar2">
<p align="center"><a href="products/weber.html"><img src="images/weberlogo.gif" width="150" height="60" border="0" /></a></p>
<p align="center"><img src="images/rinnai_logo.gif" width="150" height="60" /></p>
<p align="center"><img src="images/beefeater.gif" width="161" height="60" /></p>
<p align="center"><img src="images/masportweblogo.gif" width="150" height="60" /></p>
<p align="center"><img src="images/everdurelogo.gif" width="150" height="37" /></p>
<p align="center"><img src="images/lglogo.gif" width="148" height="40" /></p>
<p align="center">
<!-- end #sidebar2 -->
<img src="images/jetmaster.gif" width="150" height="59" /></p>
</div>
<div id="mainContent">
<h1 align="center"><!-- TemplateBeginEditable name="Title" --><strong>Welcome To Leisure Coast Gas</strong><!-- TemplateEndEditable --></h1>
<!-- TemplateBeginEditable name="Body" -->
<p align="center" class="style2">Your Local Gas Specialist</p>
<blockquote>
<p align="justify"><strong>Welcome to the home of Leisure Coast Gas, your one stop shop for everything gas. We here at Leisure Coast Gas are here to help you with all your gas needs and services and will gladly assist you in installing, setting up or servicing any gas product you have or need. As you will see by browsing through our site we are suppliers and agents for many brands and products and if there's one you are after and not there, let us know as am sure we will be able to assist.</strong></p>
<p align="justify"><strong>Please visit our Products &amp; Services pages as there is plenty of information there to help you make the right decision and which product best suits your needs. Pricing &amp; Quoting can also be arranged on any request on any item also.</strong></p>
<p align="center"><strong>Thank you for visiting our site and hope we can be of assistance.</strong></p>
<p align="center">&nbsp;</p>
<p align="center"><a href="products/Weber Specials.pdf"><img src="images/webercat.jpg" width="200" height="100" border="0" /></a></p>
<p align="center">&nbsp;</p>
<p align="center" class="style3"><strong>Leisure Coast Gas</strong></p>
<p align="center"><strong><span class="style3">Ph</span> - <span class="style3">(02) 4284 9899</span></strong></p>
<p align="center"><strong><a href="mailto:sales@leisurecoastgas.com.au (sales@leisurecoastgas.com.au)">sales@leisurecoastgas.com.au</a></strong></p>
</blockquote>
<p align="center"><!-- end #mainContent -->
</p>
<!-- TemplateEndEditable --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p align="center" class="style1">Copyright &copy; Scooterpig 2008</p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>

edbr
09-30-2008, 11:33 AM
ok this
<style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-image: url(images/bgtest1.jpg);
background-repeat: no-repeat;
}
.thrColLiqHdr #container {
width: 80%; /* this will create a container 80% of the browser width */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 0px none #000000;
text-align: center; /* this overrides the text-align: center on the body element. */
}
.thrColLiqHdr #header {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
background-color: #DDDDDD;
background-image: url(images/bgtest1.jpg);
}
.thrColLiqHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/* Tips for sidebars:
1. Since we are working in percentages, it's best not to use side padding on the sidebars. It will be added to the width for standards compliant browsers creating an unknown actual width.
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColLiqHdr #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/
.thrColLiqHdr #sidebar1 {
float: left; /* this element must precede in the source order any element you would like it be positioned next to */
width: 23%; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
background-color: #EBEBEB;
background-image: url(images/bg1.jpg);
}
.thrColLiqHdr #sidebar2 {
float: right; /* this element must precede in the source order any element you would like it be positioned next to */
width: 23%; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
background-color: #EBEBEB;
background-image: url(images/bg1.jpg);
}
.thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 {
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
margin-right: 10px;
}

/* Tips for mainContent:
1. the space between the mainContent and sidebars is created with the left and right margins on the mainContent div.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 300px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/
.thrColLiqHdr #mainContent {
margin: 0 24% 0 23.5%; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
}

.thrColLiqHdr #footer {
background-color: #DDDDDD;
background-image: url(images/bg.jpg);
padding-top: 0;
padding-right: 1px;
padding-bottom: 0;
padding-left: 1px;
}
.thrColLiqHdr #footer p {
margin: 0;
padding: 0px;
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain its child floats */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.style1 {
font-size: xx-small;
font-weight: bold;
}
.style2 {
color: #0000FF;
font-weight: bold;
}

put into a page and call it layout.css

edbr
09-30-2008, 11:35 AM
put this in a page and call it ie_layout.css/* place css fixes for all versions of IE in this conditional comment */
.thrColLiqHdr #sidebar2, .thrColLiqHdr #sidebar1 { padding-top: 30px; }
.thrColLiqHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<style type="text/css">
ul.MenuBarVertical
{
margin: 0 auto ;
width: 8em;
}
.style3 {color: #0000FF}

Scooterpig
09-30-2008, 11:42 AM
Ok thank you, I see what you have done and sorta understand, but not sure what's next.

Do I need to now use the tute here for centering the style?

edbr
09-30-2008, 11:43 AM
now this is your 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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Leisure Coast Gas</title>
<link rel="stylesheet" media="all" type="text/css" href="layout.css" />

<link rel="stylesheet" media="all" type="text/css" href="ie_layoutp.css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />

</head>

<body class="thrColLiqHdr">

<div align="center" id="container">
<div id="header">
<h1 align="center"><img src="images/banner2 copy.jpg" width="1000" height="200" align="middle" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3>&nbsp;</h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li>
<div align="center"><a href="index.html"><strong>Home</strong></a></div>
</li>
<li>
<div align="center"><a href="aboutus.html"><strong>About Us</strong></a></div>
</li>
<li>
<div align="center"><a href="products.html"><strong>Products</strong></a></div>
</li>
<li>
<div align="center"><a href="services.html"><strong>Services</strong></a></div>
</li>
<li>
<div align="center"><a href="contactus.html"><strong>Contact Us</strong></a></div>
</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p>
<!-- end #sidebar1 -->
</p>
</div>
<div id="sidebar2">
<p align="center"><a href="products/weber.html"><img src="images/weberlogo.gif" width="150" height="60" border="0" /></a></p>
<p align="center"><img src="images/rinnai_logo.gif" width="150" height="60" /></p>
<p align="center"><img src="images/beefeater.gif" width="161" height="60" /></p>
<p align="center"><img src="images/masportweblogo.gif" width="150" height="60" /></p>
<p align="center"><img src="images/everdurelogo.gif" width="150" height="37" /></p>
<p align="center"><img src="images/lglogo.gif" width="148" height="40" /></p>
<p align="center">
<!-- end #sidebar2 -->
<img src="images/jetmaster.gif" width="150" height="59" /></p>
</div>
<div id="mainContent">
<h1 align="center"><!-- TemplateBeginEditable name="Title" --><strong>Welcome To Leisure Coast Gas</strong><!-- TemplateEndEditable --></h1>
<!-- TemplateBeginEditable name="Body" -->
<p align="center" class="style2">Your Local Gas Specialist</p>
<blockquote>
<p align="justify"><strong>Welcome to the home of Leisure Coast Gas, your one stop shop for everything gas. We here at Leisure Coast Gas are here to help you with all your gas needs and services and will gladly assist you in installing, setting up or servicing any gas product you have or need. As you will see by browsing through our site we are suppliers and agents for many brands and products and if there's one you are after and not there, let us know as am sure we will be able to assist.</strong></p>
<p align="justify"><strong>Please visit our Products &amp; Services pages as there is plenty of information there to help you make the right decision and which product best suits your needs. Pricing &amp; Quoting can also be arranged on any request on any item also.</strong></p>
<p align="center"><strong>Thank you for visiting our site and hope we can be of assistance.</strong></p>
<p align="center">&nbsp;</p>
<p align="center"><a href="products/Weber Specials.pdf"><img src="images/webercat.jpg" width="200" height="100" border="0" /></a></p>
<p align="center">&nbsp;</p>
<p align="center" class="style3"><strong>Leisure Coast Gas</strong></p>
<p align="center"><strong><span class="style3">Ph</span> - <span class="style3">(02) 4284 9899</span></strong></p>
<p align="center"><strong><a href="mailto:sales@leisurecoastgas.com.au">sales@leisurecoastgas.com.au</a></strong></p>
</blockquote>
<p align="center"><!-- end #mainContent -->
</p>
<!-- TemplateEndEditable --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p align="center" class="style1">Copyright &copy; Scooterpig 2008</p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
save it as index2.html for example. now any page you make can use the same style sheets if you likk to them ( see the link in the head

Scooterpig
09-30-2008, 11:56 AM
Ok thank you for your help and can I ask then when I initially made up the page, should I have also then made these pages you have now given me as well?

Also this hasn't fixed the centering of the page in 800 x 600 mode or am I to do that yet as per the tute here?

edbr
09-30-2008, 11:59 AM
no its fine to have styles on your page,especially when first designing but i would always advise seperate style sheets , so you can repeat the styles easily on other pages.
no i didnt fix anything just tried to explain how to use and link style sheets. make a separate post for any different problem

Scooterpig
09-30-2008, 12:03 PM
Ok cool thank you for your help.

My initial post here in this thread also related to the issue of centering but will have a look at tute and see if I can work that out.

Scooterpig
09-30-2008, 12:18 PM
Well I've confused myself even more now, I can't work out where the code hoes for centering in the tute posted here...:(

Corrosive
09-30-2008, 12:52 PM
Well I've confused myself even more now, I can't work out where the code hoes for centering in the tute posted here...:(

The code goes in your stylesheet and the div wraps all the code between your <head> tags. It's usually less confusing for newbies to start with the wrapper div and build inside it.

Scooterpig
09-30-2008, 01:29 PM
Thank you Corrosive, but still confused as to which docs I need to be editing as edbr has been so kind to point me in right direction where I now have 1 index2.html & 2 css docs. I believe that the index2.html is the one to edit for the centering & the layout.css also - is that right?

If so is this the correct loaction for the coding of the .html -

<!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>
<div class="wrapper">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Leisure Coast Gas</title>
<link rel="stylesheet" media="all" type="text/css" href="layout.css" />

<link rel="stylesheet" media="all" type="text/css" href="ie_layoutp.css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</div>
</head>

Also for the css edit, does it make a difference where that code goes?

Thank you..:)

Corrosive
09-30-2008, 01:34 PM
Thank you Corrosive, but still confused as to which docs I need to be editing as edbr has been so kind to point me in right direction where I now have 1 index2.html & 2 css docs. I believe that the index2.html is the one to edit for the centering & the layout.css also - is that right?

If so is this the correct loaction for the coding of the .html -

<!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>
<div class="wrapper">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Leisure Coast Gas</title>
<link rel="stylesheet" media="all" type="text/css" href="layout.css" />

<link rel="stylesheet" media="all" type="text/css" href="ie_layoutp.css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</div>
</head>

Also for the css edit, does it make a difference where that code goes?

Thank you..:)

Arghh. Really sorry Scooter Pig am thinking about lots of other stuff today. I didn't mean <head> tags I meant <body> tags. Sorry again mate, led you up the wrong path.

Corrosive
09-30-2008, 01:36 PM
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Leisure Coast Gas</title>
<link rel="stylesheet" media="all" type="text/css" href="layout.css" />

<link rel="stylesheet" media="all" type="text/css" href="ie_layoutp.css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<div class="wrapper">The entire content of your website goes here</div>

Scooterpig
09-30-2008, 01:40 PM
No dramas mate all good, I'm the one making life difficult..:)

Ok understand the html edit side of it - for the css, does that make a difference where that code goes - top or bottom?

Corrosive
09-30-2008, 01:59 PM
No dramas mate all good, I'm the one making life difficult..:)

Ok understand the html edit side of it - for the css, does that make a difference where that code goes - top or bottom?

No difference at all. You can put the CSS for your wrapper anywhere in your style sheet and it will work.

Scooterpig
09-30-2008, 02:01 PM
Ok thanks for that, have done so yet no difference still for 800 x 600 viewing, so dunno if I've done something wrong or it's just stuffed..:(

Corrosive
09-30-2008, 02:04 PM
Ok thanks for that, have done so yet no difference still for 800 x 600 viewing, so dunno if I've done something wrong or it's just stuffed..:(

Is this online anywhere SP? Got a bit of a job telling what might be wrong.

Scooterpig
09-30-2008, 02:09 PM
No it's not yet mate sorry, here at home. Am trying it now using the code that was given before for the new index2.html & new css code but no good unfortunately.

The whole html file is there on page 1 if ya wanna look at that if that helps.

Corrosive
09-30-2008, 02:15 PM
No it's not yet mate sorry, here at home. Am trying it now using the code that was given before for the new index2.html & new css code but no good unfortunately.

The whole html file is there on page 1 if ya wanna look at that if that helps.

I find it quite hard to debug pages when I haven't built them or can't see visually what is wrong. I guess we all do stuff slightly differently and name certain elements how we are used to. Is this a template you have downloaded by any chance?

Scooterpig
09-30-2008, 02:19 PM
No wasn't a downloaded template, a DW HTML 3 Column Liquid Header & footer. Pretty sure it was the Liquid.

Corrosive
09-30-2008, 02:43 PM
No wasn't a downloaded template, a DW HTML 3 Column Liquid Header & footer. Pretty sure it was the Liquid.

Hmmm. Must be honest and say I have never used the inbuilt DW templates. I would look at pulling your own design together so that you understand how it works. Start with a wrapper of course :wink: