+ 3
In html instead of frame what can we use? because I see others using tables
I need to subdivide my web page like this : <html> <FRAMESET ROWS="15%,75%,10%"> <FRAME SRC="header.html" name="header" scrolling="no"> <FRAMESET COLS="25%,75%"> <FRAME SRC="aside.html" name="aside"> <FRAME SRC="index.html" name="centrale"> </FRAMESET> <frame src="footer.html" name="footer"> </FRAMESET> </html>
9 Respuestas
+ 5
Framesets and tables are very outdated, you shouldn't be using them anymore. (Tables are ok, but not for subdividing your website.)
You will want to look into CSS. Specifically, CSS flexbox and CSS grids.
+ 4
Morpheus Viktor Tsybenko jake Schindlabua
I need to subdivide my web page like this :
<html>
<FRAMESET ROWS="15%,75%,10%">
<FRAME SRC="header.html" name="header" scrolling="no">
<FRAMESET COLS="25%,75%">
<FRAME SRC="aside.html" name="aside">
<FRAME SRC="index.html" name="centrale">
</FRAMESET>
<frame src="footer.html" name="footer">
</FRAMESET>
</html>
https://code.sololearn.com/WzzRd6n4FkBz/?ref=app
+ 3
Schindlabua humm very nice idea i will look into css
+ 3
Morpheus thanks
+ 2
If it's just breaking the page into different responsive components then..
Yep, CSS Grids is what you want. Moreover it ll be responsive i.e. it ll not break in different device screens.
Regarding <iframe>,
It would be very costly to create iframes just to break the page components. Never recommended unless these page components are coming from some different website all together.
Tables are not responsive, they ll hold their structure very well but in smaller screens, it ll be either zoomed out or users will have to scroll ( both being bad UX)
+ 2
Morpheus thanks but what tag work the same as framset ??
+ 2
<Table> is the only tag closest to the older frameset but now we have to use CSS.
https://code.sololearn.com/WSqJitOFaXyn/?ref=app
+ 2
Back in the days, frames were the only way to update part of the webpage without reloading whole the page. Now JavaScript (AJAX, AHAX etc) can do it.
And frames are considered a big headache from a security perspective.
If you are creating a webpage, then CSS grid and flexbox are your choice.
But if you are creating email template, table is your main tool for positioning of elements.