Welcome to Dream.In.Code
Getting Help is Easy!

Join 109,157 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,030 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Overwriting A Changed CSS File And PHP File Changed Browser Appearance

 
Closed TopicStart new topic

Overwriting A Changed CSS File And PHP File Changed Browser Appearance

HowdeeDoodee
post 18 Jun, 2008 - 10:55 PM
Post #1


D.I.C Head

**
Joined: 17 Jun, 2008
Posts: 54

After I had made numerous changes to some of the php files and css files in a directory, I uploaded and overwrote one php file and one css file in the directory.

There are 9 css files and 9 php files in the directory.

All css files have identical lines below. The code lines below are identified with AFTER CHANGE.

After I uploaded and overwrote the one css file and one php file, all the files in the directory appear in the browser as if I had not made any changes to any of the BEFORE CHANGE lines in any of the css files.

I modified the recently uploaded files in the manner shown below but I still have the problem of a background color appearing behind every Bible book.

Here is a file where the changes I had made are not showing.

http://www.findthepower.net/CP/BibleSuperS...erface=advanced

All Bible books now appear as if the link has the background color tan which I had removed in the code.

Each php file in the directory is matched with a css file, i.e. filename:advanced.php is matched to filename:bible_stylesheet_advanced.css

Prior to the uploading and overwriting, I had changed all the css files by changing the line below in each css file. What I changed was background-color:tan; to background-color:;

Other changes were made to each of the css files.

Therefore, after the change, all Bible book links appeared in the browser without any background color in all php files when viewing the file in a browser.

CODE

/* BEFORE CHANGE>>>>>Formatting for book link TEXT   This "span" SURROUNDS the book link*/
span.booklink{text-align:left; background-color:tan; padding:4; margin:0; margin-top:20; text-decoration:none;font-family:serif}


to

CODE

/* AFTER CHANGE>>>>>Formatting for book link TEXT   This "span" SURROUNDS the book link*/
span.booklink{text-align:left; background-color:; padding:4; margin:0; margin-top:20; text-decoration:none;font-family:serif}


Copies of one css file and one php file were posted in my first request and the link to that thread is here:

http://www.dreamincode.net/forums/showtopic55101.htm

What did I do and how do I fix it?

Thank you in advance for any replies.

User is offlineProfile CardPM

Go to the top of the page


HowdeeDoodee
post 19 Jun, 2008 - 01:28 AM
Post #2


D.I.C Head

**
Joined: 17 Jun, 2008
Posts: 54

I developed a solution. I changed the background color to white. This works for me because the appearance of the screen on the browser in the application is against a white background. Perhaps leaving the background-color:; as empty created some kind of default back to the original color of tan. (Not sure about this part, I am just guessing)


CODE
/* Formatting for book link TEXT   This "span" SURROUNDS the book link*/
span.booklink{text-align:center; background-color:white; padding:0; margin:0; margin-top:0; text-decoration:none;font-family:serif}
User is offlineProfile CardPM

Go to the top of the page

Closed TopicStart new topic
Time is now: 9/5/08 05:39PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month