View Single Post
Old 01-18-2013, 08:19 PM   PM User | #8
jeddi
Senior Coder

 
Join Date: May 2006
Posts: 1,517
Thanks: 26
Thanked 4 Times in 4 Posts
jeddi has a little shameless behaviour in the past
Thanks for the advice.

The only thing is - the user selects the background color so I
can not have different css files for every combination.

I am baffled though

I moved the variables out to the css as a posted but the
background color still doesn't come up

This is the code as seen in the source:

Here is the page - no color

http://professional-world.com/


PHP Code:
<!DOCTYPE HTML>
<
html>
<
head>
<
title>Professional World</title>
<
meta name="keywords" content="A Website">
<
meta name="description" content="The Professional World Community">
<
meta name="revisit-after" content="2 days">
<
meta name="robots" content="all, index, follow">
<
meta name="author" content="SimplePage.net">
<
meta name="Rating" content="General">
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<
link rel="shortcut icon" href="/sys_images/favicon.png" type='image/png'>
<
link rel="icon" href="/sys_images/favicon.png" type='image/png'>
<
link rel='stylesheet' type='text/css' href='a_style.css' >

<
style type="text/css" media="all">
html{
   
height:100%;
   
font-family:Helvetica,Arial,sans-serif;
    }
    
.
main {
    
width:1000px;
    
padding:0 50px 0 50px
    
background-color:#95BBF2;    
    
}
    
.
main_img {
    
width:1000px;
    
padding:0 50px 0 50px
    }
</
style>        
    
    
</
head>
<
body>

<
noscript>
 <
p>This site needs Javascript to work properlyPLEASE ENABLE JAVASCRIPT.</p>
</
noscript>


<
div class="main" id="mainC">
            
  <
div style="float:left; width:1000px; height:260px; margin:20px 50px 0 50px; ">
    
    <
div style="float:left; margin:10px 0 0 10px ; "
    <
span style="font:Helvetica,Arial,sans-serif; font-size:20px; color:#000000;">Professional World</span>
    <
span style="font:Helvetica,Arial,sans-serif; font-size:16px; color:#000000;">The Professional World Community</span>
    <
br><br>
      <
div id="head_image" style "margin: 0 auto;"><img alt="Professional World" title "Professional World" src="/images/trees.jpg" ></div></div>
           <
Div style="float:left; width:80%; margin:20px auto; padding: 10px; border:1px solid darkblue;" >
              <
div style "margin: 10px auto;">
    <
span><a href="http://www.simplepage.net">SimplePage.net</a>&nbsp; &nbsp; &nbsp; &nbsp;
    <
a href="http://the_link.htm">Privacy Policy</a>&nbsp; &nbsp; &nbsp; &nbsp;
    <
a href="http://the_link.htm">Terms and Conditions</a>&nbsp; &nbsp; &nbsp; &nbsp;
    <
a href="http://the_link.htm">Earnings Disclaimer</a>
      </
span>
      </
div>
       </
div>
     </
div>
   </
div
The php variables seem to have got through,
but are not getting applied.

Can anyone see what I did wrong ??

Thanks.


.
__________________
If you want to attract and keep more clients, then offer great customer support.

Support-Focus.com. automates the process and gives you a trust seal to place on your website.
I recommend that you at least take the 30 day free trial.
jeddi is offline   Reply With Quote