Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

divs or frames?

Featured Replies

Hi,

 

When I want all links in a page to be repeated in any new created pages what should I do first?

Should I use divs or frames? I have my page in the half way done and want to create more pages but do not want to spend time inserting the links again and again, already created in the other pages?

 

This might be simple. But I need your help to start building websites in the right way, rather than needing start over again when upadating a website.

 

Thank you

Carlos

Please don't use frames. If you want sections of your site to appear on multiple pages, but don't want to endlessly copy & paste, you can use php includes.

 

Also, you should know that <div> is just one HTML tag, not a catch-all element for everything on your page (apologies if you already know this) - there are many other tags and they all have a specific job to do. Find out about them and use the correct one for each element.

 

But don't use frames. They make Jesus sad.

Frames are very much 90's. I agree with the above, splitting your page into header, main content, footer, and if needed (or wanted), a sidebar which is handy for sub menus, twitter integration, blog categories, etc.

I agree with everybody! Don't use frames. Use CSS to define the link section or if you're using PHP, use include (see sample code below). They work the same way. :-)

 

<?php
include("links.php");
?>

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.