Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Website wont display properly!

Featured Replies

Guys,

 

Working on a new layout for a site i've been asked to design. For once it looks fine in IE and firefox, but not in dreamweaver! Screenshots:

 

I.e:

 

ie.jpg

 

and Dreamweaver:

 

DW.jpg

 

wtf?

 

CSS is as below:

 

@charset "utf-8";
/* CSS Document */

html,body{
margin:0;
padding:0
}


body{
font: 76% arial,sans-serif;
text-align:center;
background:#F3F3F3;
}

p{
margin:0 10px 10px;
}



A:link {text-decoration: none; color:black;}
A:visited {text-decoration: none; color:black;}
A:active {text-decoration: none; color:#ffffff;}
A:hover {text-decoration: underline overline; color: purple;}

div#header{
height:100px;
line-height:80px;
margin:0;
padding:20px 0px 0px 20px;
background-image:url(images/topbarbackground.png);
color: #b454dc;
}


div#container{
text-align:left;
background:#FFFFFF;
width:860px;
margin:20px auto;
}


div#content p{
line-height:1.4;
margin: 50px 200px 1px;

}

div#testomonials{
background:#b53737;
float:left;
width:150px;
margin:50px -20%;
padding:10px 0 0 0;
height:200px;
}

div#nav{
background:#b53737;
float:left;
width:150px;
margin: 50px -98%;
padding:10px 0px 0px 0px;
height:200px;
font-size:12px;
}

div#pagetitle{

float:left;
width:200px;
margin: 10px -83%;
padding:10px 0 0 0;
height:30px;
font-weight:bold;
font-size:16px;
}

div#footer{
background: #333;
color: #FFF;
clear:left;
width:100%;
}

div#footer p{
margin:0;
padding:5px 10px;
}


div#wrapper{
float:left;
width:100%;

}


img.floatleft{
float:left;
margin: 0px 10px 5px 10px;
}
img.floatright{
float:right;
margin: 0px 10px 5px 10px;
}
p.signoff{
font-weight:bold;
font-style:italic;
float:right;
font-size:14px;
}

p.quotes{
font-weight:bold;
font-style:italic;
font-size:14px;
}

p.centre{
text-align:center;
font:bold;
float:none;
}

 

And the HTML:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Unleash - Be who you aspire to be!</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="HAPedit 3.1">
<link href="layout.css" rel="stylesheet" type="text/css">

</head>
<body>
<div id="container">
<div id="header"><img src="images/unleashlogo.png" class="floatleft"><img src="images/topbarpics.png" width="500" height="90" class="floatright"></div>
<div id="wrapper">
<div id="content">
<p><img src="images/portrait.jpg" width="152" height="152" class="floatleft">My name is Lyn Newton and I’ve been coaching for over 26 years. <BR> I’m a fully accredited Personal and Business Coach.  I’ve coached individuals from all walks of life through their personal, emotional, relationship and career journeys. I also coach in a well known charitable organisation on a voluntary basis.<BR>
I’m the Director of Coaching and founder of Unleash Coaching.<BR> 
I needed to work with others who held the same values of integrity, inspiration and action so much so that I decided to start my own company. My diverse skills in coaching and ability to work with people from all backgrounds and ages means I can coach just about anyone. 
I have a true desire to help people and for everyone in the world to be in harmony.<BR><BR>  Realistically though, my personal mission is to inspire and motivate others and to help them unleash their own potential.
I have an ability to connect with people, to see what’s really going on.  I will help those who choose to work with me to open their minds and hearts allowing them to tap into what’s really going on and will help them to define their goals and reach their full potential.   <BR><BR>
My Vision Statement

“Through a totally supportive and confidential coaching relationship, we dedicate ourselves to supporting those who choose us to help them. We are highly trained coaches and will help you identify what you want to achieve, and we’ll plan a route for your success together. The coaching process will leave you feeling happier, healthier and more fulfilled.  You’ll understand yourself better,  you’ll know where you want to go, how to get there and most of all you’ll recognise that reaching your full potential comes from within – welcome to your future”<BR><BR>

My Mission Statement 
“Unleash the potential within”<BR><BR> Keep reading to find out what you could acheive.</p><p class="signoff">-Lyn Newton</p>
</div>
</div>
<div id="pagetitle">Who Am I?</div>
<div id="testomonials">
<p><img src="images/openquote.png"> Most importantly, before coaching I didn’t like myself at all but I now aspire to <b>be</b> myself! <img src="images/closequote.png">  <BR><BR><BR><BR><BR><p class="signoff">-Jane from Hertfordshire</p>
</div>
<div id="nav">
<table width="120" height="190px" border="0" align="center">
 <tr>
<td><div align="center"><a href="#">What Is Coaching?</a></div></td>
 </tr>
 <tr>
<td><div align="center"><a href="#">What Do I Do?</a></div></td>
 </tr>
 <tr>
<td><div align="center"><a href="#">Do You Need a Life Coach?</a></div></td>
 </tr>
 <tr>
<td><div align="center"><a href="#">Are You Ready To Take Action?</a></div></td>
 </tr>
 <tr>
<td><div align="center"><a href="#">How Does It Work?</a></div></td>
 </tr>
 <tr>
<td><div align="center"><a href="#">Business Coaching</a></div></td>
 </tr>
 <TR>
 <TD><div align="center"><a href="#">Career Page</a></div></TD>
 </TR></table></div>
<div id="footer"><p>Unleash Coaching... Be who you want to be</p></div>
</div>
</body>
</html>

 

Apologies for the massive amounts of code! Im not sure where the problem is so i thought i'd attach the whole lot.

 

Thanks in advance for any help you can provide...

 

Del

Hi

 

Don't ever judge your final layout in dreamweaver, if its fine in ie and ff then why worry about what it looks like in dreamweaver.

 

Try not to build your sites in design mode, always use code view and check your work by previewing in ie and ff.

 

nobody will visit your site online using dreamweaver, unless they have released a dreamweaver browser that I am unaware of. :D

 

Pat

  • Author

This is very true, but makes editing very annoying! I generally use code view to update text etc but its much nicer to not have to hit F12 every time i make a change so i was wondering if there was just a simple line of code or something i'm missing to make it display properly...

This is very true, but makes editing very annoying! I generally use code view to update text etc but its much nicer to not have to hit F12 every time i make a change so i was wondering if there was just a simple line of code or something i'm missing to make it display properly...

 

The problem is, if you spend time getting it to look right in dreamweaver, then it is probably time wasted as it will probably screw up in the real browser.

 

Dreamweaver uses its own rendering engine which will almost always differ from the main browsers.

 

Pat

dreamweaver sucks

I don't mean to be rude, but why do you care? :p

 

If it displays in the browser, surely how it looks in dreamweaver is the least of your worries...

  • Author

You know what your right, i just thought i heard somewhere that dreamweaver was a WYSIWYG editor! Evidently not haha

I do all my coding in dreamweaver - this is what its good for.

 

Most of the sites i have made are screwed up in design view... but i never care - its the browser that counts :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.