Web Design Forums

HTML and CSS Help

Having problems with these web design scripting? Ask here.

mozilla not reading external stylesheet



Site of the Month Nominations
ENTER YOUR SITE NOW!

Reply
 
LinkBack Thread Tools
Old September 10 '03, 04:47 PM (#1)
jrwicker is offline
WDF Member
 
jrwicker's Avatar
 
Join Date: September 2003
Location: Stockbridge, GA (outside of Atlanta)
Posts: 36
jrwicker
Send a message via AIM to jrwicker Send a message via Yahoo to jrwicker
mozilla not reading external stylesheet

I though I was starting to get the hang of this, but Mozilla is not reading external style sheet. It works fine in IE.

This is what i have:
<link rel="stylesheet" href="style2.css" type="text/css">

I tried to import, didn't make a difference.

Here is my stylesheet:

BODY {
margin: 1px;
background-image: url('background2.jpg');
background-repeat:no-repeat;



#titlepic {
position:absolute;
top: 25px;
left: 10px;
z-index: 1
}

#sidebar {
position:absolute;
top:15px;
left:1px;
width:40%;
height:100%;
background-color:#cccc99;
z-index:-3;

}

#titlebar {
position:absolute;
left:200px;
width:70%;
top: 15px;
z-index: -1;
height: 50px;
border-top: 10px solid #996600;
border-bottom:1px none black;
border-right: 1px none black;
border-left: 1px none black;
height: 49px;
font-family: Arial;
font-size:24pt;
font-weight: bold;
color: black;
background-color: #cccc99;
text-align:center;

}

#maincontent {
position:absolute;
left:200px;
width:70%;
border-top: 10px none #996600;
border-bottom:1px none black;
border-right: 1px none black;
border-left: 1px none black;
font-family: arial;
font-color: black;
font-size: 12pt;
background-color:#FFFFCC

}

#bottomcontent {
position:absolute;
left:200px;
top:475px;
width:70%;
border-top: 10px none #996600;
border-bottom:1px none black;
border-right: 1px none black;
border-left: 1px none black;
background-color:#FFFFCC;
}

#picture1 {
top:155;

position:absolute;
right:30px;


#picture2

}

.menulink {


position:relative;

left: 0px;
top: 50px;
display: block;
width: 140px;
text-align: left;
text-decoration: none;
font-family:arial;
font-size:16px;
font-weight: bold;
color: Black;
BORDER: none;
border: solid 1px black;
background-color: #FFFFCC;

}

.menulink:hover {
border: solid 1px #FFFFCC;
background-color:#ff9900;
}


h1 {
font-family:Arial;
font-size: 18pt;
font-weight:bold;
}


#bottomcontent h1 {
font-colorink;
}



Any help would be greatly appreciated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 10 '03, 04:49 PM (#2)
jrwicker is offline
WDF Member
 
jrwicker's Avatar
 
Join Date: September 2003
Location: Stockbridge, GA (outside of Atlanta)
Posts: 36
jrwicker
Send a message via AIM to jrwicker Send a message via Yahoo to jrwicker
oh website in profile
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 10 '03, 04:56 PM (#3)
Brak is offline
Rockstar
 
Brak's Avatar
 
Join Date: April 2003
Location: San Francisco, CA
Posts: 3,413
Brak will become famous soon enough
Send a message via ICQ to Brak Send a message via AIM to Brak Send a message via MSN to Brak Send a message via Yahoo to Brak
Your first BODY{ declaration has no } that's why it's not working.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 10 '03, 04:57 PM (#4)
nsr81 is offline
WDF Veteran Member
 
nsr81's Avatar
 
Join Date: October 2002
Posts: 1,132
nsr81 is on a distinguished road
from what you posted, seems like you are missing a curly brace after the "BODY" part.

BODY {
margin: 1px;
background-image: url('background2.jpg');
background-repeat:no-repeat;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 10 '03, 04:58 PM (#5)
jrwicker is offline
WDF Member
 
jrwicker's Avatar
 
Join Date: September 2003
Location: Stockbridge, GA (outside of Atlanta)
Posts: 36
jrwicker
Send a message via AIM to jrwicker Send a message via Yahoo to jrwicker
Thanks, I can't believe I didn't see that. I will not tell how much time I spent looking for this. I feel soo stupid. I really appreciate it. It is reading now but the site is all jumbled in Mozilla. Hey at least It is reading the external sheet now.


JR
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 10 '03, 05:01 PM (#6)
jrwicker is offline
WDF Member
 
jrwicker's Avatar
 
Join Date: September 2003
Location: Stockbridge, GA (outside of Atlanta)
Posts: 36
jrwicker
Send a message via AIM to jrwicker Send a message via Yahoo to jrwicker
opps It's all jumbled in IE too. O well back to work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 10 '03, 05:21 PM (#7)
jrwicker is offline
WDF Member
 
jrwicker's Avatar
 
Join Date: September 2003
Location: Stockbridge, GA (outside of Atlanta)
Posts: 36
jrwicker
Send a message via AIM to jrwicker Send a message via Yahoo to jrwicker
Well it seems that all the positioning was off due to the missing bracket. I just had to redo the positioning. Now there is a small diff. between IE and Mozilla.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » HTML and CSS Help

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
User Infomation
Your Avatar

Site Of The Month

Ticket Cake
Ticket Cake

Ticket Cake is a drupal based event ticketing platform. It features that ability to browse events and share them.

Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:30 AM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163