Once you've made the div layer..., what's the blog code? |
Once you've made the div layer..., what's the blog code? |
Jul 29 2005, 05:03 PM
Post
#1
|
|
|
noob blogger ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2005 Member No: 181,232 |
I've looked at the tutorials, but I can't seem to see what specific code relates directly to the blog posts.
Specifically this is my problem. I have made a DIV area where I want my blog to be. What codes do I put inside the <div></div> tags to cause my blog entries to show up? Again, I apologize to you vetrans out there who probably can see it easily. |
|
|
|
![]() |
Jul 29 2005, 05:07 PM
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
.... -cough- Hi.
You're asking... How to move the blog, yes? Okay. CODE OTHER JUNK <blog layer> ^ It goes at the very end. Then, you just move it until you get it in the right spot. You close it in webstats... Not in header.
|
|
|
|
Jul 29 2005, 05:41 PM
Post
#3
|
|
|
noob blogger ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2005 Member No: 181,232 |
Hmmm, I don't understand. Are you saying that you don't make a div layer and input the blog code (or url of blog) in it, but instead you just move it around to where you want it? I don't know what code to move, for that matter. And the layout I'm using right now doesn't even have anything in the webstats section.
Here's my current url: http://www.xanga.com/home.aspx?user=friarblues As you can see, my blog entries are in a box in the middle of the pic. I assume that that box where the blog entries are in is inside of a div layer. If it is not, then what I need is to figure out a) what part of the code makes up the box in which the blog is in and, b) what part of the code directs the blog to show up in that box. I'm mentally stuck on this point, I hope you can illuminate the situation. EDIT: and are you saying that <blog layer> is the actual code? |
|
|
|
Jul 29 2005, 05:54 PM
Post
#4
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Yeah. Because I went braindead for a second.
---- a) what part of the code makes up the box in which the blog is in and, QUOTE <div style="position:static;margin-left: 350px;margin-top: -250px;width: 400px;height: 350px;overflow:auto;"> b) what part of the code directs the blog to show up in that box. None. A div layer moves everything that follows it. That's why you put it after everything else. |
|
|
|
Jul 29 2005, 05:59 PM
Post
#5
|
|
|
noob blogger ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2005 Member No: 181,232 |
Ahh... I'm beginning to understand. About question b), If I have more then one div layer on my site, how can I direct my blog stuff to go into the right one?
(you're getting through to my thick head, I promise!) |
|
|
|
Jul 29 2005, 06:04 PM
Post
#6
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
I'm just glad I don't have to break down the code piece by piece!
---- Okay, let's say you have a navigation layer and a blog layer. This would be the basic template of the codes. CODE (Image codes) (Navigational div layer) (Stylesheet) (Blog div layer) The only thing you have to remember is that at the very end of the navigation, you put a </div>. It's lke ending the tags in HTML. Ending the navigational div layer will ensure it moves independantly of the blog div layer... Do you get it...?
|
|
|
|
Jul 29 2005, 06:15 PM
Post
#7
|
|
|
noob blogger ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2005 Member No: 181,232 |
Mmmmm... I think so. Lets see if I have this straight.
All the extra div layers I may want must begin before the (Stylesheet) (Question: not sure why, what if I want the info on the style sheet to affect the other div layers? i.e.- link colors and decoration, etc? Can the other div layers begin after the (Stylesheet) but before the (Blog div Layer)?). Furthermore, the (Blog div layer) does not end with a </div> tag within the header box because the (Blog div layer) extends beyond the header box and we wouldn't want to end it prematurely. (question: where does the blog div layer begin? What code am I looking for that identifies it?). Sorry that you have to dumb it down like this. |
|
|
|
Jul 29 2005, 06:23 PM
Post
#8
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
It doesn't matter where the stylesheet is.... It still affects everything.
As in my site. Click. They can begin before the blog layer.... But it's easier to edit if you have things in that order. The blog layer begins wherever you want it to. -thinking of how to explain this- Actually, let me do it this way. I'll use my current layout and show you what I'm talking about. See all the comments in the code? Read them to see what does what. QUOTE <!-- a comment looks like this -->
|
|
|
|
Jul 29 2005, 06:45 PM
Post
#9
|
|
|
noob blogger ![]() ![]() ![]() Group: Member Posts: 39 Joined: Jul 2005 Member No: 181,232 |
Ok, I understand now about why you put the stylesheet in that order (I thought the stylesheet would have to go before stuff in order for it to affect that stuff, but I understand now).
I also noticed that this is what you posted as refering to where the blog would be located at: And by looking at that, I can see that there's nothing in it that would specify that it is being used for the blog entries Except the fact that it is the last thing on the header box and does not end with the </div> tag, is that correct? If the above question is correct, then I have only two final questions and I will forever leave you in peace (or at least until I'm stumped again). a) I read on a tutorial that if I am to use an image map, that it must be the first thing coded, or it'll mess everything else up. Is that true, and why? b) <div> tags have the option of using a Z-index number to order what div layer goes on top of another. Will assigning z-index numbers to my div layers screw up my blog post? You da bomb! |
|
|
|
![]() ![]() |