Title: HTML Code Setup
Last modified: November 25, 2018

---

# HTML Code Setup

 *  Resolved [valorrsps](https://wordpress.org/support/users/valorrsps/)
 * (@valorrsps)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/)
 * Im going to try to explain this the best that i can. Im working on a Runescape
   Private Server and Im creating a website for it on WordPress. Im trying to import
   Voting onto my website. When i am on DashBoard, i got to Pages, “Vote” and when
   im there i see Visual and Text. In the TEXT tab i put this code in because i 
   seen on it posted [HERE](https://www.rune-server.ee/runescape-development/rs2-server/tutorials/658852-everythingrs-voting-installation-any-base.html?fbclid=IwAR2OgoQF5nigQPf3gPKixg2JKSYwYiOjOWtAH2ctadQiNzVEdXlq4rX9Fx8)
 * Here is the CODE:
 *     ```
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml">
   
       <head>
           <title>Vote</title>
           <style type="text/css">
               body,
               html {
                   margin: 0;
                   padding: 0;
                   height: 100%;
                   overflow: hidden;
               }
   
               #content {
                   position: absolute;
                   left: 0;
                   right: 0;
                   bottom: 0;
                   top: 0px;
               }
           </style>
       </head>
   
       <body>
           <div id="content">
               <iframe width="100%" height="100%" frameborder="0" src="https://yoursubdomain.everythingrs.com/services/vote/" />
           </div>
       </body>
   
       </html>
       ```
   
 * **********************************************************************************
   
   The code works **BUT** i cant get it to be the FULL PAGE instead of a small fraction
   of the page. Can anyone help please. Here is what the code looks like on the 
   page [HERE](https://imgur.com/a/umDdHXh)
 * **See how its a small portion. Its inside its own box, and i would like for it
   to be the WHOLE PAGE! Any and all help HELPS! Please and Thank YOU!
    -  This topic was modified 7 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  [Christopher Spires](https://wordpress.org/support/users/boda1982/)
 * (@boda1982)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10915412)
 * All you really need is the `<iframe>` portion. Everything else should be left
   out.
 * `<iframe width=”100%” height=”100%” frameborder=”0″ src=”https://yoursubdomain.
   everythingrs.com/services/vote/” />`.
 * That being said, the iframe will bring in _everything_ from the page in the source
   attribute ([https://yoursubdomain.everythingrs.com/services/vote/](https://yoursubdomain.everythingrs.com/services/vote/)).
   There’s no way within WordPress to modify the page within the iframe. Perhaps
   that service has a way to modify the layout of page you’re trying to embed.
    -  This reply was modified 7 years, 6 months ago by [Christopher Spires](https://wordpress.org/support/users/boda1982/).
    -  This reply was modified 7 years, 6 months ago by [Christopher Spires](https://wordpress.org/support/users/boda1982/).
 *  Thread Starter [valorrsps](https://wordpress.org/support/users/valorrsps/)
 * (@valorrsps)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10915483)
 * I tried the code you said to do and it didnt even work that way. It didnt even
   pull up the right information. I tried contacting the developer of the theme 
   im using to see if they could help me but right now its just not working. Thanks
   for the reply
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10915554)
 * Moved to Fixing WordPress, this is not a Developing with WordPress topic.
 *  [Christopher Spires](https://wordpress.org/support/users/boda1982/)
 * (@boda1982)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10915703)
 * > I tried the code you said to do and it didnt even work that way. It didnt even
   > pull up the right information. I tried contacting the developer of the theme
   > im using to see if they could help me but right now its just not working. Thanks
   > for the reply
 * [@valorrsps](https://wordpress.org/support/users/valorrsps/) – It’s directly 
   from the code you provided. You probably need to replace the URL in the `src`
   attribute with the correct URL for your embed. I’m guessing what you provided
   us was an example.
 * <iframe width=”100%” height=”100%” frameborder=”0″ src=”**_[https://yoursubdomain.everythingrs.com/services/vote/](https://yoursubdomain.everythingrs.com/services/vote/)_**”/
   >
 *  Thread Starter [valorrsps](https://wordpress.org/support/users/valorrsps/)
 * (@valorrsps)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10916022)
 * Yes the link is supposed to be this: [https://valorrsps.everythingrs.com/services/vote](https://valorrsps.everythingrs.com/services/vote)
 * But even with that it doesn’t make it full screen.
 *  [Christopher Spires](https://wordpress.org/support/users/boda1982/)
 * (@boda1982)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10918884)
 * At this point I’m just going to assume you’re talking about the vertical scroll
   within the iframe.
 * You probably need to adjust the **height** of the iframe. Example:
 * `<iframe width="100%" height="600" frameborder="0" src="https://valorrsps.everythingrs.
   com/services/vote/" />`
 * Modify “600” until it reaches your desired height. And know, it will never be
   perfect. Especially if your theme is responsive and the visitor is on a mobile
   device.
    -  This reply was modified 7 years, 6 months ago by [Christopher Spires](https://wordpress.org/support/users/boda1982/).
    -  This reply was modified 7 years, 6 months ago by [Christopher Spires](https://wordpress.org/support/users/boda1982/).
 *  Thread Starter [valorrsps](https://wordpress.org/support/users/valorrsps/)
 * (@valorrsps)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10919014)
 * I have tried that but nothing seems to be changing it. Thanks for your help but
   nothing seems to be working!
 *  Thread Starter [valorrsps](https://wordpress.org/support/users/valorrsps/)
 * (@valorrsps)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10919258)
 * I got it figured out. I had to install a CODE EMBED plugin and put the code I
   have above in that and now it does the whole page instead of just a tiny portion
   of the iframe. Thank you for your help though!

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

The topic ‘HTML Code Setup’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [valorrsps](https://wordpress.org/support/users/valorrsps/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/html-code-setup/#post-10919258)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
