Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 01, 2025 - @43.84 (what is this?)
Activity rating: One Star Posts & Arts: 2/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :eyes: ~ Inconvenience is counterculture ~ :eyes: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  Iframe Borders


« previous next »
Pages: [1] Print
Author Topic: Iframe Borders  (Read 36 times)
konamiesque
Casual Poster
*


Play the Devil Summoner: Raidou Kuzunoha duology

⛺︎ My Room

View Profile WWW

First 1000 Members!
« on: March 29, 2025 @631.35 »

Hello all, long time no see. I'm working on a new website layout right now and I'm having a bit of trouble getting it to work properly. The way I have it set up is a central homepage with an iframe in the middle to display the other pages on my site. While the iframe itself has no border, the pages that display inside of it do, and they aren't showing up properly. This is what it looks like:


I'm not sure how much help it will be, but here's the code/styling for my iframe:
Code
<iframe src="home.html" frameborder="0" scrolling="yes" name="frame" class="main" width="100%" height="100%"></iframe>
And here's the styling for the boxes inside of it:
Code
.info {
    border: 1px solid black;
    padding: 10px;
    overflow: scroll;
}

I've tried tinkering with the dimensions of the iframe itself to little success. Any advice would be greatly appreciated.
Logged

Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

View Profile WWWArt

Hyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travelsAlways My Pal
« Reply #1 on: March 29, 2025 @697.86 »

It looks like your iFrame is clipping and maybe has overflow hidden? However I'd need a link to the live page to really tell though!

It also looks like your other nav elements beside the iFrame have border-radius set, and I think thats also applying to the iframe (thats why the top corners are clipping off) - Im not sure why the right side is clipping but its prob something to do with your page widths!
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
konamiesque
Casual Poster
*


Play the Devil Summoner: Raidou Kuzunoha duology

⛺︎ My Room

View Profile WWW

First 1000 Members!
« Reply #2 on: March 29, 2025 @713.22 »

Well, whatever the problem was, it somehow ended up fixing itself while I was working on other stuff. A bit strange, but all's well that ends well, I guess.  :ha:
Logged

Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

View Profile WWWArt

Hyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travelsAlways My Pal
« Reply #3 on: March 29, 2025 @715.65 »

it somehow ended up fixing itself while I was working on other stuff
Thats good! :happy: Out of curiosity is the issue related to the size of your browser window??
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

HELP: troubles in implementing iframe to my existing layout

Started by morrysillusionBoard ☔︎ ∙ I need Help!

Replies: 8
Views: 2399
Last post June 07, 2022 @522.55
by Melooon
iframe refuses to load on live server

Started by candycanearter07Board ☔︎ ∙ I need Help!

Replies: 2
Views: 313
Last post August 13, 2024 @700.28
by candycanearter07
Iframes

Started by MemoryBoard ✁ ∙ Web Crafting

Replies: 19
Views: 2401
Last post September 26, 2024 @179.95
by musicobsessed107

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi