Frameset: Deprecated Frameset is not working

141 Views Asked by At

]I am trying to convert frameset code into iframe as it is known that frameset is deprecated. But I am stuck on how to replace those attributes in an iframe which used in the frameset. please point me in the right direction.

Thanks in advance

//frameset Current code 

<frameset id="AnlagenFrame" rows="0,*" frameborder="NO" border="0" framespacing="0">
  <frame src="example.html" name="bus" scrolling="no" noresize marginwidth="0" marginheight="0" title="_vcbus" >
  <frame src="example.html" name="lage" scrolling="no" noresize marginwidth="0" marginheight="0" title="_anlage">
 </frameset>
  
  
  //iframe code which i am working 
  
   <iframe id="Frame" rows="0,*" style="border: none;" framespacing="0">
  <frame src="example.html" name="bus" scrolling="no" noresize marginwidth="0" marginheight="0" title="_vcbus" >
  <frame src="example.html" name="lage" scrolling="no" noresize marginwidth="0" marginheight="0" title="_anlage">
 </iframe>

1

There are 1 best solutions below

2
Milan Lakhani On

Firstly You'll have to create iframes for each frame you have.But then most attributes of iframes are also depreciated with HTML5, best option is to write custom css for it.

Hope it helps!!