Entrance Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
July 09, 2025 - @31.62 (what is this?)
Activity rating: Three Stars Posts & Arts: 35/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :skull: Websites are like whispers in the night  :skull: Super News: In the EU? Sign the Stop Killing Games Petition!

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


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


Play the Devil Summoner: Raidou Kuzunoha duology

⛺︎ My Room
RSS: RSS

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

a silly heart 4 melon :)Ozwomp wants to know your locationHyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!
« 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
RSS: RSS

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

a silly heart 4 melon :)Ozwomp wants to know your locationHyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!
« 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 »
 

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