Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 29th, 2004, 04:37 PM
Krayziegirlang Krayziegirlang is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 Krayziegirlang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
question about using CSS instead of Frames

I've made several pages, either using frames or CSS, but I've never used CSS to replace frames. So what I'm wondering is, how do you have your navigation links on one side and your "main frame" in the center where each page will show up, without using frames? You can Email me at Krayziegirlang@yahoo.com or if you have AOL/AIM you can IM me at ZineSenderGirl. Thanks!!

Reply With Quote
  #2  
Old September 29th, 2004, 05:31 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
Frames are bad for usability and SEO, so it's good that you are looking for a solution to avoid this. To your question which I don't completely understand, it's only frames and iframes where another page can show up within.

But, you can make a div "look like" an iframe.

CSS:
.maindiv
{width:300px;
height:50px;
overflow:auto;
border:1px solid #000;
}

DIV:

<div class="maindiv">Lot's of text here...</div>

Don't know if this is what you are looking for.
__________________
Strictly CSS | Poker Cognac XO

Reply With Quote
  #3  
Old October 10th, 2004, 09:51 AM
pocketsized pocketsized is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Brunei
Posts: 26 pocketsized User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I don't think CSS was meant to replace frames. As clunky as they are, frames do have their use.

If you're trying to emulate the functionality of a frame (as in, clicking a link in the navigation frame and having the page load in the main frame) you could probably accomplish this by using JavaScript to dynamically write different contents into a main div when different links are clicked but in my opinion this idea is rediculously troublesome and not guaranteed (users can turn of JS)

Reply With Quote
  #4  
Old October 11th, 2004, 07:29 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I honestly think a complete site redesign is your best option... Users aren't comfortable with using frames, especially iFrames and similar objects. To get links on the left, i'd use two divisions: one for your content and one for your links.

The CSS:
Code:
#links {
    float: left;
    width:200px;
    border:1px solid #000;
}

#content {
    margin-left:205px;
}


The XHTML Markup:
Code:
<div id="links">
    <a href="#">Link 1</a><br/>
    <a href="#">Link 2</a><br/>
</div>

<div id="content">
    This is content.
</div>


This is a loosely coded example.
I don't promise that it works, but it might lead you on your way.
Some research on CSS and XHTML would help.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > question about using CSS instead of Frames


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT