UPDATE
1) My only trouble is the upper margin, which is too big now, even if in the content section I have set it to 0.
PS: don’t worry about the wordpress link, I’ll set it back, hopefully integrating it in my site layout
Well, staring at your source code, it’s a mess. You have ‘head’ section inside ‘body’ and other stuff. You need only one ‘html’, one ‘head’, one ‘body’ in one page.
<html>
<head>
<!--stuff-->
</head>
<body>
<!--stuff-->
</body>
</html>
You might want to start with wordpress’ default index.php. Don’t touch anything inside ‘head’. Delete everything within ‘body’ except ‘content’ section. And build up from there
One easy was of incorperating WP into an HTML site’s layout is by using an iFrame (short for Inline Frame). Open the page you want to incorperate WP into, and create an iFrame with whatever attributes you need to match your sites layout. That–in essence–creates a frame inside of your page without using a ‘frames’ or ‘table’ based template….it would look something like this…
<iframe
src =”http://www.YOURSITE.com/wordpress-1.0.2/index.php” frameborder=”0″ scrolling=”no” name=”wordpress_blog” width=”444″ height=”1000″ >
</iframe>
By adding ‘framborder=”0″ there won’t be a border around the frame and most people won’t notice that its an entirely seperate site. Also by using the approach, links clicked inside the iFrame, refresh only that iWindow and thus don’t navigate your guests away from your main website.
Of course this isn’t the best approach in all situations…but it may serve what you’re looking for. Let me know if you have any other questions. Also, you can go a google search for iFrame for more attribute settings.
ciao!
Thanks a million 🙂 The iframe tag is exactly what I needed!
I have just a small question: how do I make the frame extensiblein height (that is: I want it to resize according to the blg lenght). I have tried to delete the height attribute, but it apparently sticks to some 200 px or so…
Cheers,
Davide
nutsmuggler, it’s been awhile since I’ve looked at the attributes for iFrames (as I’m trying to move away from them) but if you still haven’t figured it out, let me know and I’ll see what I can find. I’m almost positive that there is a command to make it resize according to content….
ciao!
Thanks a lot, but no worry. I’ve converted it all to css (it’s still on my pc, I haven’t uploaded it yet), I am setting the layout anew. I thought css were more difficult, they are actually easy and practical; I’ll be able to avoid dreamweaver templates, which behave badly…
Thanks a million anyway, and don’t worry, I’ll be back as soon as I am stuck; and I’ll let you all know when the page layout is complete.
Cheers,
Davide
thanks idowens, that worked for me. before I was getting a small iframe box that wp resized. now it works fine with
<iframe src =”http://www.teamplaylotto.com/grabagrand.htm” frameborder=”0″ scrolling=”no” name=”Grab a Grand” width=”434″ height=”650″ >
</iframe>
http://blog.teamplaylotto.com/?page_id=25