Title: WordPress embedded
Last modified: August 18, 2016

---

# WordPress embedded

 *  [nutsmuggler](https://wordpress.org/support/users/nutsmuggler/)
 * (@nutsmuggler)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wordpress-embedded/)
 * Hi folks
    I am no great web designer. I am trying to embed wordpress in my homepage,
   to use it as a news manager. Here is the link [http://lnx.cnomania.it/wordpress/index2.php](http://lnx.cnomania.it/wordpress/index2.php)
   I have copied and pasted the index code into a table on my homepage. I have created
   a new stylesheet, named ws-cno-layout.css, and I have linked inted the embedded“
   index” to this stylesheet. As you have probably noticed, I have a few problems.
   1) I have been able to eliminate the wp menu on the right, but the content frame
   is still centred; I’d like it to expand in my table, bot on the left and on the
   right? What should I change? The page code or the css code? And where? 2) Can
   I link a css page to another css page? I wanted to include my style page in this
   css page; can i do it with an external link? 3) Why some characters (Ã³ and Ã
   ¬, for example) appear correctly on my “regular” index page ([http://lnx.cnomania.it/wordpress/index.php](http://lnx.cnomania.it/wordpress/index.php))
   and not in the embedded one? Thanks in advance, Davide

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [nutsmuggler](https://wordpress.org/support/users/nutsmuggler/)
 * (@nutsmuggler)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-101682)
 * 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
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-101699)
 * 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
 *  [idowens](https://wordpress.org/support/users/idowens/)
 * (@idowens)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-101739)
 * 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&#8221](http://www.YOURSITE.com/wordpress-1.0.2/index.php&#8221);
   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!
 *  Thread Starter [nutsmuggler](https://wordpress.org/support/users/nutsmuggler/)
 * (@nutsmuggler)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-101876)
 * 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
 *  [idowens](https://wordpress.org/support/users/idowens/)
 * (@idowens)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-102059)
 * 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!
 *  Thread Starter [nutsmuggler](https://wordpress.org/support/users/nutsmuggler/)
 * (@nutsmuggler)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-102166)
 * 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
 *  [glytch](https://wordpress.org/support/users/glytch/)
 * (@glytch)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-102451)
 * 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&#8221](http://www.teamplaylotto.com/grabagrand.htm&#8221);
   frameborder=”0″ scrolling=”no” name=”Grab a Grand” width=”434″ height=”650″ >
   
   </iframe>
 * 

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WordPress embedded’ is closed to new replies.

 * 7 replies
 * 4 participants
 * Last reply from: [glytch](https://wordpress.org/support/users/glytch/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/wordpress-embedded/#post-102451)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
