Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Adding CSS to a custom built CMS
Old 03-19-2007, 01:20 PM Adding CSS to a custom built CMS
Average Talker

Posts: 15
Name: Bradley
Trades: 0
I am trying to add css to a skin file of a custom CMS I am having alot of trouble with this. Is there any info on CSS and CMS out there ive already used google with no help. My skin is enclosed at the bottom

would I put my pages that are used ie... {%body%} inside a div

<div id="MyDiv">
{%body%}
</div>

would this be the right way to apply CSS to a page within my CMS?





<?




$_skin = '<html>
<head>
<title>{%title%}</title>
<meta type="description" content="{%description%}">
<meta type="keywords" content="{%keywords%}">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="styles.php">


<style type="text/css">

.textButton{
border-style:none;
background-color:transparent;
font-weight:bold;
cursorointer;
}
.heading{
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight:bold;
}
</style>


</head>
<body {%background%}{%onload%}">
<script type="text/javascript" src="wz_dragdrop.js"></script>
<div align="center">
<table width="774" border="0" cellspacing="0" cellpadding="2" style="border:#000000 1px solid;"><tr><td>
<table width="774" border="0" cellspacing="0" cellpadding="0" style="border:#000000 1px solid;">
<tr>
<td colspan="2" class="header" id="header_bg">{%logo%}</td>
</tr>
<tr>
<td colspan="2" class="navbar" id="navbar">{%navbar%}&nbsp</td>
</tr>


<tr valign="top">


<td id="pagebg"{%pagepref%}>
<div class="heading">{%pagetitle%}</div>
<div style="padding:6px;">{%body%}</div></td>
</div>
</tr>
</table>
</td></tr></table>
</div>

<div align="right" style="width:774px;">{%adminbox%}</div>
<div align="center" id="footer">{%footer%}</div>

</div>

</body>
</html>';

$_blockwrapper = '
<div align="center">{%block%}</div>

';
?>
bean1620 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-19-2007, 02:05 PM Re: Adding CSS to a custom built CMS
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Each template should have its own associated css file to go with it. Your better off going to that cms community forums to find the answer you need. I'm sure each cms has its own way of doing things, and you didn't even specify which cms you have.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 03-19-2007, 02:34 PM Re: Adding CSS to a custom built CMS
Average Talker

Posts: 15
Name: Bradley
Trades: 0
I wish i new, the CMS i am using was built by a programmer that moved away so there is no forums, documentation, or help of any kind. My bosses paid alot for it so they want to continue to use it.
bean1620 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding CSS to a custom built CMS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12733 seconds with 12 queries