Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > BOOK: Beginning HTML, XHTML, CSS, and JavaScript
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning HTML, XHTML, CSS, and JavaScript
This is the forum to discuss the Wrox book Beginning HTML, XHTML, CSS, and JavaScript by Jon Duckett; ISBN: 978-0-470-54070-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning HTML, XHTML, CSS, and JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 2nd, 2010, 05:48 PM
Registered User
 
Join Date: Apr 2010
Location: Planet Earth
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default Must I divide my page into frames?

Hello everyone!
I have a website that has many different sections/parts. Let's say it has 10 sections (in fact, it has more).
For example: I have a section where you meet my crew, another section for graphics...
However, the only way I divided it up was using the horizontal rule, so I didn't divide it up using the <div> element or using frames.
I was wondering if there is a way for me to include different backgrounds for each section, without using frames.
Thanks!
Reply With Quote
  #2 (permalink)  
Old April 2nd, 2010, 08:54 PM
Friend of Wrox
 
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Don't use frame, use div. People rarely use frame any more.

While hr tag may visually separate sections for you, it does not provide structural information to the browser.
Reply With Quote
  #3 (permalink)  
Old April 4th, 2010, 11:07 AM
Registered User
 
Join Date: Apr 2010
Location: Planet Earth
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by PeterPeiGuo View Post
Don't use frame, use div. People rarely use frame any more.

While hr tag may visually separate sections for you, it does not provide structural information to the browser.
Ok thanks! That's why I was reluctant to use frames. The only type of frame I use is iFrame.
I'll work on changing the background with the <div> element.
Reply With Quote
  #4 (permalink)  
Old April 4th, 2010, 12:24 PM
Friend of Wrox
 
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Among those frame related tags, iframe is the only one allowed in HTML5.
Reply With Quote
  #5 (permalink)  
Old April 4th, 2010, 01:09 PM
Registered User
 
Join Date: Apr 2010
Location: Planet Earth
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by PeterPeiGuo View Post
Among those frame related tags, iframe is the only one allowed in HTML5.
that will certainly be an interesting addition to the newest version of HTML!
And I only used iframe once - I took a location from google maps and put it on my website.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Divide by Zero Error [this.Adapter.Fill(dataTable) miamikk ASP.NET 1.x and 2.0 Application Design 0 October 30th, 2006 04:26 PM
Divide, Insert a string and append a number from t Stuart Stalker SQL Server 2000 1 April 11th, 2006 06:58 PM
How can I have 4 frames in a page?? Varg_88 Classic ASP Basics 3 December 9th, 2004 12:32 AM
Nested frames crash page when called on XP Umen Javascript 4 September 23rd, 2004 10:55 AM
How show Word Document in One of the Frames page Umashankar R VB.NET 2002/2003 Basics 1 September 12th, 2004 09:36 PM



All times are GMT -4. The time now is 01:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.