How do I place two embedded links next to each other on my website? - html

I'm using GitHub Pages to host my own website, a basic personal portfolio. On my homepage, I've put in my twitter feed of my tweets, and then another feed of my likes. These embedded objects show up beneath each other, but I'm trying to figure out if there's a way to place them next to each other on the page. Any idea how to do this?

You can set absolute positions for each of the iframes.

Related

Smaller div tags in one large one not centering or spanning across screen

Ok, so I am making a website for my so far small Minecraft Build team MCBuild, unfortunately, My ribbon on the top with all the pages links, that are not active, will not centered it is embedded inside of another div, and put into a singular .html file and displayed through an iFrame. All of the code is on GitHub and also, the page can be viewed here. Any help would be great, I think I can't get it just because I am frustrated that I didn't get it the first time. Thanks!

how to refer to a specific part of html from different parts of a web page

I have been working hard on assembling photos into a travel blog. Currently I am reading about how to make full page image carousels. The specific problem I have is this: I want to have an image carousel of 100 pictures. At different points in the blog I want the user to be able to enter the same carousel at different images in the sequence. Currently I have to duplicate the code for the 100 images at each point in the blog. I am trying to figure out how to refer to the same html from different parts of the web page. Here is an example:
https://bwanaaa.github.io/flicktest/
The first image is a full bleed cover. The next two galleries are the same gallery but different starting points. I had to list all 10 images in the html TWICE to achieve this. You can imagine how verbose the html gets if i have 50 images with 10 entry points.
Here is a codepen to experiment with:
http://codepen.io/littleredbowtie/pen/yNdOMQ
Is there a way to have a 'subroutine' in html?
This can't be resolved through HTML alone. You'll have to implement further JS functionality, or find a different plugin.
Here is a plugin that is closer to what you're looking for:
https://github.com/stylehatch/photoset-grid
Demo:
http://stylehatch.github.io/photoset-grid/
it makes a grid of photos, then you also add the lightbox functionality, whatever photo they click on, it will go to that photo in the photoset, and also have navigation icons comparable to a carousel.

How to prevent Facebook from pulling random images from your site when you share?

I have no images on my blog. The only JPG on the whole page is a tiny little Twitter icon. So what happens when I share that blog post is Facebook uses that little Twitter icon as the featured image for the post. Very awkward.
Any ways to force certain images to be ignored?
You want to use Open Graph Meta Tags to specify an image. Without specifying an image, Facebook will attempt to parse all of your images to get content.
You can check how Facebook parses your page via their debugger.
use css if possible to declare the undesired image (+div)

Displaying more than one webpage on a webpage

Can anyone guide me.
is it possible to use Iframe tag to display more than one webpage on a single webpage.
I want to split my home page into four different parts each containg a page.
can anyone guide how i can achieve this.
Use 4 iFrames for 4 pages. Arrange them in a table or whatever design you want, and set the source for each.

How do I convert a website entirely made from frames into HTML?

I am looking to convert a clients website into HTML. I'm relatively new as my skills are more directed in the front end of websites (design) so I'm quite lost. The website is allegianceglobalinvestigations.com and if you scroll through it, each page has the same URL. How to I create a HTML file/template from this? I'm assuming that since there are 4 pages, I'll end up with 4 files? Do I need to use OCR for the text?
If you view the source it will show you the urls of the other frames. If you view just that url you can get the source for just that frame. You can use that source all together with some changes if you're trying to just "un-framify" the site. I think that was what you were asking.
There is very little text on there so the only OCR you will need is your eyes and a keyboard if you're trying to use real text on the site.
And yes, you will end up with 4 different files. One for each page.
Good luck with your project, the best way to learn is to dive right in!
This is a frame-based site with a top menu in one frame selecting between four pages in the other frame. The content of each subpage is encoded as a JPEG image in a table.
There are already files for each subpage: content.htm, sis.html, services.htm, and contact.htm. With this low amount of text, you may as well just type the text currently in the images into the body of these files instead of using OCR. Replace everything between <body> and </body> with the text, then use HTML to mark up to the content to your liking.
To eliminate the frames, paste the content of the body element from the menu.htm file into the start of the body element of the four subpages.