Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

i need html help

Old Jun 6, 2006 | 10:27 PM
  #1  
Grifter's Avatar
Grifter
Thread Starter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default i need html help

unless someone knows how to put a frame right in the middle of the page in the white area, so that the links in the navigation bar will open in that frame

where content goes into

otherwise i am looking for a site that has this feature
i know there are plenty but i cant seem to think of one right now
Attached Images
File Type: jpg
subcore.jpg (121.3 KB, 50 views)

Last edited by Grifter; Jun 6, 2006 at 11:00 PM.
Reply
Old Jun 6, 2006 | 10:33 PM
  #2  
AcuraFanatic's Avatar
AcuraFanatic
Senior Member
 
Joined: Mar 2000
Posts: 37,274
Likes: 0
From: Southern NH
Default

Luckily for you, I'm an HTML pro :hsugh:
Reply
Old Jun 6, 2006 | 10:37 PM
  #3  
firebane's Avatar
firebane
Senior Member
 
Joined: Jul 2003
Posts: 1,800
Likes: 0
Default

Originally Posted by AF
Luckily for you, I'm an HTML pro :hsugh:
CSS.

You'll need to use stylesheets to accomplish what you want. Just google it and you'll find it.

Put this in between your <head></head> tags and then inside your <body></body> tags you use 2 different divs. And you'll have a box in the middle of your page whether in FF or IE.

IF confused lemme know.. I'll send you my file.

<div class="ie_fix">
<div class="box">
Blah Blah Blah
</div>
</div>


-----

<style type="text/css">
input {
border: 1px black solid;
font: 8pt courier;
background-color: #EEEEEE;
margin-bottom: 1pt;
}

a {text-decoration: none;}

.box {
border: dotted 1px black;
width: 500px;
padding: 10px 0px 0px 10px;
text-align: left;
margin: 0 auto;
border: 1px dotted black;
}

.ie_fix {
width: 100%;
text-align: center;
}

</style>

---
Reply
Old Jun 6, 2006 | 11:01 PM
  #4  
Grifter's Avatar
Grifter
Thread Starter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default

will the links open in that white area just like a frame?
Reply
Old Jun 6, 2006 | 11:16 PM
  #5  
mike01civic's Avatar
mike01civic
Senior Member
 
Joined: Jun 2003
Posts: 2,316
Likes: 0
From: Pittsburgh
Default

Frames are the devil. My suggestion is to use PHP includes.

http://www.netcode.net/tutorials/php...p_includes.php
Reply
Old Jun 6, 2006 | 11:19 PM
  #6  
Grifter's Avatar
Grifter
Thread Starter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default

i think i have to use frames
not my choise
Reply
Old Jun 7, 2006 | 01:15 AM
  #7  
mayonaise's Avatar
mayonaise
Senior Member
 
Joined: Aug 2002
Posts: 3,181
Likes: 0
From: CA
Default

no, if you want links to open up inside the frame, you can't use only CSS and HTML for this. you can either use traditional HTML frames, which isn't a good idea, or you can try using an inline frame: <iframe>. i don't have time to write out any code for you right now, so all i can say is look into it. it'll be a lot easier to setup than regular HTML frames, and you can use CSS to style it. cross-browser compatibility may be an issue, although i'm not sure. it isn't officially part of the HTML standard.

good luck!
Reply
Old Jun 7, 2006 | 01:29 AM
  #8  
94civicEX's Avatar
94civicEX
I got worms.
 
Joined: Jul 2000
Posts: 32,238
Likes: 0
From: Utah
Default

DIV Overlay

Here is a step by step for doing a div overlay on a myspace page, but you should be able to use the concept for what you are doing.

http://forums.offtopic.com/showthread.php?t=2361613
__________________
99 Integra GSR
06 TSX

duck squad member #00003
Reply
Old Jun 7, 2006 | 01:44 AM
  #9  
mayonaise's Avatar
mayonaise
Senior Member
 
Joined: Aug 2002
Posts: 3,181
Likes: 0
From: CA
Default

Originally Posted by 94civicEX
DIV Overlay

Here is a step by step for doing a div overlay on a myspace page, but you should be able to use the concept for what you are doing.

http://forums.offtopic.com/showthread.php?t=2361613
that's exactly (or very similar to) what firebane was talking about, and it won't serve Grifter's purpose. with that method, you cannot target links to load inside of the overlayed DIV without reloading the entire page - at least not natively with HTML.
Reply
Old Jun 7, 2006 | 03:07 AM
  #10  
XScarAudio's Avatar
XScarAudio
///o\\\///o\\\
 
Joined: May 2002
Posts: 8,550
Likes: 0
From: Tampa
Default

here is one i did a long time ago w/ an iframe:
http://www.lacasonapaiz.com
Reply


All times are GMT -8. The time now is 11:47 AM.