go41

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by Joern

von Joern am 24. Mai. 2010 | Keine Kommentare

in style.css you can write comments like this:

/* standard link behaviour */
this ‚/*‘ is the start of a HIDDEN comment, this ‚*/‘ is the end
so in your entry

body { background:/*url(images/backgrounds/vtile.png) repeat-x 0px 0px #252525*/ #19110A;

color: #000;

padding: 13px 0 25px 0;

}

there is a HIDDEN part, this:

/*url(images/backgrounds/vtile.png) repeat-x 0px 0px #252525*/

HIDDEN means the browser will not read
a background image plus color is allowed, in your site with the red line in the background image is the color black for the lower uncovered parts
above wrong entry should read:
body { background:url(images/backgrounds/vtile.png) repeat-x 0px 0px #252525;

color: #000;

padding: 13px 0 25px 0;

}
same for your fcontent
.fcontent{

background:url(images/backgrounds/bg_leadcontainer.jpg) repeat-x 0px 0px #252525;

color:#ddd;

border-top:4px solid #CC0033;

border-bottom:4px solid #CC0033;

padding:15px;

width:592px;

min-height:500px;

}
the google add

it is a span CLASS, so in style.css you need .googleadv not #googleadv
I gave you this in the last thread:

.googleadv {

float:right;

width:200px;

}
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 8 weitere Ergebnisse dieses Threads:

got rounded div borders but one problem and also 1 quick question!

24. Mai. 2010 (von: omerkhan01)

Hey Joern, You can visit my wp development test site here I implemented this rounded border code -both php and CSSfrom this site.Now as you can see the border is chopped up at the bottom /left/ right. Is there something…

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by omerkhan01

24. Mai. 2010 (von: omerkhan01)

Hi, The googleadv was referenced as a selector as . and not a # and it still didn't work. Also, I want to position the Featured content gallery right on the fcontent container with the grey background. Are there x,…

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by Joern

24. Mai. 2010 (von: Joern)

the google add locationyou have now:.googleadv{margin-right:20px;float:right;}I gave you: (third and last time here...).googleadv {float:right;width:200px;}something float right aligns to the right side of the outer div it's in, if you set a margin-rig... Weiterlesen →

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by omerkhan01

24. Mai. 2010 (von: omerkhan01)

Joern, the Fcontent issue-Solved. You were right. I changed the settings in the settings tab for the Featured Content Gallery Plug in. Now it fits nicely into the fcontent container.Quick question about googleadv and a few more questions you didn't…

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by omerkhan01

24. Mai. 2010 (von: omerkhan01)

btw how can I compensate you for giving me this golden knowledge of how to master wordpress. I would like to buy you a gift or send you a bottle of wine or something. Will you accept it. Please don't…

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by Joern

24. Mai. 2010 (von: Joern)

for me the add is on the right now...I tried it without width and it didn't move, remember you still have this 'center' around.Firebug reads your body tag like:body {background:none repeat scroll 0 0 #19110A;color:#000000;padding:13px 0 25px;}because t... Weiterlesen →

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by omerkhan01

24. Mai. 2010 (von: omerkhan01)

To answer your question. I put the vtile.png in the index folder, but now moved it to the images folder. So you are saying that because of the commenting or partial commenting, that is why a piece of CSS code…

Re: got rounded div borders but one problem and also 1 quick question! :: Reply by omerkhan01

24. Mai. 2010 (von: omerkhan01)

Dude I figured it all out. Anyways you are the man. Have a great vacation my friend.Omar. Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: