Jump to content

when the website is uploaded.... :'(


ilikephp

Recommended Posts

hii,

 

when I am checking my website on my pc using apache coz all my webpages are .php everything is fine,

BUT when I uploaded my website, the problem is with the style.css coz the lines height changed, when I click on a link, the color is not changing  ???  :'( CAN u help plzzzzz

Link to comment
Share on other sites

this is the whole css style:

 

 

p {

margin: 0;

padding: 0;

 

}

 

 

a {

 

font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #990000;

  text-decoration: none; font-weight: bold

 

}

 

a:hover {

 

font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #990000;

text-decoration: underline; font-weight: bold

}

 

 

.meniuri {

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

font-size: 11px;

font-style: normal;

font-weight: bold;

color: #FFB400;

text-decoration: none;

}

.meniurimici {

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

font-size: 14px;

font-style: normal;

font-weight: normal;

color: #000000;

text-decoration: none;

}

.copyright {

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

font-size: 11px;

font-style: normal;

font-weight: normal;

color: #FFFFFF;

text-decoration: none;

}

 

 

.text {

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

font-size: 16px;

font-style: normal;

font-weight: normal;

color: #555555;

text-decoration: none;

line-height: 25px;

text-indent: 1px;

 

}

 

.subsubtitlu {

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

font-size: 18px;

font-style: normal;

font-weight: bold;

color: #555555;

text-decoration: none;

}

.subtitlu {

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

font-size: 16px;

font-style: normal;

font-weight: bold;

color: #ABB2CF;

text-decoration: none;

line-height:20px;

 

}

.text1 {

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

font-size: 16px;

font-style: normal;

font-weight: normal;

color: #FFC600;

text-decoration: none;

line-height:25px;

text-indent: 1px;

 

}

.rearmore {

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

font-size: 14px;

font-style: normal;

font-weight: bold;

color: #841414;

text-decoration: none;

}

 

.rearmoref {

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

font-size: 12px;

font-style: normal;

font-weight: bold;

color: #841414;

text-decoration: none;

}

.readmore1 {

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

font-size: 11px;

font-style: normal;

font-weight: bold;

color: #FFFFFF;

text-decoration: none;

}

.subtitlu1 {

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

font-size: 18px;

font-style: normal;

font-weight: normal;

color: #024E90;

text-decoration: none;

}

.textcasuta {

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

font-size: 11px;

line-height: normal;

font-weight: normal;

color: #FFFFFF;

text-decoration: none;

}

 

Link to comment
Share on other sites

hii,

 

when I am checking my website on my pc using apache coz all my webpages are .php everything is fine,

BUT when I uploaded my website, the problem is with the style.css coz the lines height changed, when I click on a link, the color is not changing  ???  :'( CAN u help plzzzzz

 

As far as the link color not changing, your a color and your a:hover color are the same in your css file... now as far as changing size, are you sure that's it just not because you making it underline the link when it is hovered over?

Link to comment
Share on other sites

Are you absolutely sure about the path you are using to call your style.css page and that the style.css page is where you think it is? Type in the path of the style.css page in your browser and see if it tries to download... one easy way to make sure it is where you think it is... and use that absolute path in your css page call...

Link to comment
Share on other sites

You can try refreshing it...

 

Other than that, I'm stumped, you can't have two different files with the exact same name and file extension in the exact same place at the exact same time... LOL... At least not in my own private universe... :)

 

I would delete all the style.css files in that location,... then make sure your old one is deleted from your pc, double check to make sure that you are really about to upload the new one, then upload it... refresh your page and if the Gods are willing, Voila!

Link to comment
Share on other sites

u know, I deleted the css file and folder, and I put www.site/styles/styles.css I received the wrong file again  ??? and the cache is cleared and refreshed..

 

I think this is from the server right?

 

Coz the web page is still opening with the older ss style that was deleted  :o

Link to comment
Share on other sites

Just try it in one, just to make sure that it is working...

 

Just for future reference though, if you would have to change it in many pages, I would suggest using a header.inc file in your pages...

Link to comment
Share on other sites

I have come accross browsers caching css before now. When you browse to www.site.org/styles/styles.css make sure you click Ctrl+F5 (IE & FF). This will force the browser to go back to the server to get the file again.

Link to comment
Share on other sites

yeah I always press ctrl+F5,

 

The first step I did is changing the name of the folder to /styles1

 

and then I change it back to /styles

 

so it works :)

 

But why I always have this kind of problem?

 

sometimes I have picture for example: computer.jpg

when I decide to change the picture with a different one with the same name, I still receive the old pic.

U know why?

Thx...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.