CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 13th, 2004, 05:46 PM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
HELP! CSS to make side menu? How do I instert css into page? HELP!

Ok, I have a website that i'm building with about 25 pages, and I keep on having to change the side navigation bar, and then I have to copy and paste it on each page to update it. IS THERE A WAY FOR ME TO ONLY UPDATE IT ONCE AND IT UPDATES TO ALL THE PAGES?

Is the answer css? or i-frames(or whatever it's called)

If so, then how would I do this?! PLEASE HELP!

Last edited by Dakinesoul : February 13th, 2004 at 06:01 PM.

Reply With Quote
  #2  
Old February 13th, 2004, 07:06 PM
sidney sidney is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: uk
Posts: 1,347 sidney User rank is Private First Class (20 - 50 Reputation Level)sidney User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 9 h 20 m 7 sec
Reputation Power: 6
i take it you mean having the css in a seperate doc and linking to it if so put somthing like this in header of html

<LINK REL=StyleSheet HREF="doc.css" TYPE="text/css" MEDIA=screen>

where doc.css is location of css doc

regards
sid

Webmule Hosting - The affordable Uk web host

Reply With Quote
  #3  
Old February 13th, 2004, 07:44 PM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
help!

but it didn't do anything, i pasted it in the header and changed it to point to my css doc, but then what do i put in the body to make it appear there? It's just the navigation, I wanna stick it in the left table cell of my layout. I have NO clue how to do this.


Quote:
Originally Posted by sidney
i take it you mean having the css in a seperate doc and linking to it if so put somthing like this in header of html

<LINK REL=StyleSheet HREF="doc.css" TYPE="text/css" MEDIA=screen>

where doc.css is location of css doc

regards
sid

Webmule Hosting - The affordable Uk web host

Reply With Quote
  #4  
Old February 13th, 2004, 07:48 PM
sidney sidney is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: uk
Posts: 1,347 sidney User rank is Private First Class (20 - 50 Reputation Level)sidney User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 9 h 20 m 7 sec
Reputation Power: 6
post your code and i may be able to help more
__________________
Regards
Sid

php, mysql and scripting resource links - WebMule Hosting

Reply With Quote
  #5  
Old February 13th, 2004, 07:52 PM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Maybe It's a template I want to use. how?

Reply With Quote
  #6  
Old February 13th, 2004, 07:56 PM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
code? I have no code.

All i have is a table... Here is my problem, I have a page, that has a navigation system over to the left in a table. I want to have that table on a seperate page, and to have my website grab that page with the table on it, because it's heck trying to copy and past the table into 25 different pages everytime I make a change to the nagivation inside the table. I want it so all I have to do is edit this table on a page, and then it updates for ALL of my 25 pages. Does that make sense? I don't know if it's css or template or what. I have no idea how to do this, but it would save me TONS AND TONS of time, so if anyone can help, thanks.

Reply With Quote
  #7  
Old February 13th, 2004, 07:59 PM
sidney sidney is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: uk
Posts: 1,347 sidney User rank is Private First Class (20 - 50 Reputation Level)sidney User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 9 h 20 m 7 sec
Reputation Power: 6
i still need to see code

Reply With Quote
  #8  
Old February 13th, 2004, 08:07 PM
sidney sidney is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: uk
Posts: 1,347 sidney User rank is Private First Class (20 - 50 Reputation Level)sidney User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 9 h 20 m 7 sec
Reputation Power: 6
then frames is one way

</head>
<frameset frameborder="2" framespacing="0" border="2" cols="198,*" rows="*">
<frame marginwidth="3" marginheight="3" src="menu.htm" name="menu" scrolling="auto" frameborder="1">
<frame marginwidth="3" marginheight="3" src="content.htm" name="text" frameborder="1">
</frameset>
<noframes></noframes>
</frameset>
<body>

put that in seperate html doc and menu in doc called menu.htm and the content.htm will now be your main or first page links in menu will have to target text eg

<A href="page.html" target="text">Show menu</a>

go to here for example

Last edited by sidney : February 13th, 2004 at 08:15 PM.

Reply With Quote
  #9  
Old February 13th, 2004, 09:07 PM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
but my page has the navigation close to the center, so it cant be frames, what about those i-frames or whateverd? I need to place it pretty much in the middle of the page.

Reply With Quote
  #10  
Old February 13th, 2004, 09:33 PM
quilime quilime is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Los Angeles
Posts: 40 quilime User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 52 m 49 sec
Reputation Power: 0
Just throw in an Iframe into all your 25 pages, as many have mentioned.

[pages 1 through 25] :

<!-- start table -->
<table>

<tr>

<!-- left body -->
<td>left body</td>

<!-- center navigation -->
<td><iframe src="navigation.html"></iframe></td>

<!-- right body -->
<td>left body</td>

</tr>

</table>
<!-- end table -->



[navigation.html] :

<html>
<!-- navigation with global hrefs here -->
</html>


Work out. Search google for 'iframe' for more info.

Reply With Quote
  #11  
Old February 13th, 2004, 09:58 PM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Hey thanks for the help, But I decided to use iframes,

<iframe width="132" height="600" src="Side1.htm" align=left frameborder=0 scrolling="no"> </iframe>

and then in the link of my navigation put

<td onmouseover="bgColor='#d8d8d8'" onmouseout="bgColor='#eeeeee'" bgcolor="#eeeeee">
<div align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><A HREF="AimIcons.htm" target="_top" style="text-decoration:none">&nbsp;»
Aim Icons</a></font></div></td>

Reply With Quote
  #12  
Old February 14th, 2004, 12:47 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,589 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 47 m 54 sec
Reputation Power: 662
Frames of any type are inappropriate for this purpose. Appropriate technologies are server side includes such as in PHP, Python, PERL, or the web server itself. For a tutorial on SSI look at Apache docs.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #13  
Old February 14th, 2004, 01:12 AM
Dakinesoul Dakinesoul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 37 Dakinesoul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Quote:
Originally Posted by kk5st
Frames of any type are inappropriate for this purpose. Appropriate technologies are server side includes such as in PHP, Python, PERL, or the web server itself. For a tutorial on SSI look at Apache docs.

cheers,

gary


It works... so I'm happy.. why isn't it right?

Reply With Quote
  #14  
Old February 14th, 2004, 03:19 AM
sidney sidney is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: uk
Posts: 1,347 sidney User rank is Private First Class (20 - 50 Reputation Level)sidney User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 9 h 20 m 7 sec
Reputation Power: 6
yes server side scripting would be another way of doing things but i feel you should crawl before walking and dakinesoul may not of have server side scripting on his hosting package.

Reply With Quote
  #15  
Old February 14th, 2004, 04:50 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,589 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 47 m 54 sec
Reputation Power: 662
Quote:
It works... so I'm happy.. why isn't it right?
Using (i)frames to stand for server-side-includes leads to problems. The frame content is a separate document, and usually not read by search engines. Since it's not read, the links are not indexed.

The frame is a client-side-include. If the browser does not support frames, the user will not have access to your links. Most browsers do support frames, but most assistive technology UAs don't. So, your site is not accessible to the handicapped. This may create legal problems. In the U.S., some courts have held that the Americans with Disabilities Act (ADA) applies to web sites.

I suppose that some free hosts might not configure for simple SSI, but I cannot imagine using any paid host, no matter how cheap, that did not provide it.

cheers,

gary

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > HELP! CSS to make side menu? How do I instert css into page? HELP!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search