navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

basic dreamweaver cs3 help..

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Dreamweaver Help >> basic dreamweaver cs3 help..
Page: [1]
 
stewy6

 

Posts: 2
Joined: 8/15/2007
Status: offline

 
basic dreamweaver cs3 help.. - 8/15/2007 7:00:21   
This question is probably really really basic haha, just started using dreamweaver and i'm a bit overwhelmed..

The page i have created looks fine in template, but when I preview it in IE everything is about 5% bigger, so photos are bigger, text is larger, its all stretched and looks crap.

What causes this? how can i prevent it?




also, are there any really good guides, online or book, that are really good for teaching the basics of dreamweaver and flash? stew
mar0364

 

Posts: 3030
Joined: 4/5/2002
From: Florida, US
Status: offline

 
RE: basic dreamweaver cs3 help.. - 8/15/2007 9:00:31   
1. Welcome to the forum!!
(what the emperor told the christians.)

This sounds very odd. Could you please give us a link or post your code.

Regards!
Rich

_____________________________

Easy Web

“Stay committed to your decisions, but stay flexible in your approach.”


(in reply to stewy6)
stewy6

 

Posts: 2
Joined: 8/15/2007
Status: offline

 
RE: basic dreamweaver cs3 help.. - 8/16/2007 7:44:23   
Maybe its my internet explorer, i haven't tryed it on another computer. Every time i use one of the dreamweaver "blank documents" with basic header/side frame etc, everything seems to appear too large in IE, as well as any images being stretched as well.

here is the code of one of the pages that looks diff in Dw vs. IE.... can anyone see anything glaringly obvious i am doing? (not that i have changed much at all from the blank template, i have tried to isolate the problem!

*********************************8
<!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>Untitled Document</title>
<style type="text/css">
<!--
body {
font: 10pt Century Gothic, Arial, Times New Roman,;
background: #FFFFFF;
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;
}
.twoColHybRtHdr #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: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColHybRtHdr #header {
background: #FFFFFF;
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. */
}
.twoColHybRtHdr #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 sidebar1:
1. Since we are working in relative units, it's best not to use padding on the sidebar. It will be added to the overall width for standards compliant browsers creating an unknown actual width.
2. Since em units are used for the sidebar value, be aware that its width will vary with different default text sizes.
3. 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 ".twoColHybRtHdr #sidebar1 p" rule.
*/
.twoColHybRtHdr #sidebar1 {
float: right;
width: 12em; /* since this element is floated, a width must be given */
background: #EBEBEB; /* 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 */
}
.twoColHybRtHdr #sidebar1 h3, .twoColHybRtHdr #sidebar1 p {
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 sidebar1 is created with the right margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this right margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. Be aware it is possible to cause float drop (the dropping of the non-floated mainContent area below the sidebar) if an element wider than it can contain is placed within the mainContent div. WIth a hybrid layout (percentage-based overall width with em-based sidebar), it may not be possible to calculate the exact width available. If the user's text size is larger than average, you will have a wider sidebar div and thus, less room in the mainContent div. You should be aware of this limitation - especially if the client is adding content with Contribute.
3. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This may help avoid several IE-specific bugs.
*/
.twoColHybRtHdr #mainContent {
margin: 0 13em 0 10px; /* the left margin's value is equal to the header and footer which creates alignment down the left side of the document. */
}
.twoColHybRtHdr #footer {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#FFFFFF;
}
.twoColHybRtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

/* 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 */
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 a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
h1 {
font-size: 135%;
}
h2 {
font-size: 115%;
}
h3 {
font-size: 90%;
}
h4 {
font-size: 100%;
}
-->
</style><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColHybRtHdr #sidebar1 { padding-top: 30px; }
.twoColHybRtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it may need to avoid several bugs */
</style>
<![endif]--></head>

<body class="twoColHybRtHdr">

<div id="container">
<div id="header">
<h1>
<img src="image/header1.jpg" width="1000" height="205" /></h1>
</div>
<div id="sidebar1">
<h3>Presented by</h3>
<p> </p>
<p><img src="image/AMSA-Events.jpg" alt="AMSA Events" width="157" height="100" /></p>
<p> </p>
<h3>Major Partners</h3>
<p> </p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<h1> Contact</h1>
<p>the quick brown fox etc....</p>
<h2>H2 level heading </h2>
<p>test body text</p>
<!-- end #mainContent --></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>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>

(in reply to stewy6)
sticks464

 

Posts: 55
Joined: 10/16/2005
Status: offline

 
RE: basic dreamweaver cs3 help.. - 8/17/2007 12:20:45   
Make the header image a background, removing the padding and h2 tag
.twoColHybRtHdr #header {
background:#FFFFFF url("image/header1.jpg")no-repeat;
}


Then remove the <p> tag from
<p><img src="image/AMSA-Events.jpg" alt="AMSA Events" width="157" height="100" /></p>


This should put the layout back in order

(in reply to stewy6)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> basic dreamweaver cs3 help..
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts