The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> iframe background color
matist
post Jan 11 2016, 12:15 PM
Post #1





Group: Members
Posts: 1
Joined: 11-January 16
Member No.: 23,896



hi there,

so i am trying to add live bus info to my mini web page which will be displayed at home so i know what time my bus is i need to background to be black but the page i am calling via iframe is black text/white background so when i add it to my page i simply cannot read it,

<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<body bgcolor="#000000">
<div style="border: 0px solid rgb(201, 0, 1); overflow: hidden; margin: 15px auto; max-width: 330px;">
<iframe scrolling="no" src="http://m.countdown.tfl.gov.uk/arrivals/76161" style="border: 0px none; margin-left: -4px; height: 200px; margin-top: -120px; width: 400px;">
</iframe>
</div>
</body>
</html>


any suggestions how to change background color to white ? but only to the area where bus time is displayed i am sorry i am new to this sad.gif

regards and thanks for any help,
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 11 2016, 05:18 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



That is an incredibly stupid browser feature if you ask me. Anyway, set the background of either the DIV you have around the IFRAME or the IFRAME itself to white. Just add it to the style declaration you already have.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 04:15 AM