Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   question re calling custom css (http://forum.bytesforall.com/showthread.php?t=8883)

drex Aug 13, 2010 03:19 AM

question re calling custom css
 
sorry, i've tried looking this up, and can't get it to work.


need a custom resizable image with adjustable middle table image to accomodate stretching correctly.


here is the css code::

Code:

div.newlogo {
margin: 0;
 padding: 0;
 background: #fff url('<?php bloginfo('template_directory'); ?>/images/logo/Xoutpost_slice_backgroundv2_02.png') top center repeat-x;
 }


here is how i call it:

Code:

<table id="newlogo" width="1600" height="150" border="0" cellpadding="0" cellspacing="0">
        <tr>
                <td>
                        <img src="http://localhost/wp/wp-content/themes/atahualpa353/images/logo/Xoutpost_slice_backgroundv2_01.png" width="1166" height="150" alt=""></td>
                <td width="100%"> <div class="newlogo"></div></td>
                <td align="right">
                        <img src="http://localhost/wp/wp-content/themes/atahualpa353/images/logo/Xoutpost_slice_backgroundv2_03.png"  height="150" alt=""></td>
        </tr>
</table>


it doesn't seem to work, and i think its a syntax problem. any ideas? (the middle call for div class newlogo is the issue)...

thanks in advance!

drex Aug 13, 2010 04:14 AM

ok figured out some more...

found this:

http://forum.bytesforall.com/showthr...ht=table+class

did this:

Code:

<table width="1600" height="150" border="0" cellpadding="0" cellspacing="0">
        <tr>
                <td class="td1">
                        <img src="http://localhost/wp/wp-content/themes/atahualpa353/images/logo/Xoutpost_slice_backgroundv2_01.png" width="1166" height="150" alt=""></td>

                <td class="td2" width="100%"></td>
               
                <td class="td3" align="right">
                        <img src="http://localhost/wp/wp-content/themes/atahualpa353/images/logo/Xoutpost_slice_backgroundv2_03.png"  height="150" alt=""></td>
        </tr>
</table>


td.td-1 {
 
}

td.td-2 {
margin: 0;
padding: 0;
 background: #000000 url('<?php bloginfo('template_directory'); ?>/images/logo/Xoutpost_slice_backgroundv2_02.png') repeat-x;
 }

td.td-3 {
 
}

but the td2 area is still not working...

thanks


All times are GMT -6. The time now is 03:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.