HighDots Forums  

Problem with CSS linking... (must be Monday!)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Problem with CSS linking... (must be Monday!) in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MyFlashMXIN
 
Posts: n/a

Default Problem with CSS linking... (must be Monday!) - 11-01-2004 , 11:15 AM






Here's the HTML and attached is my CSS <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head>
<meta name="generator" content="HTML Tidy, see
www.w3.org"> <title>SWAC - Swim Team</title> <link
href="3colmn.css" type="text/css"
rel="stylesheet"> </head> <body
background="images/pinstripe.gif">

body {
font-size:12px;
font-family:arial,helvetica,verdana,sans-serif;
color:#000000;
background-repeat : no-repeat;
margin-top:0px;
margin-left:0px;
background-color : #FFFFFF;
background-image: url(images/pinstripe.gif);
}

bodyText {
font-size:12px;
font-family:arial,helvetica,verdana,sans-serif;
color:#35457C;
}

.bodyText:link {
text-decoration:underline;
}

.bodyText:hover {
text-decoration:none;
}

.bodyText:visited {
color:#666666;
text-decoration:underline;
}

.bodyTextItalic {
font-size:12px;
font-family:arial,helvetica,verdana,sans-serif;
color:#35457C;
font-style:italic;
}

p {
font-size : 12px;
font-family : arial,helvetica,verdana,sans-serif;
color : #000000;
}

H1 {
font-family : arial,helvetica,verdana,sans-serif;
font-size : 16px;
color : #35457C;
}

H2 {
font-family : arial,helvetica,verdana,sans-serif;
font-size : 14px;
color : #35457C;
}

H3 {
font-family : arial,helvetica,verdana,sans-serif;
font-weight : bold;
font-size : 12px;
color : #35457C;
}

.date {
font-family:arial,helvetica,verdana,sans-serif;
font-size:10px;
color:#666666;
}

.header {
font-family:verdana,arial,helvetica,sans-serif;
font-size:10px;
color:#FFFFFF;
font-weight : bold;
}

.headline {
color:#35457C;
font-size:14px;
font-weight : bold;
font-family:arial,helvetica,verdana,sans-serif;
text-decoration : none;
}

.headline:hover {
font-family:arial,helvetica,verdana,sans-serif;
font-size:14px;
font-weight:bold;
text-decoration:underline;
color:#35457C;
}

.headline:visited {
font-family:arial,helvetica,verdana,sans-serif;
font-size:14px;
font-weight:bold;
text-decoration:none;
color:#666666;
}

.subheadline {
color:#35457C;
font-size:12px;
font-weight : bold;
font-family:arial,helvetica,verdana,sans-serif;
text-decoration : none;
}

.caption {
font-family:arial,helvetica,verdana,sans-serif;
font-size:12px;
color:#35457C;
}

.littleLinkText {
font-family: arial,helvetica,verdana,sans-serif;
font-size:9px;
color:#6A8EB4;
}

.littleLink {
font-family: arial,helvetica,verdana,sans-serif;
font-size:9px;
font-weight:normal;
color:#6A8EB4;
text-decoration:underline;
}

.littleLink:hover {
text-decoration:none;
}

.littleLink:visited {
color:#666666;
text-decoration:underline;
}

.middleLink {
font-family: arial,helvetica,verdana,sans-serif;
font-size:12px;
color:#6A8EB4;
text-decoration:underline;
}

.middleLink:hover {
text-decoration:none;
}

.middleLink:visited {
text-decoration:underline;
color:#666666;
}

.alert {
font-size : 10px;
font-family : arial,helvetica,verdana,sans-serif;
color : #EE0000;
font-weight : bold;
}

.bodyBold {
font-family:arial,helvetica,verdana,sans-serif;
font-size:12px;
color:#35457C;
font-weight:bold;
}

.arial1 {
font-family:arial,helvetica,verdana,sans-serif;
font-size:12px;
color:#35457C;
text-decoration : none;
}

.arial1b {
color:#35457C;
font-size : 12px;
font-weight : bold;
font-family:arial,helvetica,verdana,sans-serif;
text-decoration : none;
}

.arial2 {
font-family:arial,helvetica,verdana,sans-serif;
font-size : 14px;
color:#35457C;
text-decoration : none;
}

.arial2b {
font-family:arial,helvetica,verdana,sans-serif;
font-size : 14px;
font-weight : bold;
color:#35457C;
text-decoration : none;
}

.arial3b {
font-family:arial,helvetica,verdana,sans-serif;
font-size : 17px;
font-weight : bold;
color:#35457C;
text-decoration : none;
}

.arial3 {
font-family:arial,helvetica,verdana,sans-serif;
font-size : 20px;
color:#FFFFFF;
font-weight : bold;
text-decoration : none;
}

.arial4 {
font-family: arial,helvetica,verdana,sans-serif;
font-size : 25px;
color:#35457C;
text-decoration : none;
}

.maintHeader {
font-family : arial,helvetica,verdana,sans-serif;
font-size : 40px;
font-weight : bold;
color : #FFFFFF;
text-align: center
}

coltext {
font-family : arial,helvetica,verdana,sans-serif;
font-size : 10px;
color : #35457C;
}

navbarsublinks {
color : #FFFFFF;
font-family : arial,helvetica,verdana,sans-serif;
font-size : 12px;
text-decoration:none;
font-weight : normal;
}

navbarsublinks a {
color: #FFFFFF;
text-decoration:none;
}

navbarsublinks a:visited {
color: #FFFFFF;
text-decoration:none;
}

navbarsublinks a:hover {
color: #35457C;
text-decoration:underline;
}

navbar {
color : #FFFFFF;
font-family : arial,helvetica,verdana,sans-serif;
font-size : 12px;
text-decoration:none;
font-weight : bold;
}

navbar a {
color: #FFFFFF;
}

navbar a:visited {
color: #FFFFFF;
}

navbar a:hover {
color: #FFFFFF;
text-decoration:none;
}

navbarHighlighted {
color : #FFFFFF;
font-family : arial,helvetica,verdana,sans-serif;
font-size : 12px;
text-decoration:none;
font-weight : bold;
}

navbarHighlighted a {
color: #35457C;
}

navbarHighlighted a:visited {
color: #35457C;
}

navbarHighlighted a:hover {
color: #35457C;
text-decoration:none;
}

stattext {
font-family : arial,helvetica,verdana,sans-serif;
color : #35457C;
font-size : 10px;
}

home {
color : #EE0000;
}

alt_TD {
font-size : 10px;
font-family : arial,helvetica,verdana,sans-serif;
color : #35457C;
}

tdsmall {
font-size : 8px;
font-family : arial,helvetica,verdana,sans-serif;
color : #35457C;
}

photocaption {
font-family: arial,helvetica,verdana,sans-serif;
font-size:12px;
color:#35457C;
text-decoration : none;
}

navylink:Active {
color : #35457C;
}
navylink:Visited {
color : #35457C;
}

spacer {
color : #35457C;
font-size : 2px;
font-family : arial,helvetica,verdana,sans-serif;
}

link {
font-family : arial,helvetica,verdana,sans-serif;
font-size : 8px;
font-weight : bold;
text-decoration : none;
color : #ffffff;
}

a:hover.link {
font-size : 8px;
font-family : arial,helvetica,verdana,sans-serif;
color : #FFFFFF;
font-weight : bold;
text-decoration : none;
}

a:visited.link {
font-size : 8px;
font-family : arial,helvetica,verdana,sans-serif;
color : #FFFFFF;
font-weight : bold;
text-decoration : none;
}

a:active.link {
font-size : 8px;
font-family : arial,helvetica,verdana,sans-serif;
color : #ffffff;
font-weight : bold;
text-decoration : none;
}

onepixel {
font-size : 1px;
font-family : arial,helvetica,verdana,sans-serif;
}

navheader {
font-size : 8px;
font-family : arial,helvetica,verdana,sans-serif;
color : #ffffff;
text-decoration:none;
}

factfile {
font-size : 10px;
color : #FFFFFF;
font-family : arial,helvetica,verdana,sans-serif;
background-color : #35457C;
}

error {
font-size : 10px;
font-family : arial,helvetica,verdana,sans-serif;
color : #880000;
font-weight : bold;
}


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 11:16 AM






Just post a link to the page, and describe the question please.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"MyFlashMXIN" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Here's the HTML and attached is my CSS &lt;!DOCTYPE HTML PUBLIC



Reply With Quote
  #3  
Old   
MyFlashMXIN
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 11:44 AM



Sorry Murray, no online link to post... The issue at hand though is my background image loading via CSS is not showing up...

Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 11:46 AM



I don't know which of the 4,248 possible reasons to pick.

Can you paste your CSS that defines the background image, and your HTML that
presents it into a reply?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"MyFlashMXIN" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry Murray, no online link to post... The issue at hand though is my
background image loading via CSS is not showing up...



Reply With Quote
  #5  
Old   
MyFlashMXIN
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 01:06 PM



HTML: &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0
Transitional//EN&quot;&gt; &lt;HTML&gt; &lt;HEAD&gt; &lt;TITLE&gt;SWAC - Swim
Team&lt;/TITLE&gt; &lt;LINK REL=&quot;StyleSheet&quot;
HREF=&quot;3colmn.css&quot; TYPE=&quot;text/css&quot;&gt; &lt;/HEAD&gt;
&lt;BODY&gt;
--------------------------------------------------------------------------------
CSS: body { font-size:12px;
font-family:arial,helvetica,verdana,sans-serif; color:#000000;
background-repeat : no-repeat; margin-top:0px; margin-left:0px;
background-image: url('images/pinstripe.gif');


Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 01:07 PM



Is this file actually in that location?

'images/pinstripe.gif'

Did you upload it?

(I wish you would post from the NNTP forum)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"MyFlashMXIN" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
HTML: &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0
Transitional//EN&quot;> &lt;HTML> &lt;HEAD> &lt;TITLE>SWAC -
Swim
Team&lt;/TITLE> &lt;LINK REL=&quot;StyleSheet&quot;
HREF=&quot;3colmn.css&quot; TYPE=&quot;text/css&quot;> &lt;/HEAD
&lt;BODY
--------------------------------------------------------------------------------
CSS: body { font-size:12px;
font-family:arial,helvetica,verdana,sans-serif; color:#000000;
background-repeat : no-repeat; margin-top:0px; margin-left:0px;
background-image: url('images/pinstripe.gif');




Reply With Quote
  #7  
Old   
MyFlashMXIN
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 01:20 PM



Nevermind: Damn Mondays!

background-repeat : no-repeat;

Reply With Quote
  #8  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 01:26 PM



Oh, yeah....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"MyFlashMXIN" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Nevermind: Damn Mondays!

background-repeat : no-repeat;



Reply With Quote
  #9  
Old   
David Stiller
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 01:29 PM



I don't think Monday was the issue here.

Glad you found your problem and nailed it, though. For what it's worth,
it's very likely you're able to cut down on much of your CSS by taking
advantage of inheritance. All those repeated font-family specifications,
for example, are probably unnecessary. Assuming these classes are attached
to HTML tags that fall within, say, the <body> tag, you could specify a
given font-family for the body element (or the "everything" element, * [an
asterisk]), then only specify font-families "down the way" if they need to
be different. Using inheritance in this manner cuts down on human error, at
least ... for example, when you need to update the font-family, you'll only
have to do it in one or two places, rather than dozens.


David
stiller ( at ) quip ( dot ) net



Reply With Quote
  #10  
Old   
MyFlashMXIN
 
Posts: n/a

Default Re: Problem with CSS linking... (must be Monday!) - 11-01-2004 , 01:36 PM



Thanks David, some good info there...

Murray! I'll never join you on the dark side! :-)

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.