navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

CSS fails to call

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> CSS fails to call
Page: [1]
 
chiefgringo

 

Posts: 2
Joined: 4/7/2007
Status: offline

 
CSS fails to call - 4/7/2007 20:21:47   
I have a problem with the following site in that the
<link href="/CSS/standard.css" rel="stylesheet" type="text/css">
will not find the CSS in order to format the text properly on the page.

http://www.ultrabreastsystem.com/ltrsplitub/big-naturals-testimonials.html - view source and u will see what I mean.

I have checked the following url
http://www.ultrabreastsystem.com/CSS/standard.css
and it displays properly.

I have also tried
<link href="../CSS/standard.css" rel="stylesheet" type="text/css">
and it doesn't work either

Tried both firefox and ie - same problem.

Any suggestions on why the line of code fails to call the CSS file?

Thanks, Norm
jurgen

 

Posts: 385
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: CSS fails to call - 4/7/2007 20:47:34   
Well, the way I see it..... that is why it is called CSS, aka "cascading style sheets" ..... If you are asigning a style in a CSS file and re-asign a different style in your html code the later will be shown. Check your style in your html and assign the class in the code.
You don't have to style it seperatly in the html code, because this will take over whatever you have in the CSS file.....


_____________________________

Wedding Dresses Colorado

(in reply to chiefgringo)
jaybee

 

Posts: 13959
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: CSS fails to call - 4/8/2007 6:05:54   
Jurgen is correct. The page is calling the standard.css file with no problem. The reason your page isn't using the styles to format is you have more styles in the code itself which are overriding what's in the stylesheet.

If you are going to use css then you MUST stay away from the Format font color etc buttons on the tool bars.

This is what is in your code and overriding the stylesheet.

<P align="center" class="tahoma-teal-b18">"I have been taking the Ultra Breast System now for about 10 months, drinking 3 protein shakes a day, eating tofu, high protein foods and i have gone from a 32C to a 36C..."</P>
        <P class="courier-new12">My name is Stacey and I am a 22 year old mother. I started taking ultra breast before i got pregnant and really enjoyed the results i got in just 2 months. I took a break because i couldn't really afford anything at that time in my life and i was 18. Anyways after having a child and breast feeding, it really ruined my breasts i had small breast to begin with and my breast went up in size alot through breast feeding. Then when i stopped they went back to the same size they were before but they seemed smaller because now they sag which i was very insecure about. I think little saggy boobs look alot worse than big saggy boobs! So i decided now that my fiance and i have good jobs that i would start taking these pills again because there is no way i will ever go get surgery done to help my issue. I have been taking the Ultra Breast System now for about 10 months, drinking 3 protein shakes a day, eating tofu, high protein foods and i have gone from a 32C to a 36C. My breasts have always been fairly round but don't stick out for how round they are so it was very hard to buy bra's that fit properly. Now that my breasts have filled out more i went bra shopping at wal-mart and tried on three bra's and that was the first time in my life that i took home the first three bra's i tried on, it usually took me about five or six before i could find one that fit properly. I was the happiest person in the store that day gauranteed! I am so thankfull that i found the Ultra Breast system it really helps and its natural thats why i feel safe takin this product. thank you to everyone that took the time to formulate such a wonderful product for women who care about having small breasts but not enough to undergo surgery for it!</P>
        <P class="courier-new-b12">Stacey Dykes, Age 22<BR>
          Calgary, Alberta</u></b></font></P></TD>
    </TR>

  </TBODY>
</TABLE>
<P align=center>

<TABLE borderColor=#cccccc cellSpacing=0 cellPadding=20 width="80%" bgColor=#ffffff border=1>

<TBODY>

<TR>

<TD style="FONT-SIZE: 12pt">

<P style="FONT-SIZE: 8pt" align=center><img src="../sites_images/Su_LaSalle_Picture.jpg" width="180" height="150"></P>
<FONT style="FONT-SIZE: 14pt" face=Arial><STRONG>

<P style="FONT-SIZE: 8pt" align=center>


_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to jurgen)
chiefgringo

 

Posts: 2
Joined: 4/7/2007
Status: offline

 
RE: CSS fails to call - 4/8/2007 10:00:50   
Thanks
I understand what you have said and have experienced that issue, but that is not the case here.

Here is a snip of the code of the first text below the first image in
http://www.ultrabreastsystem.com/ltrsplitub/big-naturals-testimonials.html

<P align="center" class="tahoma-teal-b18">"I have

As can be seen I believe the html is correct in calling the desired style from the CSS stylesheet.
What my problem seems to be is that for some reason the css link code line between <head> and </head> an indicated below for some reason is not working.

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

The above link, I believe, should call the stylesheet located at:
http://www.ultrabreastsystem.com/CSS/standard.css

It's not doing this - I can't figure out why.

I have taken all the elements of the stylesheet above and put in in this webpage in the traditional manner between begin/end script tags as:
<style type="text/css"> </style>
and it works,
but when I go back to a reliative link, it does not. Obviously something is wrong with the call to the css style sheet, but I am unable to figure it out.
I have other pages with the same link code and they ARE working.
Any assistance is appreciated

(in reply to chiefgringo)
jurgen

 

Posts: 385
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: CSS fails to call - 4/8/2007 11:19:45   
quote:

http://www.ultrabreastsystem.com/CSS/standard.css


You can use this path to your css file

quote:

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


Or try <link href="../CSS/standard.css" rel="stylesheet" type="text/css">

_____________________________

Wedding Dresses Colorado

(in reply to chiefgringo)
Tailslide

 

Posts: 5915
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: CSS fails to call - 4/8/2007 14:19:51   
Add in

media="screen"  


to your stylesheet link

On that particular example - there is no class called tahoma-teal-b18 in your stylesheet.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jurgen)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> CSS fails to call
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts