[advanced search]
Results from the most recent live auction are here.
15 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Web Design Discussion
User Name
Password

Old 12-24-2007, 04:38 AM   · #1
kura
NamePros Member
 
Trader Rating: (0)
Join Date: Nov 2007
Posts: 26
NP$: 0.00 (Donate)
kura is an unknown quantity at this point
need help for sidebar and skinning problems

Hi. I tried to skin my site using this tutorial but the headers cannot be seen at http://www.violinstar.net/personal.php. In addition, the sidebars are on the extreme right and footers are on the centre. Is there a way that I can move my sidebar closer to the content and footer to be below the content using div?


Please register or log-in into NamePros to hide ads
kura is offline   Reply With Quote
Old 12-24-2007, 11:52 PM   · #2
kura
NamePros Member
 
Trader Rating: (0)
Join Date: Nov 2007
Posts: 26
NP$: 0.00 (Donate)
kura is an unknown quantity at this point
Can someone help me? Really need help urgently...
kura is offline   Reply With Quote
Old 12-25-2007, 12:14 AM   · #3
badger879
NamePros Regular
 
badger879's Avatar
 
Trader Rating: (9)
Join Date: Jun 2006
Posts: 227
NP$: 31.00 (Donate)
badger879 will become famous soon enoughbadger879 will become famous soon enough
Can we have some more information

whats it running on ect ect

any code we could see?
__________________
There always been ghosts in the machine. Random segments of code that group together to form unexpected protocols..
badger879 is offline   Reply With Quote
Old 12-25-2007, 07:16 PM   · #4
kura
NamePros Member
 
Trader Rating: (0)
Join Date: Nov 2007
Posts: 26
NP$: 0.00 (Donate)
kura is an unknown quantity at this point
Originally Posted by badger879
Can we have some more information

whats it running on ect ect

any code we could see?


I used dreamweaver to code the pages.
Here's the codes:
For header.php:
Code:
<?php $pathtoskins = "/home/kura/public_html/skins/"; $defaultskin = 1; if (isset($_COOKIE['myskin']) && file_exists($pathtoskins . $_COOKIE['myskin'] . '/header.php') && file_exists($pathtoskins . $_COOKIE['myskin'] . '/footer.php')) { $header = $pathtoskins . $_COOKIE['myskin'] . "/header.php"; $footer = $pathtoskins . $_COOKIE['myskin'] . "/footer.php"; $styles = "/skins/" . $_COOKIE['myskin'] . "/stylesheet.css"; } else { $header = $pathtoskins . $defaultskin . "/header.php"; $footer = $pathtoskins . $defaultskin . "/footer.php"; $styles = "/skins/" . $defaultskin . "/stylesheet.css"; } include($header); ?>

For stylesheet.css in skins/1/ folder:
Code:
BODY { font-size : 10pt; color : #2c5a50; line-height : 100%; font-family : verdana; } a.three:link {color: #2c5a50} a.three:visited {color: #00000} a.three:hover {background: #FFFFFF} h1 { border-style : none; border-width : 0; font-size : 14px; font-family : verdana, arial, arial-narrow; color : #2c5a50; font-weight : bold; text-decoration : underline; margin-bottom : 0; } h3 { border-style : none; border-width : 0; font-size : 12px; font-family : verdana, arial, arial-narrow; color : #2c5a50; text-decoration : underline; margin-bottom : 0; } h2 { border-style : none; border-width : 0; font-size : 12px; font-family : verdana, arial, arial-narrow; color : #2c5a50; font-weight : normal; text-decoration : none; margin-bottom : 0; } body { background-color : #c8e6da; } .container { margin : 35px auto; width : 500px; } #header { width : auto; } #content { width : 406px; } #sidebar { width : 120px; } #content { float : left; width : 406px; } #sidebar { float : right; width : 120px; position:absolute; top:0; left:406px; padding:5px; padding:5px; border: #000000 2px solid; } a.menu:link, a.menu:visited, a.menu:active { color : #b1274b; background-color : #edc6d0; display : block; font-weight : bold; border-right : none; text-transform : uppercase; text-decoration : none; font-family : tahoma; font-size : 7pt; line-height : 9pt; margin : 0; padding : 2px 2px 2px 2px; border-bottom : none; } a.menu:hover { color : #edc6d0; background-color : #b1274b; display : block; text-transform : uppercase; font-family : tahoma; font-size : 7pt; line-height : 9pt; text-decoration : none; font-weight : normal; margin : 0; padding : 2px 2px 2px 2px; }

For header.php in skins/1/ folder:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head> <title> Violin in the Woods </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="<?php echo $styles; ?>" rel="stylesheet" type="text/css"> </head> <body> <div class="h1" id="container"> <div id="header"><img src="images/header.jpg" alt="Skin1 header" width="635" height="406"></div> <div class="container" id="sidebar"> <h1>Navigation </h1> <p class="menu"><a href="http://www.sweetpatronus.cn/">Sakura</a></p> <p class="menu"><a href="blog.php">Blog</a></p> <p class="menu">Domain</p> <p class="menu">Linkage</p> <p class="menu">Visitor</p> <p class="menu">Contact</p> <h1>Hostees </h1> <p class="h2">Eunice</p> <p class="h2">Felicia</p> <h1 class="h1">Tagboard</h1> <p class="h2"><!-- BEGIN CBOX - www.cbox.ws --> <div align="center" id="cboxdiv"> <iframe frameborder="0" width="160" height="125" src="http://www2.cbox.ws/box/?boxid=1118790&amp;boxtag=3030&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" name="cboxmain" style="border:#FFFFFF 1px solid;" id="cboxmain"></iframe><br> <iframe frameborder="0" width="160" height="75" src="http://www2.cbox.ws/box/?boxid=1118790&amp;boxtag=3030&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" name="cboxform" style="border:#FFFFFF 1px solid;border-top:0px" id="cboxform"></iframe> </div> <p> <!-- END CBOX --> &nbsp; </p> <p>Affiliates</p> <p class="h2"><a href="http://www.sweetpatronus.cn">Sweet Patronus</a> </p> <p class="h1">Of the Moment</p> <p class="h2">None. </p> <p class="h3">&nbsp;</p> </div> </div>

For footer.php in skins/1/ folder:
Code:
<div class="container"> <h1 align="left" class="menu">Credits</h1> </div>


I tried making my site to have multiple skins with this tutorial: http://www.tutorialtastic.co.uk/tut...ng_your_website
kura is offline   Reply With Quote
Old 12-26-2007, 02:46 AM   · #5
kura
NamePros Member
 
Trader Rating: (0)
Join Date: Nov 2007
Posts: 26
NP$: 0.00 (Donate)
kura is an unknown quantity at this point
Erm? How was it? I'm still strucked.
kura is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
http://www.mobisitetrader.com/ Traffic Down Under http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 11:21 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0