473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

CSS design won't show in browser but shows in Dreamweaver??

Hello,

I am having problems getting my CSS design to show on my browser. When I am in dreamweaver i can see the design perfectly but when I try to view it in firefox or safari there is absolutely no design, just the basic layout. This is the first time using a program like this and I am so confused!

Here is the HTML & CSS....please help!

Expand|Select|Wrap|Line Numbers
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>About Me</title>
  6. <link href="/main.css" rel="stylesheet" type="text/css">
  7. <style type="text/css">
  8. a:link {
  9.     text-decoration: none;
  10. }
  11. a:visited {
  12.     text-decoration: none;
  13. }
  14. a:hover {
  15.     text-decoration: none;
  16. }
  17. a:active {
  18.     text-decoration: none;
  19. }
  20. </style>
  21. </head>
  22.  
  23. <body>
  24. <div id="wrapper">
  25.   <header id="top">
  26.     <h1 class="thispage">Jana Chanelle</h1>
  27.     <nav id="mainnav">
  28.       <ul>
  29.         <h2><a href="home.html" class="thispage">HOME</a></h2>
  30.         <h2><a href="about_me.html">BIO</a></h2>
  31.         <h2><a href="portfolio.html">MUSIC</a></h2>
  32.         <h2><a href="gallery.html">GALLERY</a></h2>
  33.         <h2><a href="contact me.html">CONTACT ME</a></h2>
  34.         </ul>
  35.     </nav>
  36.     <article id="mainarticle">
  37.       <p><img src="/Jana Mustang.jpg" alt="" width="612" height="413" id="jana"/></p>
  38.       <p style="font-size: x-large; text-align: center; font-weight: 500; color: #4AAAD6; margin-top: 50px;"><br>
  39.       BIO</p>
  40.       <p>TEXT
  41.       <p>Jana is currently working on an original album which she plans to release late 2015.    </p>
  42.       <p>&nbsp;</p>
  43.       <p>&nbsp;</p>
  44.       <p>&nbsp;</p>
  45.     </article>
  46.   </header>
  47.   <footer>&copy; Jana Chanelle 2014 </footer>
  48. </div>
  49. </body>
  50. </html>
  51.  
  52.  
  53. CSS
  54.  
  55. @charset "UTF-8";
  56. body {
  57.     margin-top: 10px;
  58.     margin-right: 10px;
  59.     margin-bottom: 10px;
  60.     margin-left: 10px;
  61.     color: #151515;
  62.     font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
  63.     background-color: #EFF5F8;
  64.     text-decoration: none;
  65. }
  66. #wrapper {
  67.     background-color: #FFFFFF;
  68.     width: 100%;
  69.     min-width: 740px;
  70.     max-width: 1000px;
  71.     margin-top: auto;
  72.     margin-right: auto;
  73.     margin-bottom: auto;
  74.     margin-left: auto;
  75.     clear: both;
  76.     text-decoration: none;
  77.     color: #FF6500;
  78.     top: 5%;
  79. }
  80. #hero {
  81.     clear: left;
  82. }
  83. #hero article {
  84.     width: 36%;
  85.     padding-right: 10px;
  86.     padding-left: 10px;
  87.     clear: left;
  88.     border-radius: 15px;
  89. }
  90. #hero img {
  91.     max-width: 100%;
  92.     background-color: #314137;
  93. }
  94. h1, h2 {
  95.     color: #3399CC;
  96.     font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
  97.     font-style: normal;
  98.     font-weight: 600;
  99.     margin-top: auto;
  100.     text-decoration: none;
  101.     background-color: #FFFFFF;
  102. }
  103. h1 {
  104.     font-size: 72px;
  105.     margin-top: -15px;
  106.     text-align: center;
  107.     clear: both;
  108.     text-decoration: none;
  109.     height: 20%;
  110.     min-height: 20px;
  111.     max-height: 20%;
  112.     top: 0%;
  113.     -webkit-box-sizing: border-box;
  114.     -moz-box-sizing: border-box;
  115.     box-sizing: border-box;
  116.     margin-right: -15px;
  117.     margin-bottom: -15px;
  118.     margin-left: -15px;
  119. }
  120. #main {
  121.     width: 323px;
  122.     float: left;
  123.     margin-left: 2%;
  124.     text-decoration: none;
  125.     position: absolute;
  126.     left: 588px;
  127.     top: 283px;
  128.     height: 148px;
  129.     color: #FFFFFF;
  130.     background-color: #4AAAD6;
  131.     font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
  132.     font-size: xx-large;
  133.     text-align: center;
  134.     border-radius: 15px;
  135.     display: block;
  136. }
  137. #sidebar {
  138.     width: 34%;
  139.     margin-left: 4%;
  140.     float: left;
  141. }
  142. #footer {
  143.     clear: left;
  144.     padding-top: 2%;
  145.     padding-bottom: 2%;
  146. }
  147. #wrapper footer {
  148.     padding-top: 2%;
  149.     padding-bottom: 2%;
  150.     clear: left;
  151.     background-color: #43A6CB;
  152.     color: #FFFFFF;
  153.     text-align: center;
  154. }
  155. A:link {
  156.     color: #F86300;
  157. }
  158. A:hover, A:focus, A:active {
  159.     color: #7F3300;
  160. }
  161. #mainnav ul {
  162.     list-style-type: none;
  163.     margin-top: 0px;
  164.     margin-right: 0px;
  165.     margin-bottom: 0px;
  166.     margin-left: 0px;
  167.     padding-top: 0px;
  168.     padding-right: 0px;
  169.     padding-bottom: 0px;
  170.     padding-left: 0px;
  171. }
  172. #mainnav a {
  173.     width: 20%;
  174.     display: block;
  175.     padding-top: 0px;
  176.     padding-right: 0px;
  177.     padding-bottom: 0px;
  178.     padding-left: 0px;
  179.     margin-top: 0%;
  180.     margin-right: 0%;
  181.     margin-bottom: 0%;
  182.     margin-left: 0%;
  183.     background-color: #4D4D4D;
  184.     height: 20%;
  185.     max-height: 5%;
  186.     float: left;
  187.     color: #FFFFFF;
  188.     text-align: center;
  189. }
  190. #top {
  191.     background-color: #FFFFFF;
  192.     max-height: 20%;
  193.     min-height: 10%;
  194.     bottom: 90%;
  195.     -webkit-box-sizing: inherit;
  196.     -moz-box-sizing: inherit;
  197.     box-sizing: inherit;
  198. }
  199. #mainnav a:hover, #mainnav a:active, #mainnav a:focus #mainnav a.thispage {
  200.     text-decoration: none;
  201.     background-color: #43A6CB;
  202. }
  203. #mainnav a:active, a.thispage {
  204.     background-color: #43A6CB;
  205. }
  206. #mainarticle {
  207.     background-color: #EFF5F8;
  208.     color: #000000;
  209.     font-size: large;
  210. }
  211. #mainarticle p img {
  212.     margin-top: 5px;
  213.     margin-right: 5px;
  214.     margin-bottom: 5px;
  215.     margin-left: 5px;
  216.     float: right;
  217. }
  218. #top #mainarticle p {
  219.     margin-left: 15px;
  220.     margin-top: 15px;
  221.     margin-right: 15px;
  222.     margin-bottom: 15px;
  223. }
  224. #mainarticle p img {
  225.     float: right;
  226. }
  227. #mainarticle p .milhouse {
  228.     float: left;
  229. }
  230. #mainarticle p #jana {
  231. }
Sep 1 '14 #1
0 1227

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: David van der kooij | last post by:
Hi, I have a webservice that returns an xmldocument. I write some processing isntructions to this xmldocument like this XmlProcessingInstruction myPI3; PItext = "progid='InfoPath.Document'";...
3
by: C# Expert | last post by:
I am using managed c++ code. I have created i function with one argument that is reference to double. fun(double& d) When I see it in object browser in visual studio 2005, it shows pointer...
3
by: a1000car | last post by:
I have almost 2 weeks tying to find a solution for this. Please help -How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button. My html layer name is LAYER1, and my FlashMC...
3
by: Jim | last post by:
How can I use Javascript to show a layer named "callout" after the page has been delayed for 5 seconds? Using the onLoad behavior to execute a "Call Javascript" action. What is the correct...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
I want to show a specific help page in a .chm file from vb.net. This code shows the .chm file but it just goes to the first page or shows an error on the page: Help.ShowHelp(Me, "myhelp.chm",...
0
by: qutspan | last post by:
When I create taskbox on the form the line beside the box wont show up. it show up untill I have MouseEnter event occur. Also when I have 2 taskbox on the form it does draw the line around the...
4
by: Cirene | last post by:
I have javascript code that does an alert on a public asp.net var... alert("<%=strMessage%>"); The code runs whenever my ajax related code completes. I declared the public var like this......
3
by: Andy B | last post by:
I have images in app_data folder. For some reason, the image control never shows them. What do I do?
2
KeredDrahcir
by: KeredDrahcir | last post by:
I'm using the object tag to show a video. In IE it shows the controls but in Firefox it doesn't. Does anyone know why, and how I can show the controls? <object type='video/x-ms-wmv'...
1
by: the goldn life | last post by:
Hi, im very very new to this stuff, and i dont really have a clue what im doing. basically, i have made an animation using flash cs5 using some gifs from the internet playing behind a cut out image...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.