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)
-   -   Margins setting html header (http://forum.bytesforall.com/showthread.php?t=10233)

perrymoon Oct 12, 2010 02:59 AM

Margins setting html header
 
Good morning!
I'm working with the Atahualpa theme and adding html I get two problems:

- I don't get to have margin 0 at the top.
- The <head> part interferes in the center column configuration (the blog itself). Is that normal?

I'm adding each code in each window (head, body tag and body)

You can see the page here: http://www.pauperramon.net

The code of the head:





<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pau Perramon - Filmmaking</title>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/background.jpg);
background-repeat: no-repeat;
background-position: 50% 0%;
}
.style9 {
color: #9A8269;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style11 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF;}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
.style14 {color: #FFFFFF}
.style15 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #666666;
}
.style17 { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style7 { color: #EDEDED;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>




Thank you in advance!

perrymoon Oct 12, 2010 03:17 AM

I already got the solution for the first problem, the problem was in the body tag window! But still the style is affecting to the center column, all the text is black while its configurated in another color by the atahualpa configuration panel 'body text and links' :(

perrymoon Oct 12, 2010 03:23 AM

Got it all!

The problem for the body was this:

body,td,th {
color: #000000;

I leave it, maybe is interesting for some newbye as me who has not much knowledge on code!

juggledad Oct 12, 2010 03:29 AM

You have me totally confused. Why are you adding styling this way. If you want to style the body, why not use the option ato->Body Text & Links->body style?
Why make it more complex?


All times are GMT -6. The time now is 04:27 PM.

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