Jump to content

Recommended Posts

Posted (edited)

I'm curious why is the live view so different from the regular view? Is there some preference to be changed.

Is it a sys. problem? I have a student version?

Edited by rande
Posted

If you are referring to the Dreamweaver Preview pane, don't use it because it will never render like a normal browser. Instead you should always check/view your work via Firefox, Chrome, IE, and Safari.

Posted (edited)

Okay, thanks Eddie.

I have another question.

I have a dropdown menu. I have spaced out the ul so it spans the width of the page, it throws off my drop downs.

I don't see were I have control of the drop downs.

Is there a better way to do that?

 

thanks for the response

Edited by rande
Posted

<!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>

 

<script type="text/javascript" src="scripts/slideShow2.js"></script>

 

 

 

<link href="CSS/twoColFixLt4.css" rel="stylesheet" type="text/css" />

</head>

 

<body>

 

 

<div class="containerOutside">

 

 

<div class="container">

 

 

<div id="logo">

<h1> logoBx</h1><!--<input type="text" name="" value="logoBx" />-->

</div>

<div id="header">

<h1> headerBx</h1><!--<input type="text" name="" value="HeaderBx" />--><!-- end .container -->

</div>

 

<div id="newest">

<!--<h2> newest properties for sale

<SPAN style="float: right:">Latest properties to rent</h2>-->

 

<P>newest properties for sale<SPAN style="float: right">Latest properties to rent</SPAN></P>

 

 

</div>

 

</div>

 

 

<!--<div id="navBarContainer">-->

 

<div id="nav">

<ul>

<li class="first"><a href="#">Item one</b></a>

<ul> <!--submenu-->

<li><a href="#">Sub One A</a></li>

<li><a href="#">Sub One B</a></li>

</ul>

</li>

 

 

<li><a href="#">Item two</a>

<ul> <!--submenu-->

<li><a href="#">Sub Two A</a></li>

<li><a href="#">Sub Two B</a></li>

</ul>

</li>

 

 

 

<li><a href="#">Item three</a>

<ul> <!--submenu-->

<li><a href="#">Sub Three A</a></li>

<li><a href="#">Sub Three B</a></li>

</ul>

</li>

 

 

<li><a href="#">Item four</a>

<ul> <!--submenu-->

<li><a href="#">Sub four A</a></li>

<li><a href="#">Sub four B</a></li>

</ul>

</li>

 

 

 

<li><a href="#">Item five</a>

<ul> <!--submenu-->

<li><a href="#">Sub five A</a></li>

<li><a href="#">Sub five B</a></li>

</ul>

</li>

</ul>

</div>

<!--</div>-->

 

<div class="containerSidebars">

 

<div class="sidebar1">

<h1> sidebar1</h1>

<img id="slide1" src="imagesSlideShow/01.jpg" width="200" height="200" />

 

 

<br/><br/>

 

<input type="button" name="" id="previous" value="Prev" />

<input type="button" name="" id="next" value="Next" />

</div><!-- end .sidebar1 -->

 

 

<div class="sidebar2">

 

<h1> sidebar2</h1>

<img id="slide2" src="imagesSlideShow/01.jpg" width="200" height="200" />

 

 

<br/><br/>

 

<input type="button" name="" id="previous" value="Prev" />

<input type="button" name="" id="next" value="Next" />

</div><!-- end .sidebar2 -->

 

 

<div class="sidebar3">

<h1> sidebar3</h1>

<img id="slide3" src="imagesSlideShow/01.jpg" width="200" height="200" />

 

 

<br/><br/>

 

<input type="button" name="" id="previous" value="Prev" />

<input type="button" name="" id="next" value="Next" />

</div><!-- end .sidebar3 -->

 

 

</div><!--<div class="containerSidebars">-->

 

 

<!--<div class="content">

 

 

 

</div><!-- end .content -->

 

<!--</div><!-- end .header-->

<!--</div><!-- end .logo-->

 

</div>

<div><!--end .containerOutside -->

 

 

<div class="footer">

<h3>This would be the foot</h3></div>

</body>

 

</html>

 

 

 

 

 

@charset "UTF-8";

body {

padding: 0;

color: #F00;

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 100%;

line-height: 1.4;

background-color: #FF0;

height: 900px;

width: 1027px;

text-align: center;

position: absolute;

margin-top: 100;

margin-right: 100;

margin-bottom: 100;

margin-left: 100;

}

 

h1 {

font-family:"Courier New", Courier, monospace;

}

 

 

.containerOutside {

width: 1027px;

height: 800px;

background-color: #F60;

margin-top: 10px;

margin-right: 0;

margin-bottom: 0;

margin-left: 10px;

float: left;

}

.container {

width: 1027px;

height: 100px;

background-color: #660;

margin-top: 0px;

margin-right: 0;

margin-bottom: 100;

margin-left: 0px;

position: relative;

float: left;

}

 

 

#logo {

width: 250px;

background-color: #000;

float:left;

position: relative;

height: 90px;

margin-top: 5px;

margin-right: 0px;

margin-bottom: 5px;

margin-left: 5px;

}

#header {

border:;

background-color:#FF33FF;

float:right;

width: 760px;

position: relative;

height: 90px;

margin-top: 5px;

margin-right: 5px;

margin-bottom: 5px;

margin-left: 0px;

clear: right;

z-index: 0;

}

 

/*#navBarContainer {

background-color: #6FC;

height: 65px;

width: 2000px;

}*/

#newest {

margin-bottom: 0px;

clear: both;

position: relative;

height: 20px;

width: 1011px;

background-color: #6FF;

color: #C0F;

text-align: left;

font-family: Tahoma, Geneva, sans-serif;

font-size: 9px;

line-height: 13px;

padding-right: 8px;

padding-left: 8px;

}

 

#newest h2 {

float: left;

padding-bottom: 1px;

}

/*#newest h3 {

font-family: Tahoma, Geneva, sans-serif;

color: #666;

background-color: #39F;

font-size: 10px;

float: none;

text-align: left;

position: relative;

height: 20px;

width: 1500px;

clear: both;

}*/

 

 

 

 

 

 

#nav {

font-family: Arial, Helvetica, sans-serif;

position: relative;

width:100%;

height: 35px;

font-size: 14px;

font-color: #090;

background-color: #33C;

clear: both;

float: none;

margin-top: 120px;

}

/*margin-top: 150px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;

padding: 0px;

}*/

 

#nav ul {

list-style-type: none;

position: absolute;

margin-bottom: 0px;

margin-top: 0px;

line-height: 0px;

}

#nav ul li {

float: left;

position: relative;

background-color: #F00;

height: 15px;

margin-right: 0px;

margin-left: 100px;

padding-top: 10px;

width: 75px;

margin-top: 5px;

}

 

#nav ul li a {

text-align: center;

text-decoration: none;

display: block;

color:#fff;

padding: 1px;

/*float: none;

clear: none;

white-space: nowrap;*/

}

 

#nav ul li ul {

display: none;

/*white-space: normal;

margin: 0px;*/

}

 

 

#nav ul li:hover ul {

display: block;

position: absolute;

background-color: #0F0;

/*padding: 0px;

margin-top: 20px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;*/

}

 

 

#nav ul li: hover ul li a {

display: block;

width: 200px;

text-align:center;

 

/*font-size: 14px;*/

}

 

 

#nav ul li: hover ul li a:hover{

margin-left: 0px;

padding-left: 0px;

}

 

 

 

 

 

 

 

 

 

 

 

.containerSidebars {

background-color: #6F0;

width: 1027px;

position: relative;

height: 400px;

margin-top: 100px;

}

 

.sidebar1 {

float: left;

width: 300px;

background-color: #030;

height: 300px;

clear: none;

padding: 0px;

position: absolute;

margin-top: 20px;

margin-right: 10px;

margin-bottom: 0px;

margin-left: 45px;

}

 

.sidebar2 {

float: none;

width: 300px;

background-color: #33FFFF;

height: 300px;

clear: none;

position: absolute;

margin-top: 20px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 363px;

}

 

.sidebar3 {

float: none;

width: 300px;

background-color: #336600;

height: 300px;

clear: none;

margin-top: 20px;

margin-left: 682px;

position: absolute;

}

 

#slide1 {

padding: 0px;

margin: 0px;

}

 

#slide2 {

 

}

 

#slide3 {

margin: 0px;

padding: 0px;

}

 

 

.footer {

font-size:14px;

color: black;

clear:both;

 

}

Posted (edited)

I will highlight what I added/changed in your code. If any questions just ask.

@charset "UTF-8";

 

 

#nav {

font-family: Arial, Helvetica, sans-serif;

position: relative;

width:100%;

height: 35px;

font-size: 14px;

font-color: #090;

background-color: #33C;

clear: both;

float: none;

margin-top: 120px;

}

/*margin-top: 150px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;

padding: 0px;

}*/

 

#nav ul {

list-style-type: none;

position: absolute;

margin-bottom: 0px;

margin-top: 0px;

line-height: 0px;

}

#nav ul li {

float: left;

position: relative;

background-color: #F00;

height: 15px;

margin-right: 0px;

margin-left: 100px;

padding-top: 10px;

width: 75px;

margin-top: 5px;

}

 

#nav ul li a {

text-align: center;

text-decoration: none;

display: block;

color:#fff;

padding: 1px;

/*float: none;

clear: none;

white-space: nowrap;*/

}

 

#nav ul li ul {

display: none;

/*white-space: normal;

margin: 0px;*/

}

 

 

#nav ul li:hover ul {

display: block;

position: relative;

left:-90px;

top:8px;

background-color: #0F0;

margin-top:0px;

margin:bottom:0px;

padding:0;

/*padding: 0px;

margin-top: 20px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;*/

}

 

#nav ul li ul li {margin-top: 0px;}

#nav ul li: hover ul li a {

display: block;

width: 200px;

text-align:center;

margin:0;padding:0;

/*font-size: 14px;*/

}

 

 

#nav ul li: hover ul li a:hover{

margin-left: 0px;

padding-left: 0px;

 

}

Edited by benjaminmorgan
Posted

I will highlight what I added/changed in your code. If any questions just ask.

@charset "UTF-8";

 

 

#nav {

font-family: Arial, Helvetica, sans-serif;

position: relative;

width:100%;

height: 35px;

font-size: 14px;

font-color: #090;

background-color: #33C;

clear: both;

float: none;

margin-top: 120px;

}

/*margin-top: 150px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;

padding: 0px;

}*/

 

#nav ul {

list-style-type: none;

position: absolute;

margin-bottom: 0px;

margin-top: 0px;

line-height: 0px;

}

#nav ul li {

float: left;

position: relative;

background-color: #F00;

height: 15px;

margin-right: 0px;

margin-left: 100px;

padding-top: 10px;

width: 75px;

margin-top: 5px;

}

 

#nav ul li a {

text-align: center;

text-decoration: none;

display: block;

color:#fff;

padding: 1px;

/*float: none;

clear: none;

white-space: nowrap;*/

}

 

#nav ul li ul {

display: none;

/*white-space: normal;

margin: 0px;*/

}

 

 

#nav ul li:hover ul {

display: block;

position: relative;

left:-90px;

top:8px;

background-color: #0F0;

margin-top:0px;

margin:bottom:0px;

padding:0;

/*padding: 0px;

margin-top: 20px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;*/

}

 

#nav ul li ul li {margin-top: 0px;}

#nav ul li: hover ul li a {

display: block;

width: 200px;

text-align:center;

margin:0;padding:0;

/*font-size: 14px;*/

}

 

 

#nav ul li: hover ul li a:hover{

margin-left: 0px;

padding-left: 0px;

 

}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...